OSDN Git Service

Generate info html and copy into htdocs tree
authorAkihiro MOTOKI <amotoki@gmail.com>
Sun, 27 Apr 2014 19:17:35 +0000 (04:17 +0900)
committerAkihiro MOTOKI <amotoki@gmail.com>
Sun, 27 Apr 2014 19:17:35 +0000 (04:17 +0900)
Makefile
info/GNU_coreutils/Makefile
info/Makefile [new file with mode: 0644]

index 574cfee..3ee27c4 100644 (file)
--- 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 $@
index aa63271..035b9d6 100644 (file)
@@ -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 (file)
index 0000000..387405a
--- /dev/null
@@ -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