2010-08-05 10:44:52 +07:00
|
|
|
#!/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 \
|
2011-03-22 11:17:41 +07:00
|
|
|
python setup/$${pkg}.setup.py install --root=$(CURDIR)/debian/$${pkg}; \
|
2010-08-05 10:44:52 +07:00
|
|
|
rm -rf build; \
|
|
|
|
done
|
|
|
|
|
|
|
|
override_dh_install:
|
|
|
|
install -D relational_gui.py debian/relational/usr/bin/relational
|
2011-03-04 06:18:22 +07:00
|
|
|
install -D relational_gui.py debian/relational-cli/usr/bin/relational-cli
|
2010-08-05 10:44:52 +07:00
|
|
|
dh_install
|