- 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:
parent
d418efb30a
commit
82bce61fa1
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue