start generating manual pages

Depend on docutils-doc
This commit is contained in:
Dietmar Maurer
2019-02-24 09:51:10 +01:00
parent 793b0f4d77
commit bb5c770758
7 changed files with 80 additions and 1 deletions

View File

@ -3,7 +3,7 @@ include defines.mk
ARCH:=$(shell dpkg-architecture -qDEB_BUILD_ARCH)
GITVERSION:=$(shell git rev-parse HEAD)
SUBDIRS := etc www
SUBDIRS := etc www docs
# Binaries usable by users
USR_BIN := \
@ -87,6 +87,9 @@ clean:
dinstall: ${DEB}
dpkg -i ${DEB}
# make sure we build binaries before docs
docs: cargo-build
.PHONY: cargo-build
cargo-build:
cargo build $(CARGO_BUILD_ARGS)
@ -104,3 +107,4 @@ install: $(COMPILED_BINS)
$(foreach i,$(SERVICE_BIN), \
install -m755 $(COMPILEDIR)/$(i) $(DESTDIR)$(LIBEXECDIR)/proxmox-backup/ ;)
$(MAKE) -C www install
$(MAKE) -C docs install