Codebase list lua-ldoc / debian/1.4.3-3
build of lua-ldoc and packages using it made reproducible Enrico Tassi 8 years ago
4 changed file(s) with 43 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
0 lua-ldoc (1.4.3-3) unstable; urgency=medium
1
2 * Pass -d to txt2man to make the build reproducible
3 * Patch: add support to date overriding via --date to help
4 reproducible builds
5
6 -- Enrico Tassi <gareuselesinge@debian.org> Tue, 18 Aug 2015 11:06:49 +0200
7
08 lua-ldoc (1.4.3-2) unstable; urgency=medium
19
210 * Patch: close missing bracket in template file
0 From: Enrico Tassi <gareuselesinge@debian.org>
1 Date: Tue, 18 Aug 2015 11:18:01 +0200
2 Subject: make system date override-able via --date
3
4 ---
5 ldoc.lua | 5 +++++
6 1 file changed, 5 insertions(+)
7
8 diff --git a/ldoc.lua b/ldoc.lua
9 index 3454bcf..3af3b2b 100644
10 --- a/ldoc.lua
11 +++ b/ldoc.lua
12 @@ -61,6 +61,7 @@ ldoc, a documentation generator for Lua, vs 1.4.3
13 -M,--merge allow module merging
14 -S,--simple no return or params, no summary
15 -O,--one one-column output layout
16 + --date (default system) use this date in generated doc
17 --dump debug output dump
18 --filter (default none) filter output as Lua data (e.g pl.pretty.dump)
19 --tags (default none) show all references to given tags, comma-separated
20 @@ -781,7 +782,11 @@ ldoc.modules = module_list
21 ldoc.title = ldoc.title or args.title
22 ldoc.project = ldoc.project or args.project
23 ldoc.package = args.package:match '%a+' and args.package or nil
24 +if args.date == 'system' then
25 ldoc.updatetime = os.date("%Y-%m-%d %H:%M:%S")
26 +else
27 +ldoc.updatetime = args.date
28 +end
29
30 local html = require 'ldoc.html'
31
00 0001-Fix-the-interpreter-to-lua5.2-since-lua-may-be-lua50.patch
11 0002-Remove-non-existing-one-1.md-from-tests-config.ld.patch
22 0003-Fix-broken-template-missing-closing-bracket.patch
3 0004-make-system-date-override-able-via-date.patch
1111 mv out/ html
1212
1313 override_dh_installman:
14 txt2man -v "" -r "ldoc" -t "ldoc 1" debian/ldoc.1.txt > debian/ldoc.1
14 txt2man -d "`dpkg-parsechangelog -S date`"\
15 -v "" -r "ldoc" -t "ldoc 1" debian/ldoc.1.txt > debian/ldoc.1
1516 dh_installman
1617
1718 override_dh_auto_clean: