start to migrate DEBIAN rules to distutils
svn: r21746
This commit is contained in:
parent
40076dd093
commit
f3859a2fb9
21
debian/rules
vendored
21
debian/rules
vendored
@ -1,16 +1,19 @@
|
||||
#!/usr/bin/make -f
|
||||
|
||||
build: build-stamp
|
||||
build-stamp:
|
||||
dh_testdir
|
||||
# This file was automatically generated by stdeb 0.6.0 at
|
||||
# Tue, 26 Mar 2013 16:28:27 +0100
|
||||
|
||||
#./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
|
||||
# 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
|
||||
|
||||
touch build-stamp
|
||||
#exports specified using stdeb Setup-Env-Vars:
|
||||
export DH_OPTIONS=--buildsystem=python_distutils
|
||||
|
||||
clean:
|
||||
dh_testdir
|
||||
|
Loading…
x
Reference in New Issue
Block a user