[SCM] gfan: Program for computing with Groebner fans branch, master, updated. debian/0.3dfsg-1-24-gc204dfb

Cédric Boutillier boutil at debian.org
Sat Feb 16 16:13:00 UTC 2013


The following commit has been merged in the master branch:
commit 5575c12e337d7e4ef2813194c600b424712a1569
Author: Cédric Boutillier <boutil at debian.org>
Date:   Wed Jan 16 23:27:34 2013 +0100

    debian/rules: use dh instead of cdbs

diff --git a/debian/rules b/debian/rules
old mode 100644
new mode 100755
index 01979ba..af40da9
--- a/debian/rules
+++ b/debian/rules
@@ -1,12 +1,21 @@
 #!/usr/bin/make -f
 
-include /usr/share/cdbs/1/rules/debhelper.mk
-include /usr/share/cdbs/1/class/makefile.mk
-include /usr/share/cdbs/1/rules/patchsys-quilt.mk
+include /usr/share/dpkg/buildflags.mk
 
-CFLAGS += -DGMPRATIONAL -I/usr/include/cdd
-DEB_MAKE_INSTALL_TARGET = install PREFIX=$(DEB_DESTDIR)/usr
+export DH_VERBOSE=1
 
-DEB_INSTALL_MANPAGES_gfan += debian/gfan.1
+DPKG_EXPORT_BUILDFLAGS=1
+DEB_DESTDIR=./debian/gfan
 
-DEB_DH_LINK_ARGS += $(foreach file,$(shell ls debian/gfan/usr/bin/gfan_*),/usr/share/man/man1/gfan.1.gz /usr/share/man/man1/$(notdir $(file)).1.gz )
+
+%:
+	dh $@
+
+override_dh_auto_install:
+	$(MAKE) install PREFIX=$(DEB_DESTDIR)/usr
+
+override_dh_auto_test:
+	./gfan _test
+
+override_dh_clean:
+	dh_clean -X~

-- 
gfan: Program for computing with Groebner fans



More information about the debian-science-commits mailing list