public inbox for gentoo-catalyst@lists.gentoo.org
 help / color / mirror / Atom feed
From: "W. Trevor King" <wking@tremily.us>
To: Catalyst <gentoo-catalyst@lists.gentoo.org>
Subject: [gentoo-catalyst] Re: [PATCH] Makefile: Use asciidoc and Pandoc to generate MediaWiki doc versions
Date: Wed, 29 Jan 2014 18:52:24 -0800	[thread overview]
Message-ID: <20140130025224.GH14197@odin.tremily.us> (raw)
In-Reply-To: <b7bfcf4c2e33c446fd7033fe4dc4f418585477d9.1391043085.git.wking@tremily.us>

[-- Attachment #1: Type: text/plain, Size: 842 bytes --]

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 #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

      reply	other threads:[~2014-01-30  2:52 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-30  0:56 [gentoo-catalyst] [PATCH] Makefile: Use asciidoc and Pandoc to generate MediaWiki doc versions wking
2014-01-30  2:52 ` W. Trevor King [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20140130025224.GH14197@odin.tremily.us \
    --to=wking@tremily.us \
    --cc=gentoo-catalyst@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox