From cc85d4419e36c52c52843b0bfe11583ef8209ab2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Wed, 3 Jan 2018 20:48:26 +0100 Subject: Copy appdata file from usr/share/appdata to usr/share/metainfo --- debian/rules | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'debian/rules') 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 -- cgit v1.2.3