blob: a911dd6d0aa0d88616b1c8b12a35ead8f36f8616 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
# autoconf-archive/cfg.mk
# settings required by the maintainer-makefile module
gnu_rel_host = savannah.nongnu.org
old_NEWS_hash = 5ad7b87198d89e04d76b99221591c076
gpg_key_ID = 99089D72
url_dir_list = http://download.savannah.nongnu.org/releases/autoconf-archive
# maintainer targets
M4DIR := $(srcdir)/m4
HTMLDIR := $(srcdir)/html
STAGEDIR := $(srcdir)/stage
M4_FILES := $(wildcard $(M4DIR)/*.m4)
MACROS := $(patsubst $(M4DIR)/%.m4,%, $(M4_FILES))
CANON_M4_FILES := $(patsubst %,$(STAGEDIR)/%.m4,$(MACROS))
RAW_HTML_FILES := $(patsubst %,$(STAGEDIR)/%.html,$(MACROS))
HTML_FILES := $(patsubst %,$(HTMLDIR)/%.html,$(MACROS))
.PHONY: website
ALL_RECURSIVE_TARGETS += website
website: $(HTML_FILES)
$(STAGEDIR)/%.html : $(M4DIR)/%.m4 $(STAGEDIR)/.dirCreated $(srcdir)/macro.py $(srcdir)/macro2html.py
@$(srcdir)/macro2html.py --input-encoding=latin-1 --output-encoding=latin-1 --output-dir=$(STAGEDIR) --output-suffix=.html $<
$(HTMLDIR)/%.html : $(STAGEDIR)/%.html
@echo publish $*
@tidy -quiet -ascii --indent yes --indent-spaces 1 --tidy-mark no -wrap 80 --hide-comments yes $< >$@
$(STAGEDIR)/.dirCreated:
@$(MKDIR_P) $(STAGEDIR)
@touch $@
taint-distcheck:
my-distcheck:
|