File: rules

package info (click to toggle)
jansson 2.9-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 3,188 kB
  • ctags: 815
  • sloc: ansic: 7,245; sh: 4,478; makefile: 101; python: 50
file content (16 lines) | stat: -rwxr-xr-x 444 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/make -f

LAST_CHANGE = $(shell dpkg-parsechangelog -S Date)
BUILD_DATE  = $(shell LC_ALL=C date -u "+%B %d, %Y" -d "$(LAST_CHANGE)")
SPHINXOPTS := -D today=\"$(BUILD_DATE)\"

%:
	dh $@ --with=autoreconf

binary binary-indep build build-indep install install-indep:
	dh $@ --with=autoreconf,sphinxdoc

override_dh_auto_build-indep:
	$(MAKE) html SPHINXOPTS="$(SPHINXOPTS)"

override_dh_auto_test-indep override_dh_auto_install-indep: