File: Makefile.am

package info (click to toggle)
adonthell-data 0.3.6-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 24,860 kB
  • ctags: 456
  • sloc: python: 5,169; sh: 4,355; makefile: 415; sed: 16
file content (36 lines) | stat: -rw-r--r-- 1,123 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
34
35
36
SUBDIRS = . audio gfx m4 maps pixmaps po scripts 

pkgdatadir = $(gamedatadir)

dist_pkgdata_DATA = gamename.txt achievements.data character.data mapengine.data quest.data audio.data

desktopdir = $(datadir)/applications
dist_desktop_DATA = wastesedge.desktop

dist_man_MANS = adonthell-wastesedge.6

EXTRA_DIST = config.rpath mkinstalldirs PLAYING autogen.sh ABOUT-NLS \
	wastesedge.spec.in wastesedge.spec wastesedge.desktop.in \
	win32/COPYING win32/make_msi.sh win32/wastesedge.ico win32/icon32.bmp \
	win32/wastesedge.wxs osx/background.png osx/make_dmg.sh osx/settings.py \
	osx/adonthell.icns make_linux_appimg.sh make_osx_bundle.sh \
	make_windows_pkg.sh doc/user_guide.odt

bin_SCRIPTS = adonthell-wastesedge

CLEANFILES = $(bin_SCRIPTS)

# -- clean game directory before installing
install-exec-local:
	rm -Rf $(DESTDIR)$(gamedatadir)

adonthell-wastesedge: Makefile
	echo "#!/bin/sh" > adonthell-wastesedge
	echo "$(adonthell_binary) wastesedge" | sed 's/.*\///' >> adonthell-wastesedge
	
# -- make sure the data directory gets deleted
uninstall-local:
	rm -rf $(DESTDIR)$(gamedatadir)


ACLOCAL_AMFLAGS = -I m4