File: rules

package info (click to toggle)
uptimed 1%3A0.4.3-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 668 kB
  • sloc: ansic: 2,656; sh: 208; perl: 55; makefile: 48
file content (25 lines) | stat: -rwxr-xr-x 532 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
25
#!/usr/bin/make -f

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

export DEB_BUILD_MAINT_OPTIONS = hardening=+all
U=debian/uptimed

%:
	dh $@

override_dh_auto_install:
	dh_auto_install

	cp $(U)/etc/uptimed.conf-dist $(U)/etc/uptimed.conf
	cp libuptimed/urec.h $(U)/usr/include/uptimed.h

	dh_auto_install -Dlibuptimed

	# remove libtool .la files
	find $(U) -name '*.la' -delete

override_dh_auto_build:
	dh_auto_build
	cd debian && LC_ALL=C onsgmls uptimed.conf.sgml | sgmlspl sgmlspl-specs/docbook2man-spec.pl