Changed Makefile.am behaviour

This commit is contained in:
Mario Danic 2006-09-20 19:58:15 +00:00
parent 215cf7023c
commit 40777d0fff

View File

@ -134,26 +134,14 @@ docdir = $(DESTDIR)$(prefix)/share/doc/$(PACKAGE)-$(VERSION)
doc: doc/html doc: doc/html
doc/html: doc/doxygen.conf doc/html:
if [ -f ./doc/doc.lock ]; then \ $(RM) -r $@
$(RM) -r doc/html; \ doxygen doc/doxygen.conf
doxygen doc/doxygen.conf; \
fi
doc-upload: doc/html doc-upload: doc/html
scp -r $</* $(webhost):$(webpath) scp -r $</* $(webhost):$(webpath)
all: doc .PHONY: 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