* (.texi): Don't specify the output filename when makeinfo command is used.
authoryamaoka <yamaoka>
Wed, 24 Feb 1999 08:57:37 +0000 (08:57 +0000)
committeryamaoka <yamaoka>
Wed, 24 Feb 1999 08:57:37 +0000 (08:57 +0000)
(add-info-suffix, remove-info-suffix): New targets.

texi/Makefile.in

index aa1f3b8..0c73d1b 100644 (file)
@@ -22,6 +22,18 @@ all: gnus message
 
 ja: gnus-ja message-ja
 
+# Rule for XEmacs package.
+add-info-suffix:
+       $(EMACS) -batch -q -no-site-file -l ../lisp/dgnushack.el \
+               -f dgnushack-add-info-suffix-maybe
+
+remove-info-suffix:
+       for file in gnus message gnus-ja message-ja; do \
+         if test -f $$file.texi_; then \
+           mv $$file.texi_ $$file.texi; \
+         fi; \
+       done
+
 most: texi2latex.elc latex latexps
 
 .SUFFIXES: .texi .dvi .ps
@@ -30,7 +42,7 @@ most: texi2latex.elc latex latexps
        if test $(MAKEINFO) = no; then \
          $(EMACSINFO) $< $(XINFOSWI); \
        else \
-         makeinfo -o $* $<; \
+         makeinfo $<; \
        fi
 
 dvi: gnus.dvi message.dvi refcard.dvi