[SCM] library of programs for modular symbols and elliptic curves over Q branch, master, updated. upstream/2012-06-01-4-g304e9b9

Julien Puydt julien.puydt at laposte.net
Tue Jun 12 13:45:40 UTC 2012


The following commit has been merged in the master branch:
commit 26a83e971e5e3dee99711319026fcb746e837bf7
Author: Julien Puydt <julien.puydt at laposte.net>
Date:   Tue Jun 12 14:58:19 2012 +0200

    Modified debian/rules according to B.R.Link's suggestions
    
    - use CPPFLAGS instead of CFLAGS to pass -D_LARGEFILE_SOURCE
    - install using DESTDIR instead of prefix

diff --git a/debian/rules b/debian/rules
index 204e925..3cede32 100755
--- a/debian/rules
+++ b/debian/rules
@@ -9,10 +9,10 @@ export ACLOCAL_M4=.
 	dh $@ --with autoreconf
 
 override_dh_auto_configure:
-	dh_auto_configure -- --enable-allprogs=no --enable-shared --disable-static CFLAGS="$(CFLAGS) -D_LARGEFILE_SOURCE"
+	dh_auto_configure -- --enable-allprogs=no --enable-shared --disable-static CPPFLAGS="$(CPPFLAGS) -D_LARGEFILE_SOURCE"
 
 override_dh_auto_install:
-	$(MAKE) prefix=$(CURDIR)/debian/tmp/usr install
+	$(MAKE) DESTDIR=$(CURDIR)/debian/tmp install
 	rm -f $(CURDIR)/debian/tmp/usr/lib/*/*.la
 	rm -fr $(CURDIR)/debian/tmp/usr/share/doc
 

-- 
library of programs for modular symbols and elliptic curves over Q



More information about the debian-science-commits mailing list