summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMorgan Deters <mdeters@gmail.com>2011-10-31 21:01:13 +0000
committerMorgan Deters <mdeters@gmail.com>2011-10-31 21:01:13 +0000
commit78016223982860e98bbc404534eff403452bd82e (patch)
tree24bc258c9b9be8861482e1f870bf8d5849b9512f /Makefile
parent5a58d660b78c7dee35b0cbd1063a89dc4e73d226 (diff)
fixes to "make distclean" and "make maintainerclean"
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 7f272b668..8cf0fbcc2 100644
--- a/Makefile
+++ b/Makefile
@@ -20,6 +20,15 @@ all .DEFAULT:
echo; \
fi
+distclean maintainerclean:
+ @if test -d $(builddir); then \
+ echo cd $(builddir); \
+ cd $(builddir); \
+ echo $(MAKE) $@; \
+ $(MAKE) $@; \
+ fi
+ test -z "$(builddir)" || rm -fr "$(builddir)"
+
# synonyms for "check"
.PHONY: test
test: check
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback