add static file copy

This commit is contained in:
Rhiannon Morris 2020-10-30 07:54:28 +01:00
parent c9932faeb8
commit 53a9f69ac1
2 changed files with 26 additions and 7 deletions

View File

@ -4,8 +4,13 @@ PAGESDIR ?= pages
DATADIR ?= data
TEMPLATE ?= $(DATADIR)/template.html
STATICEXTS := yaml
PAGES != find $(PAGESDIR) -name '*.md'
OUTPUTPAGES = $(patsubst $(PAGESDIR)/%.md,$(BUILDDIR)/%.html,$(PAGES))
STATICS != parallel find $(PAGESDIR) -name '\*.{}' ::: $(STATICEXTS)
OUTPUTPAGES = \
$(patsubst $(PAGESDIR)/%.md,$(BUILDDIR)/%.html,$(PAGES)) \
$(patsubst $(PAGESDIR)/%,$(BUILDDIR)/%,$(STATICS))
STYLE != find style -type f
OUTPUTSTYLE = $(patsubst %,$(BUILDDIR)/%,$(STYLE))
@ -23,7 +28,12 @@ build: $(OUTPUT)
$(BUILDDIR)/%.html: $(PAGESDIR)/%.md $(TEMPLATE) $(LANGFILTER)
mkdir -p $(dir $@)
pandoc -s --toc --template $(TEMPLATE) --filter $(LANGFILTER) -o $@ $<
pandoc -s --toc --template $(TEMPLATE) \
--filter $(LANGFILTER) -o $@ $<
$(BUILDDIR)/%: $(PAGESDIR)/%
mkdir -p $(dir $@)
cp $< $@
$(BUILDDIR)/%: %
mkdir -p $(dir $@)

View File

@ -1,11 +1,20 @@
---
title: hello
title: Conlangs
toc: false
...
# bleep
[Yeah](https://en.wikipedia.org/wiki/Constructed_language).
yes
The ones I have anything written up for, in order of detail, and with a couple
of buzzwords each:
# bloop
* **[Lántas]** `/laːntas/`, which is the language which has gone longest
without me abandoning it. It has lots of noun cases and syllabic consonants,
and is written with an abugida.
yes!!!
* **[Tengan]**, or `{tté ŋa}` `/tʼɛ˥ ŋɑ˩/`, with an isolating grammar, click
consonants, evidentiality, and a Hangul-ripoff for the script.
* **[Zalajmkwély]** `/zɑlɑɪmkweˈliː/`, which was originally from a "design
a conlang in an hour" challenge thing but then I got kind of attached to it.
It has nine genders and vowel harmony.