--- doc/Makefile.am +++ doc/Makefile.am @@ -46,7 +46,7 @@ src=$(srcdir); \ dir=`(cd $${src}; pwd)`; \ mkdir html; \ - $(DOCBOOK)/db2html -o html $${dir}/$*.sgml + $(DOCBOOK)/db2html $${dir}/$*.sgml # now for some extra dependencies that the automatic rules will not # catch: @@ -57,11 +57,11 @@ rm -fr $(TARGETS) DBHTOHTML* html dejagnu.info* overview.junk overview overview.{aux,dvi,log,ps,pdf,tex} -install-doc: $(TARGETS) +install-doc: - $(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/html $(DESTDIR)$(pkgdatadir)/html/stylesheet-images - $(INSTALL_DATA) html/*.html $(DESTDIR)$(pkgdatadir)/html - $(INSTALL_DATA) overview.rtf $(DESTDIR)$(pkgdatadir)/dejagnu.rtf - $(INSTALL_DATA) overview.ps $(DESTDIR)$(pkgdatadir)/dejagnu.ps - $(INSTALL_DATA) overview.pdf $(DESTDIR)$(pkgdatadir)/dejagnu.pdf + $(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/html + $(INSTALL_DATA) html/*.html $(DESTDIR)$(pkgdatadir)/html + test -r overview.rtf && $(INSTALL_DATA) overview.rtf $(DESTDIR)$(pkgdatadir)/dejagnu.rtf + test -r overview.ps && $(INSTALL_DATA) overview.ps $(DESTDIR)$(pkgdatadir)/dejagnu.ps + test -r overview.pdf && $(INSTALL_DATA) overview.pdf $(DESTDIR)$(pkgdatadir)/dejagnu.pdf $(INSTALL_DATA) $(srcdir)/runtest.1 $(mandir)/man1/