OLD | NEW |
1 | 1 |
2 .SUFFIXES: .html .info .texi .texinfo | 2 .SUFFIXES: .html .info .texi .texinfo |
3 | 3 |
4 # "makeinfo --info" MUST be able to read PNGs from CWD for info images | 4 # "makeinfo --info" MUST be able to read PNGs from CWD for info images |
5 # to work, hence $(INFO_IMAGES_DIR) -> $(outdir)/ symlink. | 5 # to work, hence $(INFO_IMAGES_DIR) -> $(outdir)/ symlink. |
6 # $(outdir)/$(INFO_IMAGES_DIR)/*.png symlinks are only needed to view | 6 # $(outdir)/$(INFO_IMAGES_DIR)/*.png symlinks are only needed to view |
7 # out-www/*.info with Emacs -- HTML docs no longer need these | 7 # out-www/*.info with Emacs -- HTML docs no longer need these |
8 # symlinks, see replace_symlinks_urls in | 8 # symlinks, see replace_symlinks_urls in |
9 # python/auxiliar/postprocess_html.py. | 9 # python/auxiliar/postprocess_html.py. |
10 | 10 |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
65 $(XREF_MAPS_DIR)/%.xref-map: $(outdir)/%.texi | $(OUT_TEXINFO_MANUALS) | 65 $(XREF_MAPS_DIR)/%.xref-map: $(outdir)/%.texi | $(OUT_TEXINFO_MANUALS) |
66 $(buildscript-dir)/extract_texi_filenames $(XREF_MAP_FLAGS) -q -o $(XREF
_MAPS_DIR) $< | 66 $(buildscript-dir)/extract_texi_filenames $(XREF_MAP_FLAGS) -q -o $(XREF
_MAPS_DIR) $< |
67 endif | 67 endif |
68 | 68 |
69 TEXI2PDF_WEB_VERSION_FLAGS := | 69 TEXI2PDF_WEB_VERSION_FLAGS := |
70 ifeq ($(WEB_VERSION),yes) | 70 ifeq ($(WEB_VERSION),yes) |
71 TEXI2PDF_WEB_VERSION_FLAGS += -D web_version | 71 TEXI2PDF_WEB_VERSION_FLAGS += -D web_version |
72 endif | 72 endif |
73 | 73 |
74 $(outdir)/%.pdf: $(outdir)/%.texi $(outdir)/version.itexi $(outdir)/%.pdf.omf $(
outdir)/weblinks.itexi | $(OUT_TEXINFO_MANUALS) | 74 $(outdir)/%.pdf: $(outdir)/%.texi $(outdir)/version.itexi $(outdir)/%.pdf.omf $(
outdir)/weblinks.itexi | $(OUT_TEXINFO_MANUALS) |
75 » PDFTEX=$(PDFTEX) PDFLATEX=$(PDFLATEX) \ | 75 » TEX=$(PDFTEX) PDFTEX=$(PDFTEX) PDFLATEX=$(PDFLATEX) \ |
76 $(buildscript-dir)/run-and-check \ | 76 $(buildscript-dir)/run-and-check \ |
77 "cd $(outdir); \ | 77 "cd $(outdir); \ |
78 texi2pdf $(TEXI2PDF_FLAGS) \ | 78 texi2pdf $(TEXI2PDF_FLAGS) \ |
79 $(TEXI2PDF_WEB_VERSION_FLAGS) \ | 79 $(TEXI2PDF_WEB_VERSION_FLAGS) \ |
80 -I $(abs-src-dir) \ | 80 -I $(abs-src-dir) \ |
81 $(TEXINFO_PAPERSIZE_OPTION) \ | 81 $(TEXINFO_PAPERSIZE_OPTION) \ |
82 -o $*.tmp.pdf \ | 82 -o $*.tmp.pdf \ |
83 $(<F) \ | 83 $(<F) \ |
84 < /dev/null" \ | 84 < /dev/null" \ |
85 "$*.texi2pdf.log" | 85 "$*.texi2pdf.log" |
(...skipping 21 matching lines...) Expand all Loading... |
107 $(call GENERATE_OMF,html) | 107 $(call GENERATE_OMF,html) |
108 | 108 |
109 $(outdir)/%.pdf.omf: %.texi | 109 $(outdir)/%.pdf.omf: %.texi |
110 $(call GENERATE_OMF,pdf) | 110 $(call GENERATE_OMF,pdf) |
111 | 111 |
112 $(outdir)/version.itexi: $(top-src-dir)/VERSION | 112 $(outdir)/version.itexi: $(top-src-dir)/VERSION |
113 $(PYTHON) $(top-src-dir)/scripts/build/create-version-itexi.py > $@ | 113 $(PYTHON) $(top-src-dir)/scripts/build/create-version-itexi.py > $@ |
114 | 114 |
115 $(outdir)/weblinks.itexi: $(top-src-dir)/VERSION | 115 $(outdir)/weblinks.itexi: $(top-src-dir)/VERSION |
116 $(PYTHON) $(top-src-dir)/scripts/build/create-weblinks-itexi.py > $@ | 116 $(PYTHON) $(top-src-dir)/scripts/build/create-weblinks-itexi.py > $@ |
OLD | NEW |