- make dist now checks for existence of manual and reference and outputs

meaningful errors if they're missing
- make dist and make install now also take care of manual/images/


git-svn-id: https://svn.ibp.de/svn/capisuite/trunk/capisuite@34 4ebea2bb-67d4-0310-8558-a5799e421b66
This commit is contained in:
gernot 2003-03-09 12:36:02 +00:00
parent d418efb30a
commit 82bce61fa1
1 changed files with 11 additions and 5 deletions

View File

@ -10,10 +10,18 @@ docs: Doxyfile
dist-hook: Doxyfile
$(doxygen) Doxyfile
if test ! -d reference; then \
echo "Creation of reference didn't succeed. Please install doxygen and try again" ;\
exit 1; \
fi
if test ! -d manual/images/callouts; then \
echo "You didn't create the manual pages or forgot to copy images to manual/. Please read docs/manual.README" ;\
exit 1; \
fi
mkdir $(distdir)/reference
cp $(srcdir)/reference/* $(distdir)/reference/
mkdir $(distdir)/manual
cp $(srcdir)/manual/* $(distdir)/manual/
cp -r $(srcdir)/manual/* $(distdir)/manual/
Doxyfile: Doxyfile.in
sed -e 's,@version\@,$(VERSION),g' \
@ -29,10 +37,8 @@ install-data-local:
fi
if test -d manual; then \
$(mkinstalldirs) $(DESTDIR)$(docdir)/manual ; \
(cd manual; for i in *; do \
$(INSTALL_DATA) $$i $(DESTDIR)$(docdir)/manual/$$i ;\
done;) ;\
$(mkinstalldirs) $(DESTDIR)$(docdir) ; \
cp -r manual $(DESTDIR)$(docdir)/ ; \
fi
uninstall-local: