X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=doc%2FMakefile;h=30961d0d7a38e87d39e0b0e7a498152a32bc7f16;hb=56093e4d947bcc87bbc05ac3e8645509274f57b4;hp=8f8f8ea5833819657ba1cd1511ea1fa99ea7ce28;hpb=f2bc915c89fb52f12ea4dc42f0945d884f314bc4;p=gnulib.git diff --git a/doc/Makefile b/doc/Makefile index 8f8f8ea58..30961d0d7 100644 --- a/doc/Makefile +++ b/doc/Makefile @@ -7,6 +7,7 @@ doc = gnulib +MAKEINFO = env LANG= LC_MESSAGES= LC_ALL= LANGUAGE= makeinfo TEXI2HTML = $(MAKEINFO) --no-split --reference-limit=2000 --html %.html: %.texi $(TEXI2HTML) -o $@ $< @@ -23,10 +24,17 @@ html: $(doc).html dvi: $(doc).dvi pdf: $(doc).pdf +# INSTALL file with old ASCII quotation marks (looks ugly on modern machines). INSTALL: install.texi - { echo '@firstparagraphindent insert'; cat $<; } > tmp.texi - $(MAKEINFO) --plaintext --no-warn tmp.texi > $@ - rm -f tmp.texi + $(MAKEINFO) --plaintext --no-validate $< > $@ + +# INSTALL file with ISO 646 or ISO 8859 quotation marks. +INSTALL.ISO: install.texi + $(MAKEINFO) --plaintext --no-validate $< | sed -e "s/\`\([^']*\)'/'\1'/g" > $@ + +# INSTALL file wit ISO 10646 (Unicode) quotation marks. +INSTALL.UTF-8: install.texi + $(MAKEINFO) --plaintext --no-validate $< | sed -e "s/\`\([^']*\)'/‘\1’/g" > $@ GNULIB_TEXI_FILES = $(filter-out maintain.texi make-stds.texi standards.texi,$(wildcard *.texi)) $(wildcard posix-headers/*.texi) $(wildcard posix-functions/*.texi) $(wildcard glibc-headers/*.texi) $(wildcard glibc-functions/*.texi)