diff options
author | Yuji Mano <yuji.mano@am.sony.com> | 2009-01-21 19:49:45 -0800 |
---|---|---|
committer | Yuji Mano <yuji.mano@am.sony.com> | 2009-01-21 19:49:45 -0800 |
commit | c39580168293e7c6a4eaefe33aa14f9184f60281 (patch) | |
tree | 5cdcbc8f6d96563799fd5b0b2b4102eec90d7a82 | |
parent | 235116fdbca137530521d71b60b49f46a71059e1 (diff) | |
download | mars-src-c39580168293e7c6a4eaefe33aa14f9184f60281.tar.gz |
doxygen: Update Makefile to cleanup files generated during build
Signed-off-by: Yuji Mano <yuji.mano@am.sony.com>
-rw-r--r-- | doxygen/Makefile | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/doxygen/Makefile b/doxygen/Makefile index dc7e2d8..d299403 100644 --- a/doxygen/Makefile +++ b/doxygen/Makefile @@ -53,19 +53,23 @@ all: build build: html html: $(DOXY_CONFIG) - # Create build dir +# Create build dir @mkdir -p $(DOXY_PACKAGE) $(DOXY_HTML_DIR) - # Copy license file +# Copy license file @cp -a $(DOXY_SRC_DIR)/$(DOXY_LICENSE) $(DOXY_PACKAGE) - # Convert SVG images to PNG images +# Convert SVG images to PNG images @for img in $(DOXY_SRC_IMAGES); \ do $(RSVG_CONVERT) -f png -o $$img.png $$img.svg || exit 1; \ done +# Process doxygen @doxygen $(DOXY_CONFIG) +# Remove generated files + @rm -rf $(DOXY_CONFIG) $(DOXY_SRC_DIR)/*.png + $(DOXY_CONFIG): $(DOXY_CONFIG).in @sed \ -e s,@MARS_BASE_DIR@,$(MARS_BASE_DIR),g \ |