File: rules

package info (click to toggle)
docbook-to-man 1%3A2.0.0-35
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 1,516 kB
  • ctags: 941
  • sloc: ansic: 5,838; makefile: 158; sh: 28
file content (28 lines) | stat: -rwxr-xr-x 818 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
26
27
28
#!/usr/bin/make -f

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

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

override_dh_auto_clean:
	$(MAKE) clobber

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

#	# Installing manpages
	install -D -m 0644 Doc/docbook-to-man.1 debian/docbook-to-man/usr/share/man/man1/docbook-to-man.1
	install -D -m 0644 Doc/instant.1 debian/docbook-to-man/usr/share/man/man1/instant.1
	install -D -m 0644 Doc/transpec.1 debian/docbook-to-man/usr/share/man/man5/transpec.5
#	install -D -m 0644 Instant/tptregexp/regexp.3 debian/docbook-to-man/usr/share/man/man3/regexp.3

%:
	dh $@

# End of file