summaryrefslogtreecommitdiff
path: root/config.mk
blob: 3e7b31abfbb9e623a40230ed6e7a027a57431388 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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.py $(SCRIPTS_DIR)/gnu/index-terms-colon.py $(DOCUMENTS_DIR)
	rm -f $@
	$(SOURCE_DIR)/src/index-pages.py $@ $(DOCUMENTS_DIR)/*.html
	$(SCRIPTS_DIR)/gnu/index-terms-colon.py Entry $@ $(DOCUMENTS_DIR)/Index.html