| 1 |
#!/usr/bin/make -f |
| 2 |
#export DH_VERBOSE = 1 |
| 3 |
|
| 4 |
DEBDIR=$(CURDIR)/debian/mutt-wizard |
| 5 |
|
| 6 |
%: |
| 7 |
dh $@ |
| 8 |
|
| 9 |
override_dh_auto_build: |
| 10 |
|
| 11 |
override_dh_auto_install: |
| 12 |
dh_auto_install -- PREFIX=/usr |
| 13 |
mv $(DEBDIR)/usr/lib/mutt-wizard/openfile $(DEBDIR)/usr/bin |
| 14 |
rm -rf $(DEBDIR)/usr/lib |
| 15 |
|
| 16 |
# To fix Bug-Debian: https://bugs.debian.org/1029021 |
| 17 |
execute_after_dh_install: |
| 18 |
mv $(DEBDIR)/usr/bin/mailsync $(DEBDIR)/usr/bin/mw-mailsync |
| 19 |
mv $(DEBDIR)/usr/share/man/man1/mailsync.1 $(DEBDIR)/usr/share/man/man1/mw-mailsync.1 |