Fixed Makefile.am
This commit is contained in:
parent
76fc21ec73
commit
6f52cc391b
20
Makefile.am
20
Makefile.am
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user