View | Details | Raw Unified | Return to bug 256977 | Differences between
and this patch

Collapse All | Expand All

(-)i/games/cataclysm-dda/files/patch-Makefile (+18 lines)
Added Link Here
1
--- Makefile.orig	2021-07-03 05:00:06 UTC
2
+++ Makefile
3
@@ -1017,9 +1017,12 @@ install: version $(TARGET)
4
 	cp -R --no-preserve=ownership data/help $(DATA_PREFIX)
5
 ifeq ($(TILES), 1)
6
 	cp -R --no-preserve=ownership gfx $(DATA_PREFIX)
7
-	install -Dm755 -t $(SHARE_DIR)/applications/ data/xdg/org.cataclysmdda.CataclysmDDA.desktop
8
-	install -Dm644 -t $(SHARE_DIR)/metainfo/ data/xdg/org.cataclysmdda.CataclysmDDA.appdata.xml
9
-	install -Dm644 -t $(SHARE_DIR)/icons/hicolor/scalable/apps/ data/xdg/org.cataclysmdda.CataclysmDDA.svg
10
+	mkdir -p $(SHARE_DIR)/applications/
11
+	install -m 755 data/xdg/org.cataclysmdda.CataclysmDDA.desktop $(SHARE_DIR)/applications/
12
+	mkdir -p $(SHARE_DIR)/metainfo/
13
+	install -m 644 data/xdg/org.cataclysmdda.CataclysmDDA.appdata.xml $(SHARE_DIR)/metainfo/
14
+	mkdir -p $(SHARE_DIR)/icons/hicolor/scalable/apps/
15
+	install -m 644 data/xdg/org.cataclysmdda.CataclysmDDA.svg $(SHARE_DIR)/icons/hicolor/scalable/apps/
16
 endif
17
 ifeq ($(SOUND), 1)
18
 	cp -R --no-preserve=ownership data/sound $(DATA_PREFIX)

Return to bug 256977