aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorWilmer van der Gaast <wilmer@gaast.net>2010-08-31 22:06:14 +0200
committerWilmer van der Gaast <wilmer@gaast.net>2010-08-31 22:06:14 +0200
commitf5c0d8e4dd3ce01945a6334a5d87c89a9f43b16b (patch)
treee741ed193ad1921c695a8aec4c4ea57fe82e7fd7 /Makefile
parent83586911a0aa768ed196051950ebd8ffce37d467 (diff)
parent31dbb90a2d32d6988706ae4b5c2292cd43d89595 (diff)
Merge mainline stuff.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index c5a9c130..3754bb4b 100644
--- a/Makefile
+++ b/Makefile
@@ -51,8 +51,11 @@ clean: $(subdirs)
$(MAKE) -C tests clean
distclean: clean $(subdirs)
+ rm -rf .depend
rm -f Makefile.settings config.h bitlbee.pc
find . -name 'DEADJOE' -o -name '*.orig' -o -name '*.rej' -o -name '*~' -exec rm -f {} \;
+ @# May still be present in dirs of disabled protocols.
+ find . -name .depend | xargs -r rmdir
$(MAKE) -C tests distclean
check: all
@@ -104,7 +107,7 @@ tar:
fakeroot debian/rules clean || make distclean
x=$$(basename $$(pwd)); \
cd ..; \
- tar czf $$x.tar.gz --exclude=debian --exclude=.bzr* $$x
+ tar czf $$x.tar.gz --exclude=debian --exclude=.bzr* --exclude=.depend $$x
$(subdirs):
@$(MAKE) -C $@ $(MAKECMDGOALS)
@@ -130,3 +133,5 @@ ctags:
# make is available.
helloworld:
@echo Hello World
+
+-include .depend/*.d