switch to tdemin/gmnhg' md2gmn to fix gemini publishing
This commit is contained in:
parent
d80cb91d94
commit
134136f4ed
4
Makefile
4
Makefile
|
@ -8,16 +8,16 @@ target_files := $(patsubst content/%.md,gemini/%.gmi,$(source_files))
|
||||||
default: build-gemini publish-gemini build-html publish-html
|
default: build-gemini publish-gemini build-html publish-html
|
||||||
|
|
||||||
gemini/%.gmi: content/%.md
|
gemini/%.gmi: content/%.md
|
||||||
lowdown -tgemini $< > $@
|
cat $< | md2gmn > $@
|
||||||
|
|
||||||
gemini/index.gmi: $(source_files)
|
gemini/index.gmi: $(source_files)
|
||||||
|
cp gemini/_index.gmi_ gemini/index.gmi
|
||||||
for file in $(target_files) ; do \
|
for file in $(target_files) ; do \
|
||||||
echo "=> $$file" | sed 's/gemini//' >> gemini/index.gmi ; \
|
echo "=> $$file" | sed 's/gemini//' >> gemini/index.gmi ; \
|
||||||
done
|
done
|
||||||
|
|
||||||
.PHONY: build-gemini
|
.PHONY: build-gemini
|
||||||
build-gemini: $(target_files) gemini/index.gmi
|
build-gemini: $(target_files) gemini/index.gmi
|
||||||
cp gemini/_index.gmi gemini/index.gmi
|
|
||||||
|
|
||||||
.PHONY: build-html
|
.PHONY: build-html
|
||||||
build-html:
|
build-html:
|
||||||
|
|
Loading…
Reference in a new issue