diff --git a/Makefile.in b/Makefile.in index 415e2da..8f3cf33 100644 --- a/Makefile.in +++ b/Makefile.in @@ -1,4 +1,4 @@ -.PHONY: all check clean distclean doc install install-headers regressions uninstall +.PHONY: all check clean dist distclean doc install install-headers regressions uninstall CFLAGS=@CFLAGS@ VERSION=@VERSION@ @@ -7,8 +7,6 @@ PREFIX=@PREFIX@ LIBRARY=@LIBRARY@ HEADERS=@HEADERS@ PKGCONFIG_DATA=@LIBRARY@/pkgconfig -DISTDIR=.spool -DISTFILE=$(DISTDIR)/ck-$(VERSION).tar.gz all: doc $(MAKE) -C src all || exit @@ -69,6 +67,10 @@ clean: $(MAKE) -C regressions clean rm -f *~ *.o *.tar.gz +dist: + git archive --format=tar --prefix=ck-$(VERSION)/ HEAD \ + | gzip > ck-$(VERSION).tar.gz + distclean: clean rm -f include/ck_md.h rm -f build/regressions.build diff --git a/configure b/configure index 7c4bfa1..6e51c08 100755 --- a/configure +++ b/configure @@ -32,7 +32,7 @@ EXIT_SUCCESS=0 EXIT_FAILURE=1 MAINTAINER='sbahra@repnop.org' -VERSION='0.2.7' +VERSION=${VERSION:-'0.2.7'} VERSION_MAJOR='0' BUILD="$PWD/build/ck.build" PREFIX=${PREFIX:-"/usr/local"} @@ -100,6 +100,7 @@ generate_stdout() { echo + echo " VERSION = $VERSION" echo " PROFILE = $PROFILE" echo " CC = $CC" echo " COMPILER = $COMPILER"