File: rules

package info (click to toggle)
xsystem35 1.7.3-pre5-7
  • links: PTS
  • area: main
  • in suites: buster
  • size: 7,332 kB
  • sloc: ansic: 51,002; sh: 12,048; asm: 863; makefile: 410; xml: 281; perl: 142
file content (36 lines) | stat: -rwxr-xr-x 917 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
#!/usr/bin/make -f
# -*- makefile -*-

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

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

%:
	dh $@ --with autoreconf

override_dh_auto_configure:
	dh_auto_configure -- --bindir=/usr/games \
		--libdir=/usr/lib/games/xsystem35 \
		--enable-audio=default,alsa,oss \
		--enable-cdrom=default,linux,mp3 \
		--enable-midi=extp,raw,seq \
		--enable-pkg-config \
		--enable-debug \
		--with-ft-exec-prefix=$(CURDIR)/debian \
		LDFLAGS="$(LDFLAGS) -lX11 -lltdl"

override_dh_auto_build: xsystem35.6
	dh_auto_build
	chrpath -d $(CURDIR)/src/xsystem35

override_dh_auto_install:
	dh_auto_install
	find $(CURDIR)/debian/xsystem35/usr/lib -name "*.la" -exec rm {} \;

override_dh_installdocs:
	dh_installdocs -XChangeLog

xsystem35.6: debian/xsystem35.xml
	$(XP) $(DB2MAN) $<