start to migrate DEBIAN rules to distutils

svn: r21746
This commit is contained in:
Jérôme Rapinat 2013-03-26 15:41:39 +00:00
parent 40076dd093
commit f3859a2fb9

29
debian/rules vendored
View File

@ -1,16 +1,19 @@
#!/usr/bin/make -f
build: build-stamp
build-stamp:
dh_testdir
#./autogen.sh --prefix=/usr --mandir=\$${prefix}/share/man --sysconfdir=/etc
./configure --enable-packager-mode --prefix=/usr --mandir=\$${prefix}/share/man --sysconfdir=/etc
# ./configure --prefix=`pwd`/debian/tmp/usr --mandir=\$${prefix}/share/man
$(MAKE)
# $(MAKE) html
touch build-stamp
#!/usr/bin/make -f
# This file was automatically generated by stdeb 0.6.0 at
# Tue, 26 Mar 2013 16:28:27 +0100
# Unset the environment variables set by dpkg-buildpackage. (This is
# necessary because distutils is brittle with compiler/linker flags
# set. Specifically, packages using f2py will break without this.)
unexport CPPFLAGS
unexport CFLAGS
unexport CXXFLAGS
unexport FFLAGS
unexport LDFLAGS
#exports specified using stdeb Setup-Env-Vars:
export DH_OPTIONS=--buildsystem=python_distutils
clean:
dh_testdir