relational/debian/rules
Salvo 'LtWorf' Tomaselli c3edd0190a Add make step in debian/rules
Fix the creation of the debian package to perform the
extra step.
2015-09-11 12:40:17 +02:00

24 lines
508 B
Makefile
Executable File

#!/usr/bin/make -f
SHELL=sh -e
%:
make
./driver.py
dh $@ --with python3
clean:
rm -rf build *.egg-info
dh $@
override_dh_auto_build:
override_dh_auto_install:
for pkg in relational-cli python3-relational relational; do \
python3 setup/$${pkg}.setup.py install --root=$(CURDIR)/debian/$${pkg}; \
rm -rf build; \
done
override_dh_install:
install -D relational_gui.py debian/relational/usr/bin/relational
install -D relational_gui.py debian/relational-cli/usr/bin/relational-cli
dh_install