summaryrefslogtreecommitdiff
path: root/debian/rules
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2018-01-03 20:48:26 +0100
committerJörg Frings-Fürst <debian@jff-webhosting.net>2018-01-03 20:48:26 +0100
commitcc85d4419e36c52c52843b0bfe11583ef8209ab2 (patch)
tree7287038fcd1f5e0bb6ebd1c14d423d6ef6cda9f8 /debian/rules
parent0eb83b77569071efdf50ff4b3d18b4868e96d036 (diff)
Copy appdata file from usr/share/appdata to usr/share/metainfo
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules7
1 files changed, 5 insertions, 2 deletions
diff --git a/debian/rules b/debian/rules
index edc8ca8..123cb55 100755
--- a/debian/rules
+++ b/debian/rules
@@ -10,8 +10,11 @@ include /usr/share/dpkg/pkg-info.mk
override_dh_auto_configure:
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
+override_dh_auto_install:
+ 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