1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37
|
ifeq (,$(wildcard ../config.mak))
$(error "../config.mak is not present, run configure !")
endif
include ../config.mak
EXTRADIST = \
Doxyfile \
fosblup_1.0_color.png \
fosblup_1.0_color.svg \
all: doxygen
doxygen:
ifeq ($(DOC),yes)
ifeq (,$(wildcard doxygen))
PROJECT_NUMBER="$(VERSION)" doxygen Doxyfile
endif
endif
clean:
rm -rf doxygen
install:
ifeq ($(DOC),yes)
if [ -d doxygen/html ]; then \
$(INSTALL) -d $(docdir)/fosfat; \
$(INSTALL) -c -m 755 doxygen/html/* $(docdir)/fosfat; \
fi
endif
uninstall:
rm -rf $(docdir)/fosfat
dist-all:
cp $(EXTRADIST) Makefile $(DIST)
.PHONY: clean dist-all doxygen *install
|