| 1 |
#!/usr/bin/make -f |
| 2 |
# Uncomment this to turn on verbose mode. |
| 3 |
#export DH_VERBOSE=1 |
| 4 |
|
| 5 |
%: |
| 6 |
dh $@ |
| 7 |
|
| 8 |
override_dh_auto_configure: |
| 9 |
dh_auto_configure -- \ |
| 10 |
--disable-docs \ |
| 11 |
--without-vm-dir \ |
| 12 |
--docdir='$${datarootdir}/doc/bbdb3' \ |
| 13 |
--with-lispdir='$${datadir}/emacs/site-lisp/bbdb3' |
| 14 |
|
| 15 |
override_dh_auto_build: |
| 16 |
dh_auto_build -- pkgdatadir='$${datarootdir}/bbdb3' |
| 17 |
|
| 18 |
override_dh_auto_install: |
| 19 |
dh_auto_install -- pkgdatadir='$${datarootdir}/bbdb3' |
| 20 |
|
| 21 |
execute_after_dh_auto_install: |
| 22 |
@echo "Deleting compiled elisp from installation tree, as compilation" |
| 23 |
@echo "is done at install time by the emacsen infrastructure." |
| 24 |
find debian/bbdb3 -name '*.elc' -print -delete |
| 25 |
@echo "dh_installchangelog installs this later with standard name" |
| 26 |
-rm --verbose debian/bbdb3/usr/share/doc/bbdb3/ChangeLog |
| 27 |
@echo "copy of GPLv3 is not needed due to pointer in .../copyright" |
| 28 |
-rm --verbose debian/bbdb3/usr/share/doc/bbdb3/COPYING |