aboutsummaryrefslogtreecommitdiff
path: root/games/freedink-data/files/patch-Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'games/freedink-data/files/patch-Makefile')
-rw-r--r--games/freedink-data/files/patch-Makefile25
1 files changed, 25 insertions, 0 deletions
diff --git a/games/freedink-data/files/patch-Makefile b/games/freedink-data/files/patch-Makefile
new file mode 100644
index 000000000000..9da970a07581
--- /dev/null
+++ b/games/freedink-data/files/patch-Makefile
@@ -0,0 +1,25 @@
+--- Makefile.orig 2008-09-20 11:55:43.000000000 -0700
++++ Makefile 2008-09-28 14:05:25.000000000 -0700
+@@ -13,17 +13,17 @@
+
+ # Clean-up:
+ # Git files:
+- find $(DESTDIR)$(DATADIR) -name ".gitignore" -print0 | xargs -0r rm
++ find $(DESTDIR)$(DATADIR)/dink/dink -name ".gitignore" -print0 | xargs -0r rm
+ # Backup files:
+- find $(DESTDIR)$(DATADIR) -name "*~" -print0 | xargs -0r rm
++ find $(DESTDIR)$(DATADIR)/dink/dink -name "*~" -print0 | xargs -0r rm
+ # Savegames:
+- find $(DESTDIR)$(DATADIR) -name "save*.dat" -print0 | xargs -0r rm
++ find $(DESTDIR)$(DATADIR)/dink/dink -name "save*.dat" -print0 | xargs -0r rm
+ # Cheat^wDebugging tool
+ rm -f $(DESTDIR)$(DATADIR)/dink/dink/Story/key-67.c
+
+ # Tidy permissions
+- find $(DESTDIR)$(DATADIR) -type d -print0 | xargs -0r chmod 755
+- find $(DESTDIR)$(DATADIR) -type f -print0 | xargs -0r chmod 644
++ find $(DESTDIR)$(DATADIR)/dink/dink -type d -print0 | xargs -0r chmod 755
++ find $(DESTDIR)$(DATADIR)/dink/dink -type f -print0 | xargs -0r chmod 644
+
+ # Do this from a fresh Git checkout to avoid packaging temporary files
+ release: