[cod-tools] 32/142: trunk/ Splitting MasterMakefile's functionality by implementing 'make original' target.

Andrius Merkys merkys-guest at moszumanska.debian.org
Mon Sep 25 13:44:14 UTC 2017


This is an automated email from the git hooks/post-receive script.

merkys-guest pushed a commit to branch master
in repository cod-tools.

commit ffd9d5ed4854548a6257b8e1e58fbddc67ade2f5
Author: Andrius Merkys <andrius.merkys at gmail.com>
Date:   Thu Oct 27 09:56:01 2016 +0000

    trunk/
    Splitting MasterMakefile's functionality by implementing 'make original'
    target.
    
    
    git-svn-id: svn+ssh://saulius-grazulis.lt/home/andrius/svn-repositories/cod-deb-packaging/trunk@32 26752c47-bcd6-4c9c-b022-347364b77eb5
---
 MasterMakefile | 12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)

diff --git a/MasterMakefile b/MasterMakefile
index 39b08a7..2056889 100644
--- a/MasterMakefile
+++ b/MasterMakefile
@@ -11,12 +11,18 @@ DEBIAN_TAR_GZ = ${PROJECT}_${PKG_VERSION}.debian.tar.gz
 
 all: ${DEBIAN_TAR_GZ}
 
-source: ${CHANGELOG}
-	./fetch-source
+.PHONY: original orig
+
+original orig: ${ORIG_TAR_GZ}
 
-${DEBIAN_TAR_GZ}: source
+${ORIG_TAR_GZ}: ${CHANGELOG}
+	./fetch-source
 	mv source ${PKGNAME}
 	tar -c ${PKGNAME} | gzip > ${ORIG_TAR_GZ}
+	rm -rf ${PKGNAME}
+
+${DEBIAN_TAR_GZ}: ${ORIG_TAR_GZ}
+	zcat $< | tar -xv
 	rsync -av --exclude .svn --exclude \*~ debian ${PKGNAME}
 	mv ${PKGNAME} ${PROJECT}
 	(cd ${PROJECT}; debuild)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/cod-tools.git



More information about the debian-science-commits mailing list