[cod-tools] 03/142: trunk/ Developing a Makefile-based infrastructure to produce packages.

Andrius Merkys merkys-guest at moszumanska.debian.org
Mon Sep 25 13:44:10 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 b22b39e6afdf136fe1f66176ad0a0c29cec89479
Author: Andrius Merkys <andrius.merkys at gmail.com>
Date:   Wed Oct 26 07:34:59 2016 +0000

    trunk/
    Developing a Makefile-based infrastructure to produce packages.
    
    
    git-svn-id: svn+ssh://saulius-grazulis.lt/home/andrius/svn-repositories/cod-deb-packaging/trunk@3 26752c47-bcd6-4c9c-b022-347364b77eb5
---
 MasterMakefile           | 15 +++++++++++++++
 cexceptions/Makefile     |  1 +
 cexceptions/fetch-source |  3 +++
 3 files changed, 19 insertions(+)

diff --git a/MasterMakefile b/MasterMakefile
new file mode 100644
index 0000000..1c90ef4
--- /dev/null
+++ b/MasterMakefile
@@ -0,0 +1,15 @@
+PROJECT   = $(notdir $(shell pwd))
+CHANGELOG = debian/changelog
+
+VERSION = $(shell head -n 1 ${CHANGELOG} | perl -lne 'print $$1 if /\((.*?)-\d\)/')
+
+PKGNAME = ${PROJECT}-${VERSION}
+
+all: ${PKGNAME}
+
+source: ${CHANGELOG}
+	./fetch-source
+
+${PKGNAME}: source
+	mv source $@
+	rsync -av --exclude .svn debian ${PKGNAME}
diff --git a/cexceptions/Makefile b/cexceptions/Makefile
new file mode 120000
index 0000000..49d1d10
--- /dev/null
+++ b/cexceptions/Makefile
@@ -0,0 +1 @@
+../MasterMakefile
\ No newline at end of file
diff --git a/cexceptions/fetch-source b/cexceptions/fetch-source
new file mode 100755
index 0000000..4006048
--- /dev/null
+++ b/cexceptions/fetch-source
@@ -0,0 +1,3 @@
+#!/bin/bash
+
+svn export -r4754 svn://www.crystallography.net/cod-tools/trunk/src/externals/cexceptions source

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