* Make installdirs before trying to write there.
authorRichard Kreckel <Richard.Kreckel@uni-mainz.de>
Thu, 1 Nov 2001 19:27:43 +0000 (19:27 +0000)
committerRichard Kreckel <Richard.Kreckel@uni-mainz.de>
Thu, 1 Nov 2001 19:27:43 +0000 (19:27 +0000)
  (NB: Dunno why this worked before, it seems totally unrelated to the
  last patch, judging from the generated Makefiles.)

doc/reference/Makefile.am
doc/tutorial/Makefile.am

index ef45fc1..79eb970 100644 (file)
@@ -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; \
index 461de9a..d3c1afa 100644 (file)
@@ -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"; \