aboutsummaryrefslogtreecommitdiffhomepage
path: root/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'makefile')
-rw-r--r--makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/makefile b/makefile
index 498c45e..821edda 100644
--- a/makefile
+++ b/makefile
@@ -159,20 +159,22 @@ skel:
init: skel
+clean:
+ rm -rf $(PRG_SRCDIR); \
+ rm -rf $(PRG_DOCDIR);
+
clean_bin:
rm $(PRG_BINDIR)/*
clean_src:
- rm -f $(PRG_SRCDIR)/*; \
- rm -rf $(PRG_SRCDIR)/$(PRG_NAME); \
+ rm -rf $(PRG_SRCDIR);
clean_docs:
rm -rf $(PRG_DOCDIR)
expunge:
rm -f dub.selections.json; \
- rm -f $(PRG_SRCDIR)/*; \
- rm -rf $(PRG_SRCDIR)/$(PRG_NAME); \
+ rm -rf $(PRG_SRCDIR); \
rm -rf $(PRG_BINDIR); \
rm -rf $(PRG_DOCDIR);