summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAttila Molnar <attilamolnar@hush.com>2012-12-02 10:20:03 -0800
committerAttila Molnar <attilamolnar@hush.com>2012-12-02 10:20:03 -0800
commit6dd61235fc8cb67ba9919b84be42c966b7273fac (patch)
treedd8da549740443ca7566974c8ec3cbf8a721cb40
parent74b05d550081fb7a7b41a145cfbc333f8774d438 (diff)
parent66652af628c0e14dec67fb526efd8ac9c7d8c7f1 (diff)
Merge pull request #376 from SaberUK/insp20+fix-clean
Fix the list of files to be removed by make.
-rw-r--r--make/template/main.mk15
1 files changed, 9 insertions, 6 deletions
diff --git a/make/template/main.mk b/make/template/main.mk
index d4e8de287..1c61547fd 100644
--- a/make/template/main.mk
+++ b/make/template/main.mk
@@ -257,23 +257,26 @@ clean:
@echo Completed.
deinstall:
- -rm $(BINPATH)/inspircd
- -rm $(MODPATH)/*.so
+ -rm -f $(BINPATH)/inspircd
+ -rm -rf $(CONPATH)/examples
+ -rm -f $(MODPATH)/*.so
+ -rm -f $(BASE)/.gdbargs
+ -rm -f $(BASE)/org.inspircd.plist
squeakyclean: distclean
configureclean:
rm -f .config.cache
- rm -f src/modules/Makefile
- rm -f src/commands/Makefile
- rm -f src/Makefile
- -rm -f Makefile
rm -f BSDmakefile
rm -f GNUmakefile
rm -f include/inspircd_config.h
rm -f include/inspircd_version.h
+ rm -f inspircd
+ -rm -f org.inspircd.plist
distclean: clean configureclean
+ rm -rf $(BASE)
+ find src/modules/ -type l | xargs rm -f
help:
@echo 'InspIRCd Makefile'