summaryrefslogtreecommitdiff
path: root/compatMakefile
diff options
context:
space:
mode:
authorRoland McGrath <roland@redhat.com>1992-12-17 21:16:40 +0000
committerRoland McGrath <roland@redhat.com>1992-12-17 21:16:40 +0000
commit501241725aee4f66ec4b273f37621850cea6376e (patch)
tree6efd7621cef8ed8a7b6db78f20173d9c202ea489 /compatMakefile
parent501732ca8492bd86256bede3396aaa0e1de09c81 (diff)
downloadgunmake-501241725aee4f66ec4b273f37621850cea6376e.tar.gz
Formerly compatMakefile.~44~
Diffstat (limited to 'compatMakefile')
-rw-r--r--compatMakefile28
1 files changed, 13 insertions, 15 deletions
diff --git a/compatMakefile b/compatMakefile
index 296d599..bd505e9 100644
--- a/compatMakefile
+++ b/compatMakefile
@@ -93,6 +93,11 @@ INSTALL_DATA = @INSTALL_DATA@
# Generic install program.
INSTALL = @INSTALL@
+# Program to format Texinfo source into Info files.
+MAKEINFO = makeinfo
+# Program to format Texinfo source into DVI files.
+TEXI2DVI = texi2dvi
+
# Programs to make tags files.
ETAGS = etags -tw
CTAGS = ctags -tw
@@ -116,23 +121,17 @@ srcs = $(srcdir)/commands.c $(srcdir)/job.c $(srcdir)/dir.c \
.SUFFIXES:
.SUFFIXES: .o .c .h .ps .dvi .texinfo
-.PHONY: all doc check
+.PHONY: all check info dvi
all: make
-doc: make.info make.dvi
check: # No tests.
-
-# Take your pick.
-#makeinfo = emacs -batch -f batch-texinfo-format make.texinfo
-makeinfo = makeinfo make.texinfo
+info: make.info
+dvi: make.dvi
make.info: make.texinfo
- $(makeinfo)
-
+ $(MAKEINFO) $(srcdir)/make.texinfo
make.dvi: make.texinfo
- -tex make.texinfo
- texindex make.cp make.fn make.ky make.pg make.tp make.vr
- -tex make.texinfo
+ $(TEXI2DVI) $(srcdir)/make.texinfo
make.ps: make.dvi
dvi2ps make.dvi > make.ps
@@ -177,11 +176,10 @@ $(mandir)/$(instname).$(manext): make.man
.PHONY: clean realclean distclean mostlyclean
clean: glob-clean
-rm -f make *.o core
-realclean: clean glob-realclean
- -rm -f TAGS tags make.info* make-* make.dvi
+distclean: clean glob-realclean
+ -rm -f Makefile config.h TAGS tags make.info* make-* make.dvi
-rm -f make.?? make.??s make.log make.toc make.*aux
-distclean: realclean
- -rm -f configure Makefile
+realclean: distclean
mostlyclean: clean
.PHONY: glob-clean glob-realclean