File: rules

package info (click to toggle)
simplejson 3.20.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 596 kB
  • sloc: python: 3,413; ansic: 2,950; makefile: 10; sh: 8
file content (15 lines) | stat: -rwxr-xr-x 557 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/make -f

export PYBUILD_DESTDIR_python3=debian/python3-simplejson/

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

%:
	dh $@ --with sphinxdoc --buildsystem=pybuild

execute_after_dh_auto_install-indep:
	PYTHONPATH=$(shell pybuild --print build_dir --interpreter python3) \
	python3 -m sphinx $(SPHINXOPTS) -N -q -E -b html $(CURDIR) \
	 $(CURDIR)/debian/python-simplejson-doc/usr/share/doc/python-simplejson-doc/