about summary refs log tree commit diff
path: root/Makefile
diff options
context:
space:
mode:
authorNgô Ngọc Đức Huy <huyngo@disroot.org>2024-02-26 16:52:35 +0700
committerNgô Ngọc Đức Huy <huyngo@disroot.org>2024-02-26 16:52:35 +0700
commit259bcb4f66c8dcf4384dce7bf644d193a34f7739 (patch)
tree559f56bcdd812a897739775973a02933f1418f74 /Makefile
parent91c52babbc48a5893dd98c307bb7166aa2a9e261 (diff)
downloadblog-259bcb4f66c8dcf4384dce7bf644d193a34f7739.tar.gz
Remove existing dir if exists
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index f42792d..ba6aaf7 100644
--- a/Makefile
+++ b/Makefile
@@ -2,11 +2,13 @@
 CONLANGS=haasdaiga ravna isanercent djanzi
 BUILD_CONLANGS := $(addprefix build-,${CONLANGS})
 PACKAGE_CONLANGS := $(addprefix package-,${CONLANGS})
-all: install-net install-geek
+all: clean install-net install-geek
 
 install-geek install-net: install-%: package-cv ${PACKAGE_CONLANGS}
 	rsync -ah --delete --inplace dot$*/ /var/lib/www/xrvs.$*/
 
+clean:
+	rm -rf fead ${CONLANGS} web-cv
 
 webring:
 	git clone /var/lib/git/~cnx/fead;