Debian Codegraph @

debian/rules

raw
1 #!/usr/bin/make -f
2
3 %:
4 dh $@ --buildsystem=lua --with lua
5
6 override_dh_auto_install:
7 dh_auto_install
8 mkdir -p debian/tmp/usr/bin
9 cp ldoc.lua debian/tmp/usr/bin/ldoc
10 chmod a+x debian/tmp/usr/bin/ldoc
11 lua5.1 ./ldoc.lua .
12 mv public/ html
13
14 override_dh_installman:
15 txt2man -d "`dpkg-parsechangelog -S date`"\
16 -v "" -r "ldoc" -t "ldoc 1" debian/ldoc.1.txt > debian/ldoc.1
17 dh_installman
18
19 override_dh_auto_clean:
20 rm -rf tests/doc tests/*/doc html debian/ldoc.1
21 dh_auto_clean