File: rules

package info (click to toggle)
moltemplate 2.22.4-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 26,084 kB
  • sloc: python: 25,770; sh: 3,746; tcl: 170; makefile: 14; awk: 4
file content (23 lines) | stat: -rwxr-xr-x 587 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/usr/bin/make -f

# See debhelper(7) (uncomment to enable).
# Output every command that modifies files on the build system.
#export DH_VERBOSE = 1

export PYBUILD_NAME=moltemplate

%:
	dh $@ --buildsystem=pybuild

execute_after_dh_auto_build-indep:
	cp -r doc/moltemplate_manual_src .pybuild
	cd .pybuild/moltemplate_manual_src; \
	pdflatex moltemplate_manual; \
	pdflatex moltemplate_manual; \
	bibtex moltemplate_manual; \
	bibtex moltemplate_manual; \
	pdflatex moltemplate_manual; \
	pdflatex moltemplate_manual

override_dh_compress:
	dh_compress --exclude=moltemplate_manual.pdf