From eb58cc13ac2442b3cfdd590942e9e9208ff2147a Mon Sep 17 00:00:00 2001 From: Akihiro MOTOKI Date: Mon, 28 Apr 2014 04:17:35 +0900 Subject: [PATCH] Generate info html and copy into htdocs tree --- Makefile | 2 ++ info/GNU_coreutils/Makefile | 2 +- info/Makefile | 16 ++++++++++++++++ 3 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 info/Makefile diff --git a/Makefile b/Makefile index 574cfee4..3ee27c40 100644 --- a/Makefile +++ b/Makefile @@ -15,6 +15,7 @@ CHKCVS=bin/chkcvs.sh ROFFSRC=./manual PODSRC=./pod +INFOSRC=./info JMVER=0.5 JMRELEASE := $(shell env LANG=C date +"%Y%m%d") @@ -62,6 +63,7 @@ stamp/www-html-modified: stamp/cvs-release-modified mkdir -p $(WWWHTML) $(MKRWWW) $(ROFFSRC) $(WWWHTML) $(MAN2HTML) $(MKPWWW) $(PODSRC) $(WWWHTML) $(POD2HTML) + $(MAKE) -C $(INFOSRC) install # Remove temporary files generated by pod2html rm -f pod2htmd.tmp pod2htmi.tmp touch $@ diff --git a/info/GNU_coreutils/Makefile b/info/GNU_coreutils/Makefile index aa632711..035b9d68 100644 --- a/info/GNU_coreutils/Makefile +++ b/info/GNU_coreutils/Makefile @@ -16,7 +16,7 @@ $(HTMLFILE): $(TEXIFILE) $(TEXI2HTML) --output=$(HTMLDIR) --split node $< clean: - $(RM) html/* + $(RM) -r $(HTMLDIR) install: $(HTMLFILE) mkdir -p $(WWWDEST) diff --git a/info/Makefile b/info/Makefile new file mode 100644 index 00000000..387405ad --- /dev/null +++ b/info/Makefile @@ -0,0 +1,16 @@ +SUBDIRS = GNU_coreutils + +html: + for dir in $(SUBDIRS); do \ + make -C $$dir $@; \ + done + +install: + for dir in $(SUBDIRS); do \ + make -C $$dir $@; \ + done + +clean: + for dir in $(SUBDIRS); do \ + make -C $$dir $@; \ + done -- 2.11.0