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 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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" |
86 ifeq ($(USE_EXTRACTPDFMARK),yes) | 86 ifeq ($(USE_EXTRACTPDFMARK),yes) |
87 $(EXTRACTPDFMARK) -o $(outdir)/$*.pdfmark $(outdir)/$*.tmp.pdf | 87 $(EXTRACTPDFMARK) -o $(outdir)/$*.pdfmark $(outdir)/$*.tmp.pdf |
88 » $(GS920) -dBATCH -dNOPAUSE -sDEVICE=pdfwrite -dAutoRotatePages=/None \ | 88 » $(GS920) -dBATCH \ |
89 » » -sOutputFile=$@ \ | 89 -dNOPAUSE \ |
90 » » -c "30000000 setvmthreshold" \ | 90 -sDEVICE=pdfwrite \ |
91 » » -f $(top-build-dir)/out-fonts/*.font.ps \ | 91 -dAutoRotatePages=/None \ |
92 » » $(outdir)/$*.pdfmark \ | 92 -dPrinted=false \ |
93 » » $(outdir)/$*.tmp.pdf | 93 -sOutputFile=$@ \ |
| 94 -c "30000000 setvmthreshold" \ |
| 95 -f $(top-build-dir)/out-fonts/*.font.ps \ |
| 96 $(outdir)/$*.pdfmark \ |
| 97 $(outdir)/$*.tmp.pdf |
94 rm $(outdir)/$*.tmp.pdf | 98 rm $(outdir)/$*.tmp.pdf |
95 else | 99 else |
96 mv $(outdir)/$*.tmp.pdf $@ | 100 mv $(outdir)/$*.tmp.pdf $@ |
97 endif | 101 endif |
98 | 102 |
99 $(outdir)/%.txt: $(outdir)/%.texi $(outdir)/version.itexi $(outdir)/weblinks.ite
xi | $(OUT_TEXINFO_MANUALS) | 103 $(outdir)/%.txt: $(outdir)/%.texi $(outdir)/version.itexi $(outdir)/weblinks.ite
xi | $(OUT_TEXINFO_MANUALS) |
100 $(buildscript-dir)/run-and-check "$(MAKEINFO) -I$(src-dir) -I$(outdir) -
-no-split --no-headers --output $@ $<" "$*.makeinfotxt.log" | 104 $(buildscript-dir)/run-and-check "$(MAKEINFO) -I$(src-dir) -I$(outdir) -
-no-split --no-headers --output $@ $<" "$*.makeinfotxt.log" |
101 | 105 |
102 $(outdir)/%.html.omf: %.texi | 106 $(outdir)/%.html.omf: %.texi |
103 $(call GENERATE_OMF,html) | 107 $(call GENERATE_OMF,html) |
104 | 108 |
105 $(outdir)/%.pdf.omf: %.texi | 109 $(outdir)/%.pdf.omf: %.texi |
106 $(call GENERATE_OMF,pdf) | 110 $(call GENERATE_OMF,pdf) |
107 | 111 |
108 $(outdir)/version.itexi: $(top-src-dir)/VERSION | 112 $(outdir)/version.itexi: $(top-src-dir)/VERSION |
109 $(PYTHON) $(top-src-dir)/scripts/build/create-version-itexi.py > $@ | 113 $(PYTHON) $(top-src-dir)/scripts/build/create-version-itexi.py > $@ |
110 | 114 |
111 $(outdir)/weblinks.itexi: $(top-src-dir)/VERSION | 115 $(outdir)/weblinks.itexi: $(top-src-dir)/VERSION |
112 $(PYTHON) $(top-src-dir)/scripts/build/create-weblinks-itexi.py > $@ | 116 $(PYTHON) $(top-src-dir)/scripts/build/create-weblinks-itexi.py > $@ |
OLD | NEW |