X-Git-Url: http://j8takagi.net/cgi-bin/gitweb.cgi?p=YACASL2.git;a=blobdiff_plain;f=doc%2Fexam_fe%2Ftexinfo_exam.mk;fp=doc%2Fexam_fe%2Ftexinfo_exam.mk;h=0000000000000000000000000000000000000000;hp=56c8cd19727a18dc4129dc92f6c503065d1a7851;hb=e21c536987c4bfbff61ea627e2bc27c46910ec53;hpb=8627c1a803480336f0670257ac991dfeb9b5bf34
diff --git a/doc/exam_fe/texinfo_exam.mk b/doc/exam_fe/texinfo_exam.mk
deleted file mode 100644
index 56c8cd1..0000000
--- a/doc/exam_fe/texinfo_exam.mk
+++ /dev/null
@@ -1,78 +0,0 @@
-.PHONY: texinfo-distclean texinfo-clean texinfo-textmp-clean
-
-CP := cp
-DVIPDFMX := dvipdfmx
-DVIPDFMX_FLAGS ?=
-ECHO := echo
-INSTALL-INFO := install-info
-MAKEINFO_FLAGS ?=
-MKDIR := mkdir
-RMR := rm -rf
-SED := sed
-TEX := ptex
-TEXI2DVI := TEX=$(TEX) texi2dvi
-TEXI2DVI_FLAGS ?= -q --texinfo=@afourpaper
-MV := mv
-
-# \includeã³ãã³ãã§èªã¿è¾¼ã¾ãããã¡ã¤ã«
-intexi = $(strip $(shell $(SED) -n -e 's/@include \(.*\)/\1/pg' $<))
-
-# \imageã³ãã³ãã§èªã¿è¾¼ã¾ãããã¡ã¤ã«
-imagetexi = $(strip $(shell $(SED) -n -e 's/.*@image{\([^,]*\)\(,[^,]*,[^,]*,[^,]*,\([^,}]*\)\)}.*/\1\3/p' $<))
-
-# ä¾åé¢ä¿ãèªåçæããdãã¡ã¤ã«ã«æ ¼ç´
-%.d: %.texi
- @$(ECHO) '$@ is created by scanning $<.'
- # texiãã¡ã¤ã«ã¨åºåãã¡ã¤ã«ã®ä¾åé¢ä¿
- @$(ECHO) '$(foreach ext,.html _html .pdf .xml .info .txt .d,$(subst .texi,$(ext),$<)): $<' >$@
- # includeãã¡ã¤ã«ã®ä¾åé¢ä¿
- $(if $(intexi),@( \
- $(ECHO) >>$@; \
- $(ECHO) '# Include Files' >>$@; \
- $(ECHO) '$(foreach ext,.html _html .info .pdf .xml .txt,$<),$(subst .texi,$(ext),$<): $(intexi)') >>$@)
- # imageãã¡ã¤ã«ã®ä¾åé¢ä¿
- # Docbookã¯æªå®ç¾©
- $(if $(imagetexi),@( \
- $(ECHO) >>$@; \
- $(ECHO) '# Image Files: HTML, HTML split, Info' >>$@; \
- $(ECHO) '$(foreach ext,.html _html .info,$(subst .texi,$(ext),$<)): $(imagetexi)' >>$@))
- $(if $(imagetexi),@( \
- $(ECHO) >>$@; \
- $(ECHO) '# Imagefiles: DVI -> PDF' >>$@; \
- $(ECHO) '$(subst .texi,.pdf,$<): $(addsuffix .eps,$(basename $(imagetexi)))' >>$@))
-
-# å¤æ°TEXITARGETSã§æå®ãããã¿ã¼ã²ãããã¡ã¤ã«ã«å¯¾å¿ããdãã¡ã¤ã«ãã¤ã³ã¯ã«ã¼ã
-# .dãã¡ã¤ã«ããããããã¡ã¤ã«ã®ä¾åé¢ä¿ãåå¾ãã
-# ã¿ã¼ã²ããã« clean ãå«ã¾ãã¦ããå ´åã¯é¤ã
-ifeq (,$(filter %clean,$(MAKECMDGOALS)))
- -include $(addsuffix .d,$(basename $(TEXITARGETS)))
-endif
-
-%.info: %.texi
- $(MAKEINFO) $(MAKEINFO_FLAGS) -o $@ $<
-
-%.html: %.texi
- $(MAKEINFO) -o $@ --no-split --html --css-include=$(CSS) $<
- $(SED) -i '' -e 's%]*>%%g' $@
- $(SED) -i '' -e 's% \([ã¢ã¤ã¦ã¨ãªã«ãã¯ã±ã³]\)%\1%g' $@
- $(SED) -i '' -e 's%::ansbox:\([0-9]*\):*\([a-zA-Z]\)*::%\2\ %g' $@
-
-%.html %_html: $(CSS)
-
-%.pdf: %.dvi
- $(DVIPDFMX) $(DVIPDFMXFLAGS) $<
-
-%.txt: %.texi
- $(MAKEINFO) --no-headers --disable-encoding -o $@ $<
-
-%.xml: %.texi
- @$(MAKEINFO) --docbook -o $@ $<
-
-texinfo-distclean: texinfo-clean
- $(RMR) *_html *.info *.html *.pdf *.dvi *.txt
-
-texinfo-clean: texinfo-textmp-clean
- $(RM) *.d
-
-texinfo-textmp-clean:
- $(RM) *.aux *.cp *.cps *.fn *.ky *.log *.pg *.pgs *.tmp *.toc *.tp *.vr