File: makefile_modifications.diff

package info (click to toggle)
funguloids 1.06-16
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 21,348 kB
  • sloc: cpp: 5,081; ansic: 3,285; python: 207; makefile: 154
file content (41 lines) | stat: -rw-r--r-- 1,503 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
Description: Some modifications to get some of the data files installed in the correct
 places. This is mainly for the purpose of building Debian packages.
Forwarded: http://funguloids.sourceforge.net/files/funguloids-patches.tar.bz2
--- a/bin/Makefile.am
+++ b/bin/Makefile.am
@@ -4,7 +4,7 @@
 dist_pixmapinstall_DATA = funguloids.png
 dist_gameinstall_DATA = gamesettings.cfg
 dist_docinstall_DATA = readme.html
-gameinstall_DATA = plugins.cfg resources.cfg
+gameinstall_DATA = plugins.cfg resources.cfg bootstrap.mpk funguloids.mpk
 
 plugins.cfg: plugins.cfg.in
 	cat plugins.cfg.in | sed 's,%%ogreplugindir%%,@ogreplugindir@/,' > plugins.cfg
@@ -22,9 +22,7 @@
 		if test ! -e "@highscoredir@/hiscore.lst"; then cp hiscore.lst.in "@highscoredir@/hiscore.lst"; fi; \
 		chgrp -R @highscoregroup@ "@highscoredir@"; \
 		chmod -R g+w "@highscoredir@"; \
-	fi; \
-	if test -r bootstrap.mpk; then cp bootstrap.mpk "@gameinstalldir@"; fi; \
-	if test -r funguloids.mpk; then cp funguloids.mpk "@gameinstalldir@"; fi
+	fi
 
 uninstall-hook:
 	rm -rf "@docinstalldir@"
--- a/bin/music/Makefile.am
+++ b/bin/music/Makefile.am
@@ -1,12 +1,10 @@
-musicinstall_DATA = playlist.lua
+musicinstall_DATA = playlist.lua MarylandInMay.ogg
 
 EXTRA_DIST = playlist.lua.in
 
 playlist.lua: playlist.lua.in
 	cat playlist.lua.in | sed 's,%%musicinstalldir%%,@musicinstalldir@,' > playlist.lua
 
-install-data-hook:
-	if test -r MarylandInMay.ogg; then cp MarylandInMay.ogg "@musicinstalldir@"; fi;
 
 
 distclean: clean