[cod-tools] 12/142: trunk/cexceptions/ Modifying debian/rules to enable generation of Debian binary (*.deb) packages.

Andrius Merkys merkys-guest at moszumanska.debian.org
Mon Sep 25 13:44:11 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 c9c5b9153a2b42b2390c2ad8f6a21efad142992b
Author: Andrius Merkys <andrius.merkys at gmail.com>
Date:   Wed Oct 26 09:17:23 2016 +0000

    trunk/cexceptions/
    Modifying debian/rules to enable generation of Debian binary (*.deb)
    packages.
    
    
    git-svn-id: svn+ssh://saulius-grazulis.lt/home/andrius/svn-repositories/cod-deb-packaging/trunk@12 26752c47-bcd6-4c9c-b022-347364b77eb5
---
 cexceptions/debian/rules | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/cexceptions/debian/rules b/cexceptions/debian/rules
index 26462d4..cac39c1 100755
--- a/cexceptions/debian/rules
+++ b/cexceptions/debian/rules
@@ -18,7 +18,11 @@ build:
 clean:
 	${MAKE} distclean
 
+override_dh_auto_install:
+	${MAKE} install PREFIX=debian/cexceptions/usr
+
 install: build
+	mkdir -p ${PREFIX}/include ${PREFIX}/lib
 	install *.h ${PREFIX}/include
 	install lib/libcexceptions.a lib/libcexceptions.so.0.01 ${PREFIX}/lib
 	ln -fs libcexceptions.so.0.01 ${PREFIX}/lib

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