File: rules

package info (click to toggle)
docbook-to-man 1%3A2.0.0-45
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye
  • size: 1,644 kB
  • sloc: ansic: 5,838; makefile: 155; sh: 28
file content (20 lines) | stat: -rwxr-xr-x 420 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
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export DEB_CFLAGS_MAINT_APPEND= -Wall -fcommon
export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed

%:
	dh $@

override_dh_auto_build:
	dh_auto_build -- \
		CFLAGS="$(CFLAGS) $(CPPFLAGS)" \
		LDFLAGS="$(LDFLAGS)" \
		ROOT=/usr

override_dh_auto_install:
	$(MAKE) install ROOT=$(CURDIR)/debian/docbook-to-man/usr

override_dh_auto_clean:
	$(MAKE) clobber