diff options
| author | Michael Forney <mforney@mforney.org> | 2018-02-15 10:33:02 -0800 |
|---|---|---|
| committer | Michael Forney <mforney@mforney.org> | 2018-02-15 10:33:02 -0800 |
| commit | 83d57181d1565d9c12b7d2467be9008d2b6edeab (patch) | |
| tree | 96c65d497632781afceb93cbd0817ae4a62297d6 /pkg/discount/gen.lua | |
| parent | 9490fe2c87b33565b854a84ff5238c0b0affa223 (diff) | |
Remove discount package
This will most likely be replaced with cmark.
Diffstat (limited to 'pkg/discount/gen.lua')
| -rw-r--r-- | pkg/discount/gen.lua | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/pkg/discount/gen.lua b/pkg/discount/gen.lua deleted file mode 100644 index 509571c5..00000000 --- a/pkg/discount/gen.lua +++ /dev/null @@ -1,40 +0,0 @@ -cflags{ - '-Wno-return-type', '-Wno-implicit-int', - '-I $dir', - '-I $srcdir', - '-I $outdir', -} - -sub('tools.ninja', function() - toolchain 'host' - cflags{'-Wno-implicit-int', '-I $outdir'} - exe('mktags', {'mktags.c'}) -end) - -rule('mktags', '$outdir/mktags >$out.tmp && mv $out.tmp $out') -build('mktags', '$outdir/blocktags', {'|', '$outdir/mktags'}) - -build('awk', '$outdir/version.c', '$srcdir/VERSION', { - expr=[['{printf "char markdown_version[] = \"%s\";\n", $$0}']], -}) -build('sed', '$outdir/mkdio.h', '$srcdir/mkdio.h.in', { - expr={ - '-e \'4i#include <stdint.h>\'', - '-e s,@DWORD@,uint32_t,', - }, -}) - -pkg.deps = {'$outdir/blocktags', '$outdir/mkdio.h'} - -lib('libmarkdown.a', [[ - mkdio.c markdown.c dumptree.c generate.c - resource.c docheader.c $outdir/version.c toc.c css.c - xml.c Csio.c xmlpage.c basename.c emmatch.c - github_flavoured.c setup.c tags.c html5.c flags.c -]]) - -exe('markdown', {'main.c', 'pgm_options.c', 'libmarkdown.a'}) -file('bin/markdown', '755', '$outdir/markdown') -man{'markdown.1', 'markdown.7'} - -fetch 'git' |
