aboutsummaryrefslogtreecommitdiff
path: root/ports.mk
diff options
context:
space:
mode:
authorMatthias Mailänder2016-07-29 22:04:25 +0200
committerMatthias Mailänder2016-07-29 22:05:20 +0200
commit1912c55682a09e35f239fe5c06dd283eabaedde6 (patch)
treeb18d4ad053ae8aab34659681f446217004861c54 /ports.mk
parent67c101a4a2494813f25b86a8843eef15b7f34b20 (diff)
downloadscummvm-rg350-1912c55682a09e35f239fe5c06dd283eabaedde6.tar.gz
scummvm-rg350-1912c55682a09e35f239fe5c06dd283eabaedde6.tar.bz2
scummvm-rg350-1912c55682a09e35f239fe5c06dd283eabaedde6.zip
BUILD: Install the appdata.xml file.
Diffstat (limited to 'ports.mk')
-rw-r--r--ports.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/ports.mk b/ports.mk
index c4d1fd3b49..b2a34cb9f0 100644
--- a/ports.mk
+++ b/ports.mk
@@ -20,6 +20,8 @@ install:
$(INSTALL) -c -m 644 $(DIST_FILES_THEMES) $(DIST_FILES_ENGINEDATA) "$(DESTDIR)$(datadir)/"
$(INSTALL) -d "$(DESTDIR)$(datarootdir)/applications"
$(INSTALL) -c -m 644 "$(srcdir)/dists/scummvm.desktop" "$(DESTDIR)$(datarootdir)/applications/scummvm.desktop"
+ $(INSTALL) -d "$(DESTDIR)$(datarootdir)/appdata"
+ $(INSTALL) -c -m 644 "$(srcdir)/dists/scummvm.appdata.xml" "$(DESTDIR)$(datarootdir)/appdata/scummvm.appdata.xml"
ifdef DYNAMIC_MODULES
$(INSTALL) -d "$(DESTDIR)$(libdir)/scummvm/"
$(INSTALL) -c -m 644 $(PLUGINS) "$(DESTDIR)$(libdir)/scummvm/"
@@ -40,6 +42,8 @@ install-strip:
$(INSTALL) -c -m 644 $(DIST_FILES_THEMES) $(DIST_FILES_ENGINEDATA) "$(DESTDIR)$(datadir)/"
$(INSTALL) -d "$(DESTDIR)$(datarootdir)/applications"
$(INSTALL) -c -m 644 "$(srcdir)/dists/scummvm.desktop" "$(DESTDIR)$(datarootdir)/applications/scummvm.desktop"
+ $(INSTALL) -d "$(DESTDIR)$(datarootdir)/appdata"
+ $(INSTALL) -c -m 644 "$(srcdir)/dists/scummvm.appdata.xml" "$(DESTDIR)$(datarootdir)/appdata/scummvm.appdata.xml"
ifdef DYNAMIC_MODULES
$(INSTALL) -d "$(DESTDIR)$(libdir)/scummvm/"
$(INSTALL) -c -s -m 644 $(PLUGINS) "$(DESTDIR)$(libdir)/scummvm/"
@@ -53,6 +57,7 @@ uninstall:
rm -rf "$(DESTDIR)$(docdir)"
rm -rf "$(DESTDIR)$(datadir)"
rm -f "$(DESTDIR)$(datarootdir)/applications/scummvm.desktop"
+ rm -f "$(DESTDIR)$(datarootdir)/appdata/scummvm.appdata.xml"
ifdef DYNAMIC_MODULES
rm -rf "$(DESTDIR)$(libdir)/scummvm/"
endif