File: rules

package info (click to toggle)
lua-penlight 1.3.2-2.1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 980 kB
  • sloc: makefile: 12
file content (18 lines) | stat: -rwxr-xr-x 328 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/make -f

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

DATE=$(shell dpkg-parsechangelog -S date)

override_dh_auto_configure:
	chmod a-x lua/pl/dir.lua
	cd doc; ldoc --date "$(DATE)" .
	dh_auto_configure

override_dh_compress:
	dh_compress -X.html -X.lua

override_dh_auto_clean:
	rm -rf docs/api
	chmod a+x lua/pl/dir.lua