summaryrefslogtreecommitdiffstats
path: root/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am5
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am
index 68b203a2e..eb7e46686 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -32,8 +32,9 @@ dist-hook:
done ; \
done
@set -e; \
- sed -e 's/@pkg_version@/$(VERSION)/g' $(top_srcdir)/scripts/gnupg.spec \
- > $(distdir)/scripts/gnupg-$(VERSION).spec
+ sed -e 's/@pkg_version@/$(VERSION)/g' \
+ $(top_srcdir)/scripts/gnupg.spec.in \
+ > $(distdir)/scripts/gnupg.spec
# maintainer only