| 1 |
#!/usr/bin/make -f |
| 2 |
# debian/rules for fastDNAml using dh |
| 3 |
# Andreas Tille <[email protected]>, GPL |
| 4 |
|
| 5 |
export DEB_BUILD_MAINT_OPTIONS=hardening=+all |
| 6 |
|
| 7 |
%: |
| 8 |
dh $@ |
| 9 |
|
| 10 |
# dh_clean expects a Makefile which was just removed by redoing the patches ... |
| 11 |
# This hack circumvents the problem |
| 12 |
override_dh_clean: |
| 13 |
dh_clean |
| 14 |
rm -fr source/fastDNAml |
| 15 |
|
| 16 |
override_dh_auto_install: |
| 17 |
# do nothing |
| 18 |
|
| 19 |
override_dh_install: |
| 20 |
dh_install |
| 21 |
cp -a docs/fastDNAml_doc_1.2.txt `pwd`/debian/`dh_listpackages`/usr/share/`dh_listpackages`/fastdnaml_help |
| 22 |
# the scripts have to be executable thus mentioning these in debian/install is not enough |
| 23 |
cp -a scripts/* `pwd`/debian/`dh_listpackages`/usr/lib/`dh_listpackages`/bin |
| 24 |
chmod 755 `pwd`/debian/`dh_listpackages`/usr/lib/`dh_listpackages`/bin/* |