File: rules

package info (click to toggle)
ps2eps 1.68%2Bbinaryfree-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 320 kB
  • ctags: 30
  • sloc: perl: 760; ansic: 313; makefile: 81
file content (18 lines) | stat: -rwxr-xr-x 480 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/make -f
# -*- makefile -*-

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

SGML2MAN = xsltproc /usr/share/xml/docbook/stylesheet/nwalsh/manpages/docbook.xsl

%:
	dh $@

override_dh_auto_build:
	# The -f /dev/null is to ignore the existing Makefile in src/C, so that the
	# build flags are passed correctly
	( cd src/C ; $(MAKE) -f /dev/null bbox )
	( cd doc/src ; $(SGML2MAN) bbox.sgml && $(SGML2MAN) ps2eps.sgml )
	dh_auto_build