summaryrefslogtreecommitdiffstats
path: root/encap/src/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'encap/src/Makefile')
-rw-r--r--encap/src/Makefile10
1 files changed, 4 insertions, 6 deletions
diff --git a/encap/src/Makefile b/encap/src/Makefile
index bd4d5b14b..a64e498c9 100644
--- a/encap/src/Makefile
+++ b/encap/src/Makefile
@@ -11,8 +11,7 @@ log :
@printf "Building in background, and logging to ./make.log\n"
( $(MAKE) all > ./make.log 2>&1 ) &
-all :
- -rm -rf DIST bcfg2-site/bcfg2-site-[a-z]* makeself-dist/bcfg2-*
+all : distclean
$(MAKE) -C ./encap-profiles all
$(MAKE) -C ./bcfg2-site all
$(MAKE) -C ./makeself-dist all
@@ -27,11 +26,10 @@ all :
clean :
-rm ./*.log ./*~ ./\#*
-distclean: clean
- -rm $(DEST)/*
- -rmdir $(DEST)
+distclean : clean
+ -rm -rf $(DEST) bcfg2-site/bcfg2-site-[a-z]* makeself-dist/bcfg2-*
-uninstall : clean
+uninstall : distclean
$(MAKE) -C ./encap-profiles uninstall
$(MAKE) -C ./bcfg2-site distclean
$(MAKE) -C ./makeself-dist distclean