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 DATADIR ?= data
TEMPLATE ?= $(DATADIR)/template.html TEMPLATE ?= $(DATADIR)/template.html
STATICEXTS := yaml
PAGES != find $(PAGESDIR) -name '*.md' 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 STYLE != find style -type f
OUTPUTSTYLE = $(patsubst %,$(BUILDDIR)/%,$(STYLE)) OUTPUTSTYLE = $(patsubst %,$(BUILDDIR)/%,$(STYLE))
@ -23,7 +28,12 @@ build: $(OUTPUT)
$(BUILDDIR)/%.html: $(PAGESDIR)/%.md $(TEMPLATE) $(LANGFILTER) $(BUILDDIR)/%.html: $(PAGESDIR)/%.md $(TEMPLATE) $(LANGFILTER)
mkdir -p $(dir $@) 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)/%: % $(BUILDDIR)/%: %
mkdir -p $(dir $@) 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.