Fixed Makefile.am

This commit is contained in:
Mario Danic 2006-09-20 20:08:02 +00:00
parent 76fc21ec73
commit 6f52cc391b

View File

@ -134,14 +134,26 @@ docdir = $(DESTDIR)$(prefix)/share/doc/$(PACKAGE)-$(VERSION)
doc: doc/html doc: doc/html
doc/html: doc/html: doc/doxygen.conf
$(RM) -r $@ if [ -f ./doc/doc.lock ]; then \
doxygen doc/doxygen.conf $(RM) -r doc/html; \
doxygen doc/doxygen.conf; \
fi
doc-upload: doc/html doc-upload: doc/html
scp -r $</* $(webhost):$(webpath) scp -r $</* $(webhost):$(webpath)
.PHONY: doc all: doc
install-data-local:
if [ -f ./doc/doc.lock ]; then \
$(mkinstalldirs) $(docdir)/html; \
$(INSTALL_DATA) doc/html/* $(docdir)/html; \
fi
uninstall-local:
rm -rf $(docdir)
## ========================================================================= ## ## ========================================================================= ##
# Indent source files # Indent source files