blob: 678221af3d071561afe9b1fa1b0372600610caf2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
build: $(wildcard entries/*.rst) $(wildcard templates/*.html) metadata.json
scripts/build.py
publish: check-entry-given check-title-given $(ENTRY)
scripts/publish "$(ENTRY)" "$(TITLE)"
check-entry-given:
ifndef ENTRY
$(error ENTRY to publish was not given.)
endif
check-title-given:
ifndef TITLE
$(error TITLE to publish as was not given.)
endif
.PHONY: build
|