relational/debian/rules
LtWorf 4b7a9272f6 - Removed bloated debian patches
- Modified debian/rules to create both relational and relational-cli from the same python file
- Modified relational_gui to have different behavior depending on its name
- Do not try to pack examples directory for relational package
- Edited make source target


git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@274 014f5005-505e-4b48-8d0a-63407b615a7c
2011-03-04 12:18:22 +00:00

23 lines
497 B
Makefile
Executable File

#!/usr/bin/make -f
SHELL=sh -e
%:
dh $@
clean:
rm -rf build *.egg-info
dh $@
override_dh_auto_clean:
override_dh_auto_build:
override_dh_auto_install:
for pkg in relational-cli python-relational relational; do \
python debian/$${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