- added tests for existence of reference and manual before copying

them as they're not autocreated in all cases


git-svn-id: https://svn.ibp.de/svn/capisuite/trunk/capisuite@19 4ebea2bb-67d4-0310-8558-a5799e421b66
This commit is contained in:
gernot 2003-03-06 09:27:02 +00:00
parent f9f599900d
commit 1812c3df6a
1 changed files with 13 additions and 8 deletions

View File

@ -21,14 +21,19 @@ Doxyfile: Doxyfile.in
-e 's,@srcdir\@,$(srcdir),g' $< >$@
install-data-local:
$(mkinstalldirs) $(DESTDIR)$(docdir)/reference ; \
(cd reference; for i in *; do \
$(INSTALL_DATA) $$i $(DESTDIR)$(docdir)/reference/$$i ;\
done;)
$(mkinstalldirs) $(DESTDIR)$(docdir)/manual ; \
(cd manual; for i in *; do \
$(INSTALL_DATA) $$i $(DESTDIR)$(docdir)/manual/$$i ;\
done;)
if test -d reference; then \
$(mkinstalldirs) $(DESTDIR)$(docdir)/reference ; \
(cd reference; for i in *; do \
$(INSTALL_DATA) $$i $(DESTDIR)$(docdir)/reference/$$i ;\
done;) ;\
fi
if test -d manual; then \
$(mkinstalldirs) $(DESTDIR)$(docdir)/manual ; \
(cd manual; for i in *; do \
$(INSTALL_DATA) $$i $(DESTDIR)$(docdir)/manual/$$i ;\
done;) ;\
fi
uninstall-local:
rm -rf $(DESTDIR)$(docdir)