diff options
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am index 9a3ca7b7..2448e748 100644 --- a/Makefile.am +++ b/Makefile.am @@ -52,7 +52,7 @@ untabify: find \( -name '*.c' -o -name '*.h' \) -exec perl -i -pe 's/\t/ /g;' \{\} \; fedora-snapshot: dist - cp $(distdir).tar.gz $$HOME/cvs.fedora/pulseaudio/devel/$(distdir).git`date +%Y%m%d`.tar.gz + cp $(distdir).tar.gz $$HOME/cvs.fedora/pulseaudio/devel/$(distdir).tar.gz dist-hook: if test -d .git ; then \ @@ -60,6 +60,7 @@ dist-hook: chmod u+w ${distdir}/ChangeLog || true ; \ ( git-changelog.perl || echo "git-changelog.perl failed." ) > ${distdir}/ChangeLog 2>&1 ; \ fi + echo $(VERSION) > $(distdir)/.tarball-version update-shave: for i in shave.in shave.m4 shave-libtool.in; do \ @@ -69,5 +70,10 @@ update-shave: .PHONY: homepage distcleancheck doxygen +# see git-version-gen +BUILT_SOURCES = $(top_srcdir)/.version +$(top_srcdir)/.version: + echo $(VERSION) > $@-t && mv $@-t $@ + DISTCLEANFILES = \ po/.intltool-merge-cache |