File: rules

package info (click to toggle)
htmldoc 1.9.20-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 7,724 kB
  • sloc: cpp: 24,916; ansic: 4,714; sh: 3,262; makefile: 264; java: 59; php: 36; python: 13; xml: 10; perl: 7
file content (21 lines) | stat: -rwxr-xr-x 530 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
#!/usr/bin/make -f

#export DH_VERBOSE=1

export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export AUTOMAKE = true
export AUTOHEADER = true

%:
	dh $@

# skip documentation in arch-only build
DO_PACKAGES = $(shell dh_listpackages)
DIRS=htmldoc $(if $(filter htmldoc-common,$(DO_PACKAGES)),doc)
INSTALLDIRS=fonts data desktop $(if $(filter htmldoc-common,$(DO_PACKAGES)),doc) htmldoc

override_dh_auto_build:
	dh_auto_build -- DIRS="$(DIRS)"

override_dh_auto_install:
	dh_auto_install -- DIRS="$(DIRS)" INSTALLDIRS="$(INSTALLDIRS)"