File: rules

package info (click to toggle)
wormux 0.7.4-3
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 35,492 kB
  • ctags: 2,984
  • sloc: cpp: 19,380; xml: 3,555; sh: 3,358; makefile: 401
file content (16 lines) | stat: -rwxr-xr-x 721 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/make -f
# -*- makefile -*-

include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/autotools.mk
include /usr/share/cdbs/1/rules/simple-patchsys.mk

FONT_PATH = $(shell fc-match --verbose 'DejaVu Sans' | grep 'file:' | sed -e 's/.*file: "\(.*\)"(s)/\1/')
DEB_CONFIGURE_EXTRA_FLAGS += --bindir=\$${prefix}/games --with-datadir-name=\$${prefix}/share/games/wormux --with-localedir-name=\$${prefix}/share/locale --with-font-path=$(FONT_PATH)
DEB_DH_INSTALL_SOURCEDIR = debian/tmp

build/wormux::
	mkdir -p debian/tmp/usr/share/pixmaps
	cp debian/wormux_*.xpm debian/tmp/usr/share/pixmaps
	mkdir -p debian/tmp/usr/share/applications
	cp debian/wormux.desktop debian/tmp/usr/share/applications