summaryrefslogtreecommitdiff
path: root/debian/rules
diff options
context:
space:
mode:
authorKali Kaneko <kali@leap.se>2016-04-28 08:57:53 -0400
committerKali Kaneko <kali@leap.se>2016-04-28 08:57:53 -0400
commit8ea98a7b502fcfd8b3ab67f31d92f25be3939af5 (patch)
tree76542390807f6fe4dfd5d39a8fa67aa75688a0d1 /debian/rules
parentdcd6e15b9c8f9fd5b00f8a227e3423cd9769a033 (diff)
[deb] fix splitting of the packages
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules9
1 files changed, 5 insertions, 4 deletions
diff --git a/debian/rules b/debian/rules
index f762cb3c..cbeb5a66 100755
--- a/debian/rules
+++ b/debian/rules
@@ -23,6 +23,8 @@ override_dh_prep:
dh_prep
mv src/leap.bitmask.egg-info src/leap.bitmask.egg-info.orig
+ mv src/leap/bitmask/core src/bitmask-core.orig
+ mv src/leap/bitmask/cli src/bitmask-cli.orig
# this will re-generate the resource files and locales.
make -f ./Makefile
@@ -43,13 +45,12 @@ endif
build-python%:
python$* setup.py build
-override_dh_auto_build: $(PYTHON3:%=build-python%)
- dh_auto_build
-
override_dh_install:
- dh_install -Xbitmask/core -Xbitmask/cli
+ dh_install
rm -rf src/leap.bitmask.egg-info
mv src/leap.bitmask.egg-info.orig src/leap.bitmask.egg-info
+ mv src/bitmask-core.orig src/leap/bitmask/core/
+ mv src/bitmask-cli.orig src/leap/bitmask/cli/
# build and install sphinx docs
#