File: Makefile.am

package info (click to toggle)
dopewars 1.5.12-19
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 7,028 kB
  • sloc: ansic: 31,614; sh: 8,577; makefile: 470; yacc: 318
file content (28 lines) | stat: -rw-r--r-- 1,300 bytes parent folder | download | duplicates (8)
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
SUBDIRS        = intl src doc po sounds
DESKTOPDIR     = ${DESTDIR}${datadir}/gnome/apps/Games
DESKTOP        = dopewars.desktop
SCOREDIR       = ${DESTDIR}${localstatedir}
SCORE          = ${SCOREDIR}/dopewars.sco
EXTRA_DIST     = ABOUT-NLS LICENCE dopewars.desktop dopewars.spec.in depcomp \
                 runindent.sh win32/Makefile win32/README win32/contid.h \
                 win32/dialogs.rc win32/filelist win32/guifunc.c \
                 win32/guifunc.h win32/makeinstall.c win32/setup.c \
                 win32/setup.ico win32/setup.rc win32/uninstall.c \
                 win32/uninstall.rc win32/util.c win32/util.h \
                 win32/zlib/Makefile.nocygwin win32/zlib/README.zlib \
                 win32/setup.manifest win32/uninstall.manifest \
                 win32/bzlib/Makefile.nocygwin win32/bzlib/README.bzlib
CLEANFILES     = dopewars.sco dopewars-log.txt dopewars-config.txt
DISTCLEANFILES = dopewars.spec

install-data-local:
	${mkinstalldirs} ${SCOREDIR}
	touch ${SCORE}
	@chgrp games ${SCORE} || chgrp wheel ${SCORE} || \
	  echo "Unable to change group ownership of the high score file"
	chmod 0660 ${SCORE}
	${mkinstalldirs} ${DESKTOPDIR}
	${INSTALL} -m 0644 ${srcdir}/${DESKTOP} ${DESKTOPDIR}

uninstall-local:
	/bin/rm -f ${SCORE} ${DESKTOPDIR}/${DESKTOP}