start to migrate DEBIAN rules to distutils
svn: r21746
This commit is contained in:
parent
40076dd093
commit
f3859a2fb9
29
debian/rules
vendored
29
debian/rules
vendored
@ -1,16 +1,19 @@
|
|||||||
#!/usr/bin/make -f
|
#!/usr/bin/make -f
|
||||||
|
|
||||||
build: build-stamp
|
# This file was automatically generated by stdeb 0.6.0 at
|
||||||
build-stamp:
|
# Tue, 26 Mar 2013 16:28:27 +0100
|
||||||
dh_testdir
|
|
||||||
|
# Unset the environment variables set by dpkg-buildpackage. (This is
|
||||||
#./autogen.sh --prefix=/usr --mandir=\$${prefix}/share/man --sysconfdir=/etc
|
# necessary because distutils is brittle with compiler/linker flags
|
||||||
./configure --enable-packager-mode --prefix=/usr --mandir=\$${prefix}/share/man --sysconfdir=/etc
|
# set. Specifically, packages using f2py will break without this.)
|
||||||
# ./configure --prefix=`pwd`/debian/tmp/usr --mandir=\$${prefix}/share/man
|
unexport CPPFLAGS
|
||||||
$(MAKE)
|
unexport CFLAGS
|
||||||
# $(MAKE) html
|
unexport CXXFLAGS
|
||||||
|
unexport FFLAGS
|
||||||
touch build-stamp
|
unexport LDFLAGS
|
||||||
|
|
||||||
|
#exports specified using stdeb Setup-Env-Vars:
|
||||||
|
export DH_OPTIONS=--buildsystem=python_distutils
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
dh_testdir
|
dh_testdir
|
||||||
|
Loading…
x
Reference in New Issue
Block a user