blob: 73fd34d183949737dc33373980695f62d1190318 (
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
40
41
42
43
44
45
46
47
48
49
|
# autoconf-archive/cfg.mk
# settings required by the maintainer-makefile module
gnu_rel_host := ftp.gnu.org
old_NEWS_hash := 48e5be817c23415d39a051a7eefc758b
gpg_key_ID := 99089D72
today := $(date "+%Y-%m-%d")
TAR_OPTIONS += --mtime=$(today)
manual_title := GNU Autoconf Archive Web Site
news-check-lines-spec := 11
# maintainer targets
PYTHON := python
M4DIR := $(srcdir)/m4
STAGEDIR := $(srcdir)/stage
DOCDIR := $(srcdir)/doc
M4_FILES := $(sort $(wildcard $(M4DIR)/*.m4))
MACROS := $(patsubst $(M4DIR)/%.m4,%, $(M4_FILES))
TEXI_FILES := $(patsubst %,$(DOCDIR)/%.texi,$(MACROS))
.PHONY: maintainer-all
.PRECIOUS: $(patsubst %,$(STAGEDIR)/%.m4,$(MACROS))
maintainer-all: $(TEXI_FILES) $(DOCDIR)/all-macros.texi
$(STAGEDIR)/manifest:
@$(MKDIR_P) $(STAGEDIR)
@rm -f "$@"
@for n in $(basename $(notdir $(M4_FILES))); do echo "$$n" >>"$@"; done
$(STAGEDIR)/%.m4 : $(M4DIR)/%.m4 $(STAGEDIR)/manifest $(srcdir)/macro.py $(srcdir)/macro2m4.py
$(PYTHON) $(srcdir)/macro2m4.py "$<" "$@"
@diff -u "$<" "$@" || (touch --date="1970-01-01 01:00:00" "$@"; false)
$(DOCDIR)/%.texi : $(STAGEDIR)/%.m4 $(srcdir)/macro2texi.py $(srcdir)/macro.py
$(PYTHON) $(srcdir)/macro2texi.py "$<" "$@"
$(DOCDIR)/all-macros.texi: $(srcdir)/configure
@echo generating $@
@$(MKDIR_P) $(DOCDIR)
@rm -f "$@"
@echo '@menu' >>"$@"
@for n in $(MACROS); do echo "* $$n::" >>"$@"; done
@echo '@end menu' >>"$@"
@echo '' >>"$@"
@for n in $(MACROS); do echo "@include $$n.texi" >>"$@"; done
|