File: rules

package info (click to toggle)
cups-pdf 2.6.1-15
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 412 kB
  • ctags: 91
  • sloc: ansic: 872; perl: 274; sh: 203; makefile: 13; python: 11
file content (28 lines) | stat: -rwxr-xr-x 837 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
#!/usr/bin/make -f
# debhelper-7 [debian/rules] for cups-pdf
#
# COPYRIGHT © 2003-2014 Martin-Éric Racine <martin-eric.racine@iki.fi>
#
# LICENSE
# GPLv2+: GNU GPL version 2 or later <http://gnu.org/licenses/gpl.html>
#
export CPPFLAGS := $(shell dpkg-buildflags --get CPPFLAGS)
export CFLAGS   := $(shell dpkg-buildflags --get CFLAGS)
export LDFLAGS  := $(shell dpkg-buildflags --get LDFLAGS)
# Append flags for Long File Support
# LFS_CPPFLAGS is non-existent
export DEB_CFLAGS_MAINT_APPEND  +=$(shell getconf LFS_CFLAGS)
export DEB_LDFLAGS_MAINT_APPEND +=$(shell getconf LFS_LDFLAGS)

override_dh_auto_build-arch:
	$(CC) -o src/cups-pdf src/cups-pdf.c $(CPPFLAGS) $(CFLAGS) $(LDFLAGS)

override_dh_auto_clean:
	rm -f src/cups-pdf src/*.o

override_dh_installdocs:
	dh_installdocs --link-doc=printer-driver-cups-pdf

%:
	dh $@ 
#EOF