summaryrefslogtreecommitdiff
path: root/make
diff options
context:
space:
mode:
authorAttila Molnar <attilamolnar@hush.com>2013-04-27 16:02:09 -0700
committerAttila Molnar <attilamolnar@hush.com>2013-04-27 16:02:09 -0700
commit51c302cbb52cc2770404a7f790884cd2cdb2c72f (patch)
tree26bb8c149cc91c24cabee46182b6ef9804be9a68 /make
parent9b96fee72a3720e6d12812243edb4192d0790b34 (diff)
parent63c1695d775a49004dd953404e8e3c7314086429 (diff)
Merge pull request #509 from SaberUK/insp20+make-distclean
Fix a few minor issues with `make distclean`.
Diffstat (limited to 'make')
-rw-r--r--make/template/main.mk7
1 files changed, 3 insertions, 4 deletions
diff --git a/make/template/main.mk b/make/template/main.mk
index 17e15f53a..e55e36c0a 100644
--- a/make/template/main.mk
+++ b/make/template/main.mk
@@ -281,8 +281,8 @@ configureclean:
-rm -f org.inspircd.plist
distclean: clean configureclean
- rm -rf $(BASE)
- find src/modules/ -type l | xargs rm -f
+ -rm -rf $(SOURCEPATH)/run
+ find $(SOURCEPATH)/src/modules -type l | xargs rm -f
help:
@echo 'InspIRCd Makefile'
@@ -308,8 +308,7 @@ help:
@echo ' Multiple targets may be separated by a space'
@echo ''
@echo ' clean Cleans object files produced by the compile'
- @echo ' distclean Cleans all files produced by compile and ./configure'
- @echo ' Note: this includes the Makefile'
+ @echo ' distclean Cleans all generated files (build, configure, run, etc)'
@echo ' deinstall Removes the files created by "make install"'
@echo