[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=aeb9972

The following commit has been merged in the master branch:
commit aeb9972669cb630f3145acd8b556f0b9c0ee91e9
Author: Robin Mills <robin at clanmills.com>
Date:   Tue Apr 30 01:41:33 2013 +0000

    Makefile: added make configure.  simplified make tarball
---
 Makefile | 16 +++++++++++-----
 1 file changed, 11 insertions(+), 5 deletions(-)

diff --git a/Makefile b/Makefile
index 9bfd60d..30de8c9 100644
--- a/Makefile
+++ b/Makefile
@@ -83,17 +83,23 @@ MAJOR=$(shell grep "define.*EXIV2_.*_VERSION .*\d*" src/version.hpp | grep MAJO
 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)               ;\
+	@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)
 

-- 
exiv2 packaging



More information about the pkg-kde-commits mailing list