From 15488b9eb5663b65751fa355567f607c98a929f0 Mon Sep 17 00:00:00 2001 From: Richard Kreckel Date: Thu, 1 Nov 2001 19:27:43 +0000 Subject: [PATCH] * Make installdirs before trying to write there. (NB: Dunno why this worked before, it seems totally unrelated to the last patch, judging from the generated Makefiles.) --- doc/reference/Makefile.am | 1 + doc/tutorial/Makefile.am | 1 + 2 files changed, 2 insertions(+) diff --git a/doc/reference/Makefile.am b/doc/reference/Makefile.am index ef45fc19..79eb9708 100644 --- a/doc/reference/Makefile.am +++ b/doc/reference/Makefile.am @@ -52,6 +52,7 @@ CLEANFILES = *.html *.gif doxygen.css *.ps latex/* EXTRA_DIST = DoxyfileHTML DoxyfileTEX Doxyfooter install-data-local: + $(mkinstalldirs) $(DESTDIR)$(ginacreferencedir) @if [ -f $(srcdir)/doxygen.css ]; then \ echo " $(INSTALL_DATA) $(srcdir)/doxygen.css $(DESTDIR)$(ginacreferencedir)/doxygen.css"; \ $(INSTALL_DATA) $(srcdir)/doxygen.css $(DESTDIR)$(ginacreferencedir)/doxygen.css; \ diff --git a/doc/tutorial/Makefile.am b/doc/tutorial/Makefile.am index 461de9a9..d3c1afa0 100644 --- a/doc/tutorial/Makefile.am +++ b/doc/tutorial/Makefile.am @@ -38,6 +38,7 @@ CLEANFILES = $(EPS) $(PNG) ginac.html EXTRA_DIST = $(FIG) $(TXT) install-data-local: + $(mkinstalldirs) $(DESTDIR)$(ginactutorialdir) @for p in $(PNG); do \ if [ -f $$p ]; then \ echo " $(INSTALL_DATA) $$p $(DESTDIR)$(ginactutorialdir)/$$p"; \ -- 2.44.0