File: rules

package info (click to toggle)
udunits 2.2.28-5
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 3,744 kB
  • sloc: sh: 11,655; ansic: 11,164; xml: 2,619; yacc: 492; lex: 337; makefile: 218
file content (25 lines) | stat: -rwxr-xr-x 529 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
#!/usr/bin/make -f


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

VERFILE:=$(shell pwd)/debian/udunits2.ver

# magic debhelper rule
%:
	dh $@  

override_dh_auto_configure:
	LDFLAGS=" -Wl,--as-needed -Wl,--version-script,${VERFILE} $(LDFLAGS)" \
			dh_auto_configure -- --datarootdir=/usr/share/xml


override_dh_auto_build:
	dh_auto_build
	$(MAKE) pdf

override_dh_auto_install:
	dh_auto_install
	dh_installchangelogs CHANGE_LOG
	rm -f debian/tmp/usr/lib/*/*.la debian/tmp/usr/share/xml/doc/udunits/CHANGE_LOG