add static file copy
This commit is contained in:
parent
c9932faeb8
commit
53a9f69ac1
2 changed files with 26 additions and 7 deletions
14
Makefile
14
Makefile
|
@ -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 $@)
|
||||||
|
|
|
@ -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.
|
||||||
|
|
Loading…
Reference in a new issue