[SCM] exiv2 packaging branch, master, updated. debian/0.25-3.1-3734-gdcbc29a

Maximiliano Curia maxy at moszumanska.debian.org
Thu Jul 13 17:43:41 UTC 2017


Gitweb-URL: http://git.debian.org/?p=pkg-kde/kde-extras/exiv2.git;a=commitdiff;h=24171e6

The following commit has been merged in the master branch:
commit 24171e6f411b720acd3bb44c00ee4b208c3b8394
Author: Robin Mills <robin at clanmills.com>
Date:   Sun Apr 28 16:36:47 2013 +0000

    Forum topic:#1521 Added make tarball
---
 Makefile | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/Makefile b/Makefile
index d5335db..9bfd60d 100644
--- a/Makefile
+++ b/Makefile
@@ -79,6 +79,21 @@ 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:
+	if [ -e /tmp/$(VERSION)        ]; then rm -rf /tmp/$(VERSION)        ; fi
+	if [ -e /tmp/$(VERSION).tar    ]; then rm -rf /tmp/$(VERSION).tar    ; fi
+	if [ -e /tmp/$(VERSION).tar.gz ]; then rm -rf /tmp/$(VERSION).tar.gz ; fi
+	svn export . /tmp/$(VERSION)
+	cd   /tmp/$(VERSION)               ;\
+	make config                        ;\
+	cd ..                              ;\
+	tar cf  $(VERSION).tar $(VERSION)/ ;\
+	gzip    $(VERSION).tar             ;\
+	ls -alt $(VERSION).tar.gz
+
 config:
 	cd config && $(MAKE) -f config.make $(MAKECMDGOALS)
 

-- 
exiv2 packaging



More information about the pkg-kde-commits mailing list