diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2018-01-04 08:57:25 +0100 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2018-01-04 08:57:25 +0100 |
commit | 8ce494b17065c724187dd3f9faec1e419496f871 (patch) | |
tree | fa0c7fb1296f30bfd0cdc241c7556cec8d1e8ba1 /debian/rules | |
parent | 18afe3e2ebdb10bbc542d79280344d9adf923d2f (diff) | |
parent | eba0a9bd6f142cdb299cc070060723d00e81205f (diff) |
Merge branch 'feature/upstream' into develop
Diffstat (limited to 'debian/rules')
-rwxr-xr-x | debian/rules | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/debian/rules b/debian/rules index f1c848e..123cb55 100755 --- a/debian/rules +++ b/debian/rules @@ -1,16 +1,20 @@ #!/usr/bin/make -f +#export DH_VERBOSE=1 -DEBVERS := $(shell dpkg-parsechangelog | sed -n -e 's/^Version: //p') -VERSION := $(shell echo '$(DEBVERS)' | sed -e 's/^[[:digit:]]*://' -e 's/[~-].*//') + +include /usr/share/dpkg/pkg-info.mk %: - dh $@ --with python2 + dh $@ --with python3 --buildsystem=pybuild override_dh_auto_configure: - pod2man --section=1 --release=$(VERSION) --center "" doc/rapid-photo-downloader.pod > rapid-photo-downloader.1 + pod2man --section=1 --release=$(DEB_SOURCE) --center "" doc/rapid-photo-downloader.1.pod > rapid-photo-downloader.1 override_dh_auto_install: - dh_auto_install -- --install-lib=/usr/share/rapid-photo-downloader --install-scripts=/usr/share/rapid-photo-downloader + dh_auto_install + mv $(CURDIR)/debian/rapid-photo-downloader/usr/share/appdata/net.damonlynch.rapid-photo-downloader.appdata.xml \ + $(CURDIR)/debian/rapid-photo-downloader/usr/share/metainfo/ + $(RM) -d $(CURDIR)/debian/rapid-photo-downloader/usr/share/appdata/ override_dh_auto_clean: -rm rapid-photo-downloader.1 @@ -18,4 +22,4 @@ override_dh_auto_clean: dh_auto_clean override_dh_installchangelogs: - dh_installchangelogs rapid/ChangeLog + dh_installchangelogs CHANGES.rst |