On Wed, Jan 29, 2014 at 04:56:57PM -0800, wking@nott wrote:
> +wiki/%.mw: wiki/%.html
> +     pandoc -f html -t mediawiki -o "$@" "$<"

To avoid accidental changes using the wiki interface, maybe we should
have:

  wiki/%.mw: wiki/header wiki/%.mw-raw
        cat $^ > "$@"

  wiki/%.mw: wiki/%.html
        pandoc -f html -t mediawiki -o "$@" "$<"

with a new wiki/header file containing something like:

  This file is autogenerated from
  http://git.overlays.gentoo.org/gitweb/?p=proj/catalyst.git.
  Please send changes to gentoo-catalyst@ instead of editing this file
  directly.

Thoughs?

This series probably needs a 'wiki' entry in .gitignore too.

Cheers,
Trevor

-- 
This email may be signed or encrypted with GnuPG (http://www.gnupg.org).
For more information, see http://en.wikipedia.org/wiki/Pretty_Good_Privacy

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to