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

23
debian/rules vendored
View File

@ -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
#./autogen.sh --prefix=/usr --mandir=\$${prefix}/share/man --sysconfdir=/etc # Unset the environment variables set by dpkg-buildpackage. (This is
./configure --enable-packager-mode --prefix=/usr --mandir=\$${prefix}/share/man --sysconfdir=/etc # necessary because distutils is brittle with compiler/linker flags
# ./configure --prefix=`pwd`/debian/tmp/usr --mandir=\$${prefix}/share/man # set. Specifically, packages using f2py will break without this.)
$(MAKE) unexport CPPFLAGS
# $(MAKE) html 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: clean:
dh_testdir dh_testdir