summaryrefslogtreecommitdiffstats
path: root/debian/rules
diff options
context:
space:
mode:
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules11
1 files changed, 5 insertions, 6 deletions
diff --git a/debian/rules b/debian/rules
index 5151523..3b85558 100755
--- a/debian/rules
+++ b/debian/rules
@@ -8,6 +8,7 @@ export DEB_BUILD_MAINT_OPTIONS = hardening=+all
override_dh_auto_clean:
dh_auto_clean
dh_auto_clean --sourcedir=ndiff --buildsystem=pybuild
+ dh_auto_clean --sourcedir=zenmap --buildsystem=pybuild
rm -f nselib/data/jdwp-class/*.class nselib/data/psexec/nmap_service.ex*
override_dh_auto_configure:
@@ -19,10 +20,12 @@ override_dh_auto_configure:
--enable-ipv6 \
STRIP=/bin/true
dh_auto_configure --sourcedir=ndiff --buildsystem=pybuild
+ dh_auto_configure --sourcedir=zenmap --buildsystem=pybuild
override_dh_auto_build-indep:
dh_auto_build
dh_auto_build --sourcedir=ndiff --buildsystem=pybuild
+ dh_auto_build --sourcedir=zenmap --buildsystem=pybuild
cd nselib/data/jdwp-class && /usr/lib/jvm/default-java/bin/javac *.java
cd nselib/data/psexec && \
i686-w64-mingw32-gcc ${CPPFLAGS} ${CFLAGS} -o nmap_service.exe nmap_service.c && \
@@ -30,14 +33,10 @@ override_dh_auto_build-indep:
override_dh_auto_test:
dh_auto_test --sourcedir=ndiff --buildsystem=pybuild
+ dh_auto_test --sourcedir=zenmap --buildsystem=pybuild
override_dh_auto_install:
dh_auto_install
dh_auto_install --sourcedir=ndiff --buildsystem=pybuild
+ dh_auto_install --sourcedir=zenmap --buildsystem=pybuild
mv debian/tmp/usr/share/man/pt_PT debian/tmp/usr/share/man/pt
-
-override_dh_missing:
- dh_missing -X/usr/bin/uninstall_ -Xca-bundle.crt -X.pyc -Xnmap_service.exe --fail-missing
-
-override_dh_install:
- dh_install -X/usr/bin/uninstall_ -Xca-bundle.crt -X.pyc -Xnmap_service.exe