[cod-tools] 34/142: trunk/ Adding 'make unsigned' target. Adding a short README.

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 a54afcd6a6af529a08cbda5ecea614cf18a03662
Author: Andrius Merkys <andrius.merkys at gmail.com>
Date:   Thu Oct 27 11:40:42 2016 +0000

    trunk/
    Adding 'make unsigned' target. Adding a short README.
    
    
    git-svn-id: svn+ssh://saulius-grazulis.lt/home/andrius/svn-repositories/cod-deb-packaging/trunk@34 26752c47-bcd6-4c9c-b022-347364b77eb5
---
 MasterMakefile | 9 +++++++--
 README.md      | 9 +++++++++
 2 files changed, 16 insertions(+), 2 deletions(-)

diff --git a/MasterMakefile b/MasterMakefile
index 2056889..a777f5c 100644
--- a/MasterMakefile
+++ b/MasterMakefile
@@ -9,9 +9,11 @@ PKGNAME = ${PROJECT}-${VERSION}
 ORIG_TAR_GZ   = ${PROJECT}_${VERSION}.orig.tar.gz
 DEBIAN_TAR_GZ = ${PROJECT}_${PKG_VERSION}.debian.tar.gz
 
+DEBUILD_OPTS =
+
 all: ${DEBIAN_TAR_GZ}
 
-.PHONY: original orig
+.PHONY: original orig unsigned
 
 original orig: ${ORIG_TAR_GZ}
 
@@ -25,9 +27,12 @@ ${DEBIAN_TAR_GZ}: ${ORIG_TAR_GZ}
 	zcat $< | tar -xv
 	rsync -av --exclude .svn --exclude \*~ debian ${PKGNAME}
 	mv ${PKGNAME} ${PROJECT}
-	(cd ${PROJECT}; debuild)
+	(cd ${PROJECT}; debuild ${DEBUILD_OPTS})
 	rm -rf ${PROJECT}
 
+unsigned:
+	${MAKE} all DEBUILD_OPTS="-us -uc"
+
 cleanAll distclean:
 	rm -rf source ${PKGNAME} ${PROJECT}
 	rm -f ${ORIG_TAR_GZ} ${DEBIAN_TAR_GZ}
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..178f29f
--- /dev/null
+++ b/README.md
@@ -0,0 +1,9 @@
+cod-deb-packaging
+=================
+
+Debian packaging of ``cod-tools`` software. ``cod-tools`` can be obtained
+from svn://www.crystallography.net/cod-tools or GIT repository at
+https://github.com/sauliusg/cod-tools.
+
+To build any of the packages, run ``make unsigned`` inside the package
+subdirectories.

-- 
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