summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Horman <horms@verge.net.au>2007-04-13 10:15:09 +0900
committerSimon Horman <horms@verge.net.au>2007-04-13 10:22:00 +0900
commit0ed5c286ef2d83a55d1b2aff2c153ac95f9744ea (patch)
tree191e7e0929e2f46c3edbc742fe74fc2da323067e
parentc8d973a3eca741f036f0240fd9d67c1848cfc7f7 (diff)
kexec-tools: Add distclean and maintainerclean targets
Make maintainerclean and distclean aliases for the existing maintainer-clean and dist-clean targets respectively. I believe that the former names are a little more common so it makes sense to have them there. Signed-off-by: Simon Horman <horms@verge.net.au>
-rw-r--r--Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 04afe30..3738b37 100644
--- a/Makefile
+++ b/Makefile
@@ -150,11 +150,15 @@ clean:
@$(RM) -f config.log config.status config.cache
@$(RM) -f $(TARBALL)
+distclean: dist-clean
+
dist-clean: clean
@$(RM) -rf $(OBJDIR)
@$(FIND) . -type f -name '*~' -o -name '*.orig' | $(XARGS) $(RM) -f
@$(RM) -f Makefile.conf
+maintainerclean: maintainer-clean
+
maintainer-clean: dist-clean
@$(RM) -f $(GENERATED_SRCS)
@@ -247,4 +251,5 @@ install: $(TARGETS)
fi; \
done
-.PHONY: echo install all clean dist-clean maintainer-clean tarball rpm
+.PHONY: echo install all clean dist-clean distclean maintainer-clean \
+ maintainerclean tarball rpm