Changed Makefile.am behaviour
This commit is contained in:
parent
215cf7023c
commit
40777d0fff
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user