Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F107296935
Makefile
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Sun, Apr 6, 20:25
Size
792 B
Mime Type
text/x-makefile
Expires
Tue, Apr 8, 20:25 (2 d)
Engine
blob
Format
Raw Data
Handle
25323362
Attached To
rTAMAAS tamaas
Makefile
View Options
DOXYGEN = doxygen
SPHINX = sphinx-build
VERSION = $(shell ./version.pl < ../SConstruct)
SPHINX_SOURCE_DIR = sphinx/source
SPHINX_SOURCES := $(wildcard $(SPHINX_SOURCE_DIR)/*.rst)
SPHINX_SOURCES += $(SPHINX_SOURCE_DIR)/conf.py
BUILD_DIR = build
DOXYGEN_BUILD_DIR = $(BUILD_DIR)/doxygen
SPHINX_BUILD_DIR = $(BUILD_DIR)/sphinx/html
# Default target
all:doxygen sphinx
# Phony targets for aliases
.PHONY:doxygen sphinx clean
# Target aliases
doxygen:$(DOXYGEN_BUILD_DIR)
sphinx:$(SPHINX_BUILD_DIR)
# Build doxygen documentation
$(DOXYGEN_BUILD_DIR):doxygen/Doxyfile
@mkdir -p $@
( cat $< && echo PROJECT_NUMBER=$(VERSION) ) | $(DOXYGEN) -
$(SPHINX_BUILD_DIR):$(SPHINX_SOURCES) $(DOXYGEN_BUILD_DIR)
@mkdir -p $@
$(SPHINX) -b html $(SPHINX_SOURCE_DIR) $@
clean:
$(RM) -r $(BUILD_DIR)
Event Timeline
Log In to Comment