File: rules

package info (click to toggle)
tiled-qt 0.10.1-1
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 8,356 kB
  • ctags: 6,894
  • sloc: cpp: 50,440; java: 3,301; python: 1,379; ansic: 556; xml: 356; ruby: 41; makefile: 22; sh: 7
file content (35 lines) | stat: -rwxr-xr-x 888 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
#!/usr/bin/make -f
# -*- makefile -*-

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
export DEB_BUILD_HARDENING=1

DB2MAN = /usr/share/sgml/docbook/stylesheet/xsl/nwalsh/manpages/docbook.xsl
XP     = xsltproc -''-nonet -''-param man.charmap.use.subset "0"

%:
	dh  $@

override_dh_auto_configure:
	dh_auto_configure
	dh_auto_configure -Dsrc/libtiled -- LIBDIR=/usr/lib/tiled

override_dh_auto_build:
	pngtopnm src/tiled/images/32x32/tiled.png > tiled-icon-32.ppm
	pngtopnm -alpha src/tiled/images/32x32/tiled.png > tiled-icon-32_alpha.pgm
	ppmtoxpm -name=tiled-icon-32 tiled-icon-32.ppm \
	    -alphamask=tiled-icon-32_alpha.pgm > tiled-icon-32.xpm
	dh_auto_build

tiled.1: debian/tiled.xml
	$(XP) $(DB2MAN) $<

tmxviewer.1: debian/tmxviewer.xml
	$(XP) $(DB2MAN) $<

override_dh_makeshlibs:
	dh_makeshlibs -Xlibtiled

override_dh_strip:
	dh_strip --dbg-package=tiled-dbg