| 1 |
#!/usr/bin/make -f |
| 2 |
# -*- mode: makefile; coding: utf-8 -*- |
| 3 |
|
| 4 |
export PYBUILD_SYSTEM=distutils |
| 5 |
export PYBUILD_NAME=ayatana-webmail |
| 6 |
|
| 7 |
%: |
| 8 |
dh $@ --buildsystem pybuild |
| 9 |
|
| 10 |
execute_after_dh_clean: |
| 11 |
rm -Rfv .pybuild/ |
| 12 |
rm -fv ayatanawebmail.egg-info/PKG-INFO |
| 13 |
rm -fv ayatanawebmail.egg-info/SOURCES.txt |
| 14 |
rm -fv ayatanawebmail.egg-info/dependency_links.txt |
| 15 |
rm -fv ayatanawebmail.egg-info/requires.txt |
| 16 |
rm -fv ayatanawebmail.egg-info/top_level.txt |
| 17 |
|
| 18 |
override_dh_auto_clean: |
| 19 |
rm -Rfv data/usr/share/locale |
| 20 |
rm -f data/etc/xdg/autostart/ayatana-webmail-autostart.desktop |
| 21 |
rm -f data/usr/share/applications/ayatana-webmail.desktop |
| 22 |
|
| 23 |
execute_after_dh_fixperms: |
| 24 |
chmod a-x debian/*/usr/share/icons/hicolor/scalable/status/ayatanawebmail-messages-new.svg |
| 25 |
chmod a-x debian/*/usr/share/icons/hicolor/scalable/status/ayatanawebmail-messages.svg |
| 26 |
chmod a-x debian/*/usr/share/glib-2.0/schemas/org.ayatana.webmail.gschema.xml |
| 27 |
chmod a-x debian/*/usr/share/icons/hicolor/scalable/apps/ayatanawebmail.svg |
| 28 |
|
| 29 |
override_dh_installchangelogs: |
| 30 |
dh_installchangelogs NEWS |
| 31 |
|
| 32 |
get-orig-source: |
| 33 |
uscan --noconf --force-download --rename --download-current-version --repack --destdir=.. |