File: rules

package info (click to toggle)
kst 2.0.3-1.3
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 22,068 kB
  • sloc: cpp: 83,792; ansic: 12,144; sh: 501; yacc: 184; lex: 143; perl: 30; makefile: 23
file content (24 lines) | stat: -rwxr-xr-x 760 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/usr/bin/make -f

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

# collect architecture dependent symbols in the first upload
# http://lists.debian.org/debian-mentors/2011/06/msg00392.html
# export DPKG_GENSYMBOLS_CHECK_LEVEL=0

export DEB_LDFLAGS_MAINT_APPEND="-Wl,--as-needed"

%:
	dh $@ --sourcedirectory=cmake --buildsystem=cmake

override_dh_auto_configure:
	dh_auto_configure -Scmake -- -Dkst_install_prefix=/usr -Dkst_verbose=ON -Dkst_rpath=OFF

override_dh_auto_build:
	xsltproc -o docbook/kst/tutorial/ /usr/share/xml/docbook/stylesheet/docbook-xsl/html/chunk.xsl docbook/kst/tutorial/tutorial.docbook
	dh_auto_build -Scmake

override_dh_auto_clean:
	find docbook/kst/tutorial/ -name '*.html' -exec rm {} \;
	dh_auto_clean -Scmake