2 # Makefile for contents in www
11 DATE := $(shell env LANG=C date +"%Y%m%d")
17 m4 -P -D _WORKDIR=$(WORKDIR) $*.m4 | cat -s | nkf -w > $*.html
19 CONTENTS = index.html download.html section.html copyright.html \
20 README.html INSTALL.html \
21 missing.html nosuchpage.html manerror.html
28 make -C rpm/ DATE=$(DATE)
36 index.html: news/index.m4 ../stamp/latest-archive-modified
38 README.html: ../dist/README
40 INSTALL.html: ../dist/INSTALL
42 ../dist/README ../dist/INSTALL:
43 $(MAKE) -C .. -f Makefile.dist
45 download.html: download.m4 ../stamp/latest-archive-modified ../stamp/www-info-modified
46 m4 -P -D _WORKDIR=$(WORKDIR) -D _DATE=$(DATE) $< | nkf -w > $@
48 ../stamp/latest-archive-modified:
49 make -C .. stamp/latest-archive-modified
52 @rm -f $(CONTENTS) *.tar.gz
54 -$(RM) -f rpm/*.rpm rpm/index.html
57 make -C announcement/ clean
60 $(RSYNC) -a --delete -v \
65 --exclude='Makefile' \
66 --exclude='ChangeLog' \
67 --exclude='.gitignore' \
68 * .htaccess $(WWWROOT)
69 $(MAKE) -C ../admin/site WWWROOT=$(WWWROOT) install