[BACK]Return to Makefile CVS log [TXT][DIR] Up to [local] / OpenXM / src / k097 / Doc

Annotation of OpenXM/src/k097/Doc/Makefile, Revision 1.2

1.2     ! takayama    1: #$OpenXM: OpenXM/src/k097/Doc/Makefile,v 1.1 2001/01/04 12:29:32 takayama Exp $
1.1       takayama    2: # targets
                      3: # all :
                      4: #
                      5: # Configure here.
                      6: OpenXM_ROOT=$(HOME)/OpenXM
                      7: OpenXM_HOME=${OpenXM_ROOT}
                      8: #
                      9:
                     10: ASIRDOC=${OpenXM_ROOT}/src/asir-doc
                     11: ASIRLIB=${OpenXM_ROOT}/../OpenXM_contrib2/asir2000/lib
                     12: CONTRIB=${OpenXM_ROOT}/src/asir-contrib/packages/src
                     13: HELP=${OpenXM_HOME}/lib/k097/help
                     14: HELP_JA=$(HELP)/help-ja
                     15: HELP_EN=$(HELP)/help-en
                     16: ## PS documents are installed under $(OpenXM_doc)/asir-contrib
                     17: OpenXM_doc=$(OpenXM_ROOT)/doc
                     18: DVIPS=dvips -f
                     19: OXWEAVE=$(OpenXM_ROOT)/src/kxx/oxweave
                     20:
1.2     ! takayama   21: INFO=complex standard standard-suppl
        !            22: JPSRCS= complex-ja.texi standard-ja.texi standard-suppl-ja.texi
        !            23: ENSRCS= complex-en.texi standard-en.texi standard-suppl-en.texi
1.1       takayama   24: # INFO=complex
                     25: # JPSRCS= complex-ja.texi
                     26: # ENSRCS= complex-en.texi
                     27:
1.2     ! takayama   28: all : make_help_dir build post-install
        !            29: build: all-ja all-en
        !            30: post-install:
        !            31:        -rm -rf $(HELP_JA)/*.texi $(HELP_JA)/complex $(HELP_JA)/standard $(HELP_JA)/standard-suppl
        !            32:        -rm -rf $(HELP_EN)/*.texi $(HELP_EN)/complex $(HELP_EN)/standard $(HELP_EN)/standard-suppl
1.1       takayama   33: make_help_dir:
                     34:        -mkdir $(HELP)
                     35: all-ja: $(JPSRCS) $(ASIRDOC)/extract_func
                     36:        -rm -rf $(HELP_JA)
                     37:        mkdir $(HELP_JA)
                     38:        for i in $(JPSRCS); do nkf -e $$i > $(HELP_JA)/$$i; done
                     39:        -for i in $(JPSRCS); do (cd $(HELP_JA); makeinfo --force $$i); done
                     40:        (cd $(HELP_JA); for i in $(INFO); do $(ASIRDOC)/extract_func -j $$i; done)
                     41: all-en: $(ENSRCS) $(ASIRDOC)/extract_func
                     42:        -rm -rf $(HELP_EN)
                     43:        mkdir $(HELP_EN)
                     44:        for i in $(ENSRCS); do nkf -e $$i > $(HELP_EN)/$$i; done
                     45:        -for i in $(ENSRCS); do (cd $(HELP_EN); makeinfo --force $$i); done
                     46:        (cd $(HELP_EN); for i in $(INFO); do $(ASIRDOC)/extract_func -j $$i; done)
                     47:
                     48: standard.texi:
                     49:        -rm -rf standard.texi
1.2     ! takayama   50:        k0 <genhelp.k >standard.texi
1.1       takayama   51:
                     52: complex-ja.texi : complex.texi
                     53:        /bin/rm -f complex-ja.texi
                     54:        $(OXWEAVE) C ja <complex.texi >complex-ja.texi
                     55: complex-en.texi : complex.texi
                     56:        /bin/rm -f complex-en.texi
                     57:        $(OXWEAVE) C en <complex.texi >complex-en.texi
                     58: standard-ja.texi : standard.texi
                     59:        /bin/rm -f standard-ja.texi
                     60:        $(OXWEAVE) C en <standard.texi >standard-ja.texi
                     61: standard-en.texi : standard.texi
                     62:        /bin/rm -f standard-en.texi
                     63:        $(OXWEAVE) C en <standard.texi >standard-en.texi
1.2     ! takayama   64: standard-suppl-ja.texi : standard-suppl.texi
        !            65:        /bin/rm -f standard-suppl-ja.texi
        !            66:        $(OXWEAVE) C ja <standard-suppl.texi >standard-suppl-ja.texi
        !            67: standard-suppl-en.texi : standard-suppl.texi
        !            68:        /bin/rm -f standard-suppl-en.texi
        !            69:        $(OXWEAVE) C en <standard-suppl.texi >standard-suppl-en.texi
1.1       takayama   70:
                     71: clean :
                     72:        -/bin/rm -rf $(HELP)
                     73:        -/bin/rm -f  *~ *.aux *.cp *.dvi *.fn *.ky *.log *.pg *.toc *.tp *.vr
1.2     ! takayama   74:        -/bin/rm -f complex-en.texi complex-ja.texi standard-en.texi standard-ja.texi standard.texi standard-suppl-en.texi standard-suppl-ja.texi
1.1       takayama   75:
1.2     ! takayama   76:
        !            77: mybackup :
        !            78:        (cd ../.. ; rsync  -avz  -e "ssh -l taka" --exclude '*~' --exclude 'k0' --exclude 'd0' --exclude '*.o' --exclude 'help' k097 lemon.math.sci.kobe-u.ac.jp:tmp/tmp-backup)

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>