summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorClark Williams <williams@redhat.com>2007-12-14 16:10:46 -0600
committerClark Williams <williams@redhat.com>2007-12-14 16:10:46 -0600
commit1179491f3cd4ff9ddc7a061f39ef47ff8cf78d01 (patch)
tree5249ce731a9554f797c13ed3ad5db1ef6a3e91b0
parent987d7c07a71dc792613f26c060efe4d354bf6891 (diff)
downloadmock-1179491f3cd4ff9ddc7a061f39ef47ff8cf78d01.tar.gz
mock-1179491f3cd4ff9ddc7a061f39ef47ff8cf78d01.tar.xz
mock-1179491f3cd4ff9ddc7a061f39ef47ff8cf78d01.zip
added help target
-rw-r--r--Makefile.am13
1 files changed, 12 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index 12559d3..c839228 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -89,7 +89,7 @@ RPM_DEFINES = --define "_topdir $(TOPDIR)" \
--define "_specdir $(SPECDIR)" \
--define "_srcrpmdir $(SRCRPMDIR)"
-.PHONY: rpm srpm
+.PHONY: rpm srpm help
rpm: dist
mkdir -p $(BUILDDIR)
rpmbuild $(RPM_DEFINES) -ba --nodeps $(PACKAGE_NAME).spec
@@ -99,3 +99,14 @@ srpm: dist
mkdir -p $(BUILDDIR)
rpmbuild $(RPM_DEFINES) -ba --nodeps $(PACKAGE_NAME).spec
rm -rf $(BUILDDIR)
+
+
+help:
+ @echo
+ @echo "Mock Makefile targets:"
+ @echo " dist - generate Changelog and Authors file"
+ @echo " rpm - build binary RPM"
+ @echo " srpm - build source RPM"
+ @echo " help - print this message"
+ @echo "Additionally, all standard automake targets are supported"
+ @echo