Last change
on this file since 3147 was 3144, checked in by VincentMcIntyre, 6 years ago |
Remove egg-info dir when cleaning up
|
-
Property svn:executable
set to
*
|
File size:
687 bytes
|
Line | |
---|
1 | #!/usr/bin/make -f
|
---|
2 |
|
---|
3 | # Unset the environment variables set by dpkg-buildpackage. (This is
|
---|
4 | # necessary because distutils is brittle with compiler/linker flags
|
---|
5 | # set. Specifically, packages using f2py will break without this.)
|
---|
6 | unexport CPPFLAGS
|
---|
7 | unexport CFLAGS
|
---|
8 | unexport CXXFLAGS
|
---|
9 | unexport FFLAGS
|
---|
10 | unexport LDFLAGS
|
---|
11 |
|
---|
12 | #exports specified using stdeb Setup-Env-Vars:
|
---|
13 | #export DH_OPTIONS=--buildsystem=python_distutils
|
---|
14 |
|
---|
15 | override_dh_auto_install:
|
---|
16 | python setup.py install --root=debian/python-asap --install-layout=deb
|
---|
17 |
|
---|
18 | override_dh_auto_clean:
|
---|
19 | python setup.py clean
|
---|
20 | scons -c
|
---|
21 | rm -f config.log
|
---|
22 | rm -rf asap.egg-info
|
---|
23 |
|
---|
24 | override_dh_auto_build:
|
---|
25 | python setup.py build_ext --casacoreroot=/usr
|
---|
26 |
|
---|
27 | %:
|
---|
28 | dh $@
|
---|
Note:
See
TracBrowser
for help on using the repository browser.