generate tgz of doxygen doc.
This commit is contained in:
@@ -1,10 +1,14 @@
|
||||
DOXYGEN = doxygen
|
||||
TAR = tar
|
||||
|
||||
GIT_REVISION = $(shell cat ../src/version.c | cut -f 2 -d '"')
|
||||
LABEL = $(shell cat ../src/pversion.c | cut -f 2 -d '"')
|
||||
VERSION = $(subst wip.,wip,$(LABEL).$(GIT_REVISION))
|
||||
|
||||
SOURCES = $(wildcard ../src/*.c) $(wildcard ../src/*.h)
|
||||
|
||||
DOCARCHIVE = ../grafx2-$(VERSION)-doxygen.tgz
|
||||
|
||||
.PHONY: all gifanalyzer sdl_image_test test_iff doxygen
|
||||
|
||||
all: gifanalyzer sdl_image_test test_iff
|
||||
@@ -18,6 +22,11 @@ sdl_image_test:
|
||||
test_iff:
|
||||
$(MAKE) -C $@
|
||||
|
||||
doxygenarchive: $(DOCARCHIVE)
|
||||
|
||||
$(DOCARCHIVE): ../doc/doxygen/html/index.html
|
||||
cd ../doc && $(TAR) czf $@ doxygen/
|
||||
|
||||
doxygen: ../doc/doxygen/html/index.html
|
||||
|
||||
../doc/doxygen/html/index.html: Doxyfile $(SOURCES)
|
||||
|
||||
Reference in New Issue
Block a user