OSDN Git Service

www: announce the update of the tar manpage to 1.32.
[linuxjm/jm.git] / Makefile
index 973e46a..729130d 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")
@@ -28,7 +29,7 @@ JMRPM_BUILD_ROOT=$(TMPDIR)/man-pages-ja-root
 #
 # global rules
 #
-periodic: chkcvs roff html web cgi
+periodic: chkcvs roff infoman html web cgi guide web-extra
 
 all: periodic archive-install 
 
@@ -62,11 +63,21 @@ 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 $@
 
 #
+# info tree
+#
+infoman: stamp/www-info-modified
+
+stamp/www-info-modified: stamp/info-release-modified
+       $(MAKE) -C $(INFOSRC) install
+       touch $@
+
+#
 # web & cgi contents
 #
 web:
@@ -79,6 +90,14 @@ cgi:
                WWWROOT=$(WWWROOT) CGIROOT=$(CGIROOT)\
                install
 
+.PHONY:        guide
+guide:
+       $(MAKE) -C guide/ -f Makefile.venv-wrap install WWWROOT=$(WWWROOT) install
+
+.PHONY:        web-extra
+web-extra:
+       rsync -av manual/LDP_man-pages/untrans.html $(WWWROOT)/LDP_untrans.html
+
 #
 # archive related rules
 #
@@ -138,6 +157,7 @@ else
            --dbpath $(RPMROOT)/db \
            --define "_topdir $(RPMROOT)"  \
            --define "_tmppath $(RPMROOT)/tmp"  \
+           --define "_sourcedir $(RPMROOT)/SOURCES" \
            --define "_mandir /usr/share/man" -ba \
            $(RPMROOT)/SPECS/$(JMRPMSPEC)
        touch stamp/latest-archive-modified