r45503 - /packages/sundials/trunk/debian/rules
sylvestre at users.alioth.debian.org
sylvestre at users.alioth.debian.org
Wed Jan 9 13:15:55 UTC 2013
Author: sylvestre
Date: Wed Jan 9 13:15:55 2013
New Revision: 45503
URL: http://svn.debian.org/wsvn/debian-science/?sc=1&rev=45503
Log:
Remove outdated-autotools-helper-file
Modified:
packages/sundials/trunk/debian/rules
Modified: packages/sundials/trunk/debian/rules
URL: http://svn.debian.org/wsvn/debian-science/packages/sundials/trunk/debian/rules?rev=45503&op=diff
==============================================================================
--- packages/sundials/trunk/debian/rules (original)
+++ packages/sundials/trunk/debian/rules Wed Jan 9 13:15:55 2013
@@ -32,6 +32,7 @@
dh $@ --buildsystem=cmake --builddirectory=$(BUILDDIR) --parallel
override_dh_auto_configure:
+ rm config/config.sub config/config.guess
dh_auto_configure -- $(extra_flags)
override_dh_auto_test:
@@ -41,7 +42,7 @@
override_dh_auto_build:
dh_auto_build
-
+
#
#build/octave-sundials::
mkdir -p sundialsTB/octave
@@ -57,14 +58,14 @@
mv sundialsTB/octave/sundialsTB/idas/idm/idm.mex debian/tmp/$(bpath)/sundialsTB/idas/idm
mkdir -p debian/tmp/$(bpath)/sundialsTB/kinsol/kim
mv sundialsTB/octave/sundialsTB/kinsol/kim/kim.mex debian/tmp/$(bpath)/sundialsTB/kinsol/kim
-
+
mkdir -p debian/tmp/$(mpath)
mv sundialsTB/octave/* debian/tmp/$(mpath)
rm debian/tmp/$(mpath)/sundialsTB/LICENSE
dh_install -a -Nlibsundials-doc
dh_install -plibsundials-doc -X.txt -X.out -X.in -XREADME
-
+
#
#to generate symbols
# dpkg-gensymbols -plibsundials-parallel -O
@@ -78,10 +79,10 @@
dh_strip -plibsundials-idas0 --dbg-package=libsundials-serial-dbg
dh_strip -plibsundials-kinsol1 --dbg-package=libsundials-serial-dbg
dh_strip -plibsundials-nvecserial0 --dbg-package=libsundials-serial-dbg
-
+
dh_strip -plibsundials-nvecparallel0 --dbg-package=libsundials-nvecparallel-dbg
dh_strip -a
-
+
ls -l debian/tmp/usr/lib
override_dh_auto_clean:
@@ -94,7 +95,7 @@
rm -rf sundialsTB/octave
rm -rf bin/makefile-update.sh
dh_auto_clean
-
+
# Grab the version before +dfsg
DEB_UPSTREAM_VERSION=$(shell dpkg-parsechangelog | sed -rne 's,^Version: ([^+]+).*,\1,p')
DEB_STRIPPED_UPSTREAM_VERSION = $(shell echo $(DEB_UPSTREAM_VERSION) | sed 's/-[^-]*$$//')
@@ -112,4 +113,3 @@
$(CURDIR)/sundials_$(DEB_UPSTREAM_VERSION).orig.tar.gz \
sundials-$(DEB_STRIPPED_UPSTREAM_VERSION)
rm -rf $(USCAN_DESTDIR)/sundials-$(DEB_STRIPPED_UPSTREAM_VERSION)
-
More information about the debian-science-commits
mailing list