diff options
author | Peter Powell <petpow@saberuk.com> | 2013-04-27 18:20:56 +0100 |
---|---|---|
committer | Peter Powell <petpow@saberuk.com> | 2013-04-27 23:09:20 +0100 |
commit | 63c1695d775a49004dd953404e8e3c7314086429 (patch) | |
tree | 26bb8c149cc91c24cabee46182b6ef9804be9a68 /make/template | |
parent | 9b96fee72a3720e6d12812243edb4192d0790b34 (diff) |
Fix a few minor issues with `make distclean`.
- Only remove the base directory for in-source installs.
- Use full paths to the source directory.
- Update the help message to be more accurate.
Diffstat (limited to 'make/template')
-rw-r--r-- | make/template/main.mk | 7 |
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 |