It's kind of silly to use "git" as the version string at all times
except for releases. This commit changes the name of the generated
tarball to use the output of git describe. Hence the "tarball"
target creates a tarball named according to the current git HEAD. For
compatibility we provide a symlink with the old name.
config.status
Makefile
TODO
-paraslash-git.tar.bz2
+paraslash-*.tar.bz2
web/dia/overview.pdf
*.swp
error2.h
man_pages := $(patsubst %, $(man_dir)/%.1, $(prefixed_executables))
autocrap := config.h.in configure
-tarball_pfx := $(PACKAGE_TARNAME)-$(PACKAGE_VERSION)
+tarball_pfx := $(PACKAGE_TARNAME)-$(shell git describe --dirty)
tarball_delete := $(addprefix $(tarball_pfx)/, web .gitignore)
tarball := $(tarball_pfx).tar.bz2
$(Q) tar rf $(tarball_pfx).tar $(tarball_pfx)/*
$(Q) bzip2 -9 $(tarball_pfx).tar
$(Q) ls -l $(tarball)
+ $(Q) ln -sf $(tarball) paraslash-git.tar.bz2
$(Q) rm -rf $(tarball_pfx)
AC_PREREQ([2.61])
-AC_INIT([paraslash],[git],[maan@tuebingen.mpg.de])
+AC_INIT([paraslash], [m4_esyscmd_s(./GIT-VERSION-GEN)],
+ [maan@tuebingen.mpg.de], [], [http://people.tuebingen.mpg.de/maan/paraslash/])
AC_CONFIG_HEADERS([config.h])
AC_CONFIG_FILES([Makefile])