File: rules

package info (click to toggle)
geomview 1.9.5-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 23,012 kB
  • sloc: ansic: 93,697; sh: 12,051; cpp: 1,215; makefile: 1,075; objc: 263; perl: 153; yacc: 152; tcl: 76; lex: 74
file content (26 lines) | stat: -rwxr-xr-x 599 bytes parent folder | download | duplicates (2)
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
#! /usr/bin/make -f

CFLAGS += -fno-strict-aliasing
CXXFLAGS += -fno-strict-aliasing

DEB_MAKE_INVOKE += moduledir=/usr/lib/geomview

export DEB_BUILD_MAINT_OPTIONS=hardening=+all

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- --with-htmlbrowser=sensible-browser --with-pdfviewer=evince

override_dh_auto_build:
	$(MAKE) -C doc geomview.ps
	dh_auto_build

override_dh_install:
	rm -f debian/tmp/usr/share/info/dir
	sed -i "s/^dependency_libs=.*/dependency_libs=''/" debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/libgeomview.la
	dh_install

override_dh_compress:
	dh_compress --exclude=.pdf