From: | "W. Trevor King" <wking@×××××××.us> | ||
---|---|---|---|
To: | Catalyst <gentoo-catalyst@l.g.o> | ||
Subject: | [gentoo-catalyst] Re: [PATCH] Makefile: Use asciidoc and Pandoc to generate MediaWiki doc versions | ||
Date: | Thu, 30 Jan 2014 02:52:28 | ||
Message-Id: | 20140130025224.GH14197@odin.tremily.us | ||
In Reply to: | [gentoo-catalyst] [PATCH] Makefile: Use asciidoc and Pandoc to generate MediaWiki doc versions by wking@tremily.us |
1 | On Wed, Jan 29, 2014 at 04:56:57PM -0800, wking@nott wrote: |
2 | > +wiki/%.mw: wiki/%.html |
3 | > + pandoc -f html -t mediawiki -o "$@" "$<" |
4 | |
5 | To avoid accidental changes using the wiki interface, maybe we should |
6 | have: |
7 | |
8 | wiki/%.mw: wiki/header wiki/%.mw-raw |
9 | cat $^ > "$@" |
10 | |
11 | wiki/%.mw: wiki/%.html |
12 | pandoc -f html -t mediawiki -o "$@" "$<" |
13 | |
14 | with a new wiki/header file containing something like: |
15 | |
16 | This file is autogenerated from |
17 | http://git.overlays.gentoo.org/gitweb/?p=proj/catalyst.git. |
18 | Please send changes to gentoo-catalyst@ instead of editing this file |
19 | directly. |
20 | |
21 | Thoughs? |
22 | |
23 | This series probably needs a 'wiki' entry in .gitignore too. |
24 | |
25 | Cheers, |
26 | Trevor |
27 | |
28 | -- |
29 | This email may be signed or encrypted with GnuPG (http://www.gnupg.org). |
30 | For more information, see http://en.wikipedia.org/wiki/Pretty_Good_Privacy |
File name | MIME type |
---|---|
signature.asc | application/pgp-signature |