diff options
author | Glenn Morris <rgm@gnu.org> | 2010-10-09 11:31:12 -0700 |
---|---|---|
committer | Glenn Morris <rgm@gnu.org> | 2010-10-09 11:31:12 -0700 |
commit | abd40fb4ee56c21965f52e20fc04cab630674ab0 (patch) | |
tree | be2a75b0861862ba5e2a453c554ab0595b9c57ed /doc/lispintro | |
parent | f4f358f172feadc4c706e540f17e0989c2e1c9b8 (diff) | |
download | emacs-abd40fb4ee56c21965f52e20fc04cab630674ab0.tar.gz |
Avoid having a directory as a prerequisite in doc Makefiles.
It does not play well with time-stamping.
* doc/misc/Makefile.in ($(infodir)): Delete rule.
(mkinfodir): New. Use it in all the info rules, rather than depending
on infodir.
* doc/lispref/Makefile.in ($(infodir)): Delete rule.
(mkinfodir): New.
($(infodir)/elisp): Use $mkinfodir instead of infodir.
* doc/lispintro/Makefile.in ($(infodir)): Delete rule.
(mkinfodir): New.
($(infodir)/eintr): Use $mkinfodir instead of infodir.
* doc/emacs/Makefile.in ($(infodir)): Delete rule.
(mkinfodir): New.
($(infodir)/emacs): Use $mkinfodir instead of infodir.
Diffstat (limited to 'doc/lispintro')
-rw-r--r-- | doc/lispintro/ChangeLog | 6 | ||||
-rw-r--r-- | doc/lispintro/Makefile.in | 8 |
2 files changed, 10 insertions, 4 deletions
diff --git a/doc/lispintro/ChangeLog b/doc/lispintro/ChangeLog index 95501d6ff70..72e743e4ebf 100644 --- a/doc/lispintro/ChangeLog +++ b/doc/lispintro/ChangeLog @@ -1,5 +1,11 @@ 2010-10-09 Glenn Morris <rgm@gnu.org> + * Makefile.in ($(infodir)): Delete rule. + (mkinfodir): New. + ($(infodir)/eintr): Use $mkinfodir instead of infodir. + +2010-10-09 Glenn Morris <rgm@gnu.org> + * Makefile.in (.PHONY): Declare info, dvi, html, pdf, dist. 2010-10-07 Glenn Morris <rgm@gnu.org> diff --git a/doc/lispintro/Makefile.in b/doc/lispintro/Makefile.in index 41f8f2a5c75..40cb48110ce 100644 --- a/doc/lispintro/Makefile.in +++ b/doc/lispintro/Makefile.in @@ -34,22 +34,22 @@ TEXI2DVI = texi2dvi TEXI2PDF = texi2pdf DVIPS = dvips +mkinfodir = @test -d ${infodir} || mkdir ${infodir} || test -d ${infodir} + .SUFFIXES: .dvi .ps .texi .PHONY: info dvi html pdf info: ${infodir}/eintr -$(infodir): - mkdir $@ || test -d $@ - dvi: emacs-lisp-intro.dvi html: emacs-lisp-intro.html pdf: emacs-lisp-intro.pdf # The file name eintr must fit within 5 characters, to allow for # -NN extensions to fit into DOS 8+3 limits without clashing. -${infodir}/eintr: $(infodir) ${srcdir}/emacs-lisp-intro.texi +${infodir}/eintr: ${srcdir}/emacs-lisp-intro.texi + $(mkinfodir) cd $(srcdir); $(MAKEINFO) emacs-lisp-intro.texi -o $@ emacs-lisp-intro.dvi: ${srcdir}/emacs-lisp-intro.texi |