File: Makefile.am

package info (click to toggle)
bomberclone 0.11.5-1sarge2
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 9,608 kB
  • ctags: 1,437
  • sloc: ansic: 13,356; sh: 3,292; makefile: 183
file content (33 lines) | stat: -rw-r--r-- 868 bytes parent folder | download
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

SUBDIRS = pixmaps

install:
	@if test ! -d player; then \
		echo ""; \
		echo ""; \
		echo "****************************************"; \
		echo "*  Please download the Data Package,   *"; \
		echo "* so you can complete the installation *"; \
		echo "*   URL: http://www.bomberclone.de     *"; \
		echo "****************************************"; \
		echo ""; \
		echo ""; \
		exit 1; \
	fi;
	@if test ! -d ${DESTDIR}; then \
		mkdir -p ${DESTDIR}; \
	fi;
	@if test ! -d ${DESTDIR}@PACKAGE_DATA_DIR@; then \
		mkdir -p ${DESTDIR}@PACKAGE_DATA_DIR@; \
	fi;
	cp -rf player ${DESTDIR}@PACKAGE_DATA_DIR@
	cp -rf maps ${DESTDIR}@PACKAGE_DATA_DIR@
	cp -rf gfx ${DESTDIR}@PACKAGE_DATA_DIR@
	cp -rf tileset ${DESTDIR}@PACKAGE_DATA_DIR@
	cp -rf music ${DESTDIR}@PACKAGE_DATA_DIR@
	

uninstall:
	rm -rf ${DESTDIR}@PACKAGE_DATA_DIR@
	
EXTRA_DIST = player maps gfx tileset music