summaryrefslogtreecommitdiff
path: root/vejviseren/billettoliste
ModeNameSize
-rw-r--r--billettokortlist.png248155logplain
hl opt">/source/USE.md | perl -MText::Hogan::Compiler -0777 -nE '\
  • my $$compiler = Text::Hogan::Compiler->new;\
  • my $$template = $$compiler->compile($$_);\
  • say $$template->render({ \
  • domain => "$(domain)", shellhost => "$(shellhost)", githost => "$(githost)", gitshellhost => "$(gitshellhost)", \
  • matrixhost => "$(matrixhost)", \
  • organisation => "$(organisation)", contact_sysadmins => "$(contact_sysadmins)" })'
  • all: doc
  • doc: docs $(patsubst %,docs/%,$(subst -,/,$(notdir $(wildcard source/*))))
  • mkdocs build
  • check:
  • checklink site/index.html
  • docs:
  • mkdir -p docs
  • ln -sf ../README.md docs/index.md
  • # ln -sf ../USE.md docs/use.md
  • # ln -sf ../ADMIN.md docs/admin.md
  • docs/%: source
  • mkdir -p docs/$*
  • $(MUSTACHE) < source/$(subst /,-,$*)/README.md > docs/$*/index.md
  • $(if $(wildcard source/$(subst /,-,$*)/USE.md),\
  • $(MUSTACHE) < source/$(subst /,-,$*)/USE.md > docs/$*/use.md)
  • $(if $(wildcard source/$(subst /,-,$*)/ADMIN.md),\
  • $(MUSTACHE) < source/$(subst /,-,$*)/ADMIN.md > docs/$*/admin.md)
  • $(if $(wildcard source/$(subst /,-,$*)/SETUP.md),\
  • $(MUSTACHE) < source/$(subst /,-,$*)/SETUP.md > docs/$*/setup.md)
  • $(if $(wildcard source/$(subst /,-,$*)/DEVELOP.md),\
  • $(MUSTACHE) < source/$(subst /,-,$*)/DEVELOP.md > docs/$*/devel.md)
  • init:
  • mr update
  • clean:
  • rm -rf site
  • rm -rf docs
  • distclean: clean
  • rm -rf source
  • .PHONY: all doc check clean distclean