From c5ffe8fafe51c7d272f796e5a8f73dcb8634fed4 Mon Sep 17 00:00:00 2001 From: Robin Mills Date: Fri, 17 May 2013 05:49:03 +0000 Subject: [PATCH] config/Makefile.in brought into sync with /Makefile. --- config/Makefile.in | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/config/Makefile.in b/config/Makefile.in index ea2585d8..39503e63 100644 --- a/config/Makefile.in +++ b/config/Makefile.in @@ -79,6 +79,27 @@ teste: testv: cd test && $(MAKE) testv +MAJOR=$(shell grep "define.*EXIV2_.*_VERSION .*\\d*" src/version.hpp | grep MAJOR | sed -e 's/EXIV2//g' | tr -dC [:digit:]) +MINOR=$(shell grep "define.*EXIV2_.*_VERSION .*\\d*" src/version.hpp | grep MINOR | sed -e 's/EXIV2//g' | tr -dC [:digit:]) +VERSION=exiv2-$(MAJOR).$(MINOR) +tarball: + @rm -rf /tmp/$(VERSION) + @rm -rf /tmp/$(VERSION).tar + @rm -rf /tmp/$(VERSION).tar.gz + @rm -rf $(VERSION).tar.gz + svn export -q . /tmp/$(VERSION) + @cd /tmp/$(VERSION) ;\ + make config ;\ + cd - ; cd /tmp ;\ + tar cf $(VERSION).tar $(VERSION)/ ;\ + gzip $(VERSION).tar ;\ + cd - ;\ + mv /tmp/$(VERSION).tar.gz . ;\ + ls -alt $(VERSION).tar.gz + +configure: + make config + config: cd config && $(MAKE) -f config.make $(MAKECMDGOALS)