File: rules

package info (click to toggle)
luacheck 0.17.1-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 968 kB
  • ctags: 731
  • sloc: python: 35; makefile: 18
file content (23 lines) | stat: -rwxr-xr-x 658 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
22
23
#!/usr/bin/make -f

%:
	dh $@ --buildsystem=lua --with lua,sphinxdoc

override_dh_auto_clean:
	rm -rf docsrc/_build
	dh_auto_clean

override_dh_auto_build:
	dh_auto_build
	PYTHONPATH=. http_proxy='127.0.0.1:9' sphinx-build -N -btext docsrc/ \
		docsrc/_build/text # text generator
	PYTHONPATH=. http_proxy='127.0.0.1:9' sphinx-build -N -bman docsrc/ \
		docsrc/_build/man # Manpage generator

override_dh_auto_install:
	dh_installdocs docsrc/_build/text/*.txt
	dh_installman docsrc/_build/man/luacheck.1
	dh_auto_install
	dh_installdirs usr/bin
	dh_install bin/luacheck.lua usr/bin
	mv debian/lua-check/usr/bin/luacheck.lua debian/lua-check/usr/bin/luacheck