File: Makefile.am

package info (click to toggle)
dopewars 1.5.3-4
  • links: PTS
  • area: main
  • in suites: woody
  • size: 2,576 kB
  • ctags: 2,830
  • sloc: ansic: 24,030; sh: 2,949; makefile: 360; yacc: 318
file content (17 lines) | stat: -rw-r--r-- 576 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
SUBDIRS    = intl src doc po
DISTFILES  = ABOUT-NLS
DESKTOPDIR = ${DESTDIR}${datadir}/gnome/apps/Games
DESKTOP    = dopewars.desktop
SCOREDIR   = ${DESTDIR}${datadir}
SCORE      = ${SCOREDIR}/dopewars.sco

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}
# modified for Debian GNU/Linux ... handle this in postinst
# 	src/dopewars -C ${SCORE}
	${mkinstalldirs} ${DESKTOPDIR}
	${INSTALL} -m 0644 ${DESKTOP} ${DESKTOPDIR}