+%.info: %.texi
+ LANG= LC_MESSAGES= LC_ALL= LANGUAGE= makeinfo --no-split --reference-limit=2000 $<
+
+all: info html dvi
+info: $(doc).info
+html: $(doc).html
+dvi: $(doc).dvi
+
+# Dependencies. Search for @include to find them all.
+gnulib.info gnulib.html gnulib.dvi: gnulib.texi gnulib-intro.texi gnulib-tool.texi $(wildcard headers/*.texi) $(wildcard functions/*.texi) quote.texi error.texi gcd.texi relocatable-maint.texi regexprops-generic.texi fdl.texi
+standards.info standards.html standards.dvi: standards.texi make-stds.texi fdl.texi
+
+mostlyclean:
+ rm -f *.aux *.cp *.cps *.fn *.ky *.log *.pg *.toc *.tp *.vr *.vrs
+
+clean: mostlyclean
+ rm -f *.info *.html *.dvi *.ps *.pdf