File: rules

package info (click to toggle)
node-nouislider 15.8.1%2Bds-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,936 kB
  • sloc: javascript: 5,234; php: 474; sh: 32; python: 28; makefile: 11
file content (18 lines) | stat: -rwxr-xr-x 371 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/make -f

WITH_LINKTREE := $(if $(filter nodoc, $(DEB_BUILD_OPTIONS)),,--with linktree)

%:
	dh $@ $(WITH_LINKTREE)

ifeq (,$(filter nodoc, $(DEB_BUILD_OPTIONS)))
execute_after_dh_auto_build:
	sh generate-site.sh
endif

# don't install another copy of the library for docs
override_dh_installdocs:
	dh_installdocs -Xdist

execute_after_dh_clean:
	rm -rf static