From 63c1695d775a49004dd953404e8e3c7314086429 Mon Sep 17 00:00:00 2001 From: Peter Powell Date: Sat, 27 Apr 2013 18:20:56 +0100 Subject: 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. --- make/template/main.mk | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'make/template/main.mk') 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 -- cgit v1.2.3