summaryrefslogtreecommitdiff
path: root/cpp/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/Makefile.am')
-rw-r--r--cpp/Makefile.am4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/Makefile.am b/cpp/Makefile.am
index 2ae53a7181..1d6c142109 100644
--- a/cpp/Makefile.am
+++ b/cpp/Makefile.am
@@ -16,11 +16,11 @@ libtool: $(LIBTOOL_DEPS)
# This cannot be done by AC_CONFIG_FILES, because automake's
# make distcheck target does not like auto-generated files
# being included in the distributed archive.
-qpidc.spec: %: %.in
+$(PACKAGE).spec: %: %.in
sed 's/@''PACKAGE@/@PACKAGE@/;s/@''VERSION@/@VERSION@/' $< > $@-tmp
mv $@-tmp $@
MAINTAINERCLEANFILES = $(PACKAGE).spec
.PHONY: rpm srpm
-rpm srpm:
+rpm srpm: dist
cd rpm && $(MAKE) $(MAKEFLAGS_AM) $@