diff --git a/Makefile b/Makefile index 30de8c9b..d5335db5 100644 --- a/Makefile +++ b/Makefile @@ -79,27 +79,6 @@ 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) - @pushd /tmp/$(VERSION) ;\ - make config ;\ - cd .. ;\ - tar cf $(VERSION).tar $(VERSION)/ ;\ - gzip $(VERSION).tar ;\ - popd ;\ - mv /tmp/$(VERSION).tar.gz . ;\ - ls -alt $(VERSION).tar.gz - -configure: - make config - config: cd config && $(MAKE) -f config.make $(MAKECMDGOALS)