mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-11-11 00:03:49 +01:00
29 lines
587 B
Makefile
29 lines
587 B
Makefile
|
# See LICENSE file for license and copyright information
|
||
|
#
|
||
|
include ../config.mk
|
||
|
include ../common.mk
|
||
|
include config.mk
|
||
|
|
||
|
ifeq ($(shell which $(SPHINX_BIN) >/dev/null 2>&1; echo $$?), 1)
|
||
|
$(error The '$(SPHINX_BIN)' command was not found.)
|
||
|
endif
|
||
|
|
||
|
all: init html man
|
||
|
|
||
|
init:
|
||
|
$(QUIET)mkdir -p $(SPHINX_BUILDDIR)/
|
||
|
|
||
|
clean:
|
||
|
$(QUIET)rm -rf $(SPHINX_BUILDDIR)/
|
||
|
|
||
|
html: doxygen
|
||
|
$(QUIET)$(SPHINX_BIN) -b html $(SPHINX_OPTS) $(SPHINX_BUILDDIR)/html
|
||
|
|
||
|
man: doxygen
|
||
|
$(QUIET)$(SPHINX_BIN) -b man $(SPHINX_OPTS) $(SPHINX_BUILDDIR)/man
|
||
|
|
||
|
doxygen:
|
||
|
$(QUIET)$(DOXYGEN_BIN) Doxyfile
|
||
|
|
||
|
.PHONY: clean html man
|