summaryrefslogtreecommitdiff
path: root/config.mk
blob: c060bad9673241b5bb58db468a06a9fff1500c57 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
SRC_ICON_FILE=$(SOURCE_DIR)/icon.png

MANUAL_URL  = https://www.gnu.org/prep/standards/standards.html_node.tar.gz
MANUAL_FILE = tmp/standards.html_node.tar.gz

$(MANUAL_FILE): tmp
	curl -o $@ $(MANUAL_URL)

$(DOCUMENTS_DIR): $(RESOURCES_DIR) $(MANUAL_FILE)
	mkdir -p $@
	tar -x -z -f $(MANUAL_FILE) -C $@

$(INDEX_FILE): $(SOURCE_DIR)/src/index-pages.sh $(DOCUMENTS_DIR)
	rm -f $@
	$(SOURCE_DIR)/src/index-pages.sh $@ $(DOCUMENTS_DIR)/*.html