Re: [dev] Makefile/markdown based static site generator

From: Sam Watkins <sam_AT_nipl.net>
Date: Thu, 21 Feb 2013 17:11:30 +1100

On Thu, Feb 21, 2013 at 01:27:58PM +0800, Kai Hendry wrote:
> I thought of using the filename, e.g. foo/bar/cat.mdwn ->
> foo/bar/index.html with the page title cat.

how about
  foo/bar/cat.mdwm -> cat.html , title "cat"
  foo/bar/index.mdwm -> index.html , title "bar"

> expressing that as a Makefile is really hard. So hard I gave up.

my suggestion is easy to do with a makefile

> > then you have to write html_comments, which you already did I guess. I'd probably use real perl...
>
> Perl isn't suckless ;) https://twitter.com/kaihendry/status/303309891425165312

agreed. but ... rsync requires perl?? strace?? maybe that list of
deps was the bad dream. In Debian, strace depends only on libc.
most of those things excepting the perl libs don't actually require perl,
unless built with it as an option for who knows why ...
or for some helper scripts you don't need
Received on Thu Feb 21 2013 - 07:11:30 CET

This archive was generated by hypermail 2.3.0 : Thu Feb 21 2013 - 19:25:46 CET