Changed Makefile.am behaviour

This commit is contained in:
Mario Danic 2006-09-20 19:58:15 +00:00
parent 6d2d764fc7
commit 76fc21ec73
1 changed files with 4 additions and 16 deletions

View File

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