From 9109625c03217680cfd03752214ad44a6ad39ca4 Mon Sep 17 00:00:00 2001 From: Jose Fonseca Date: Wed, 17 Sep 2003 17:07:24 +0000 Subject: Seperate the Doxygen configuration files (for full Mesa only) in a common part and an individual module part. Rewrite the Makefile in order to avoid the double pass when the tag files already exist. A double pass can still be achieved by doing 'make clean all'. --- doxygen/Makefile | 60 +++++++++++++++++++++----------------------------------- 1 file changed, 22 insertions(+), 38 deletions(-) (limited to 'doxygen/Makefile') diff --git a/doxygen/Makefile b/doxygen/Makefile index 2f6a7b4d6af..c599c826c4a 100644 --- a/doxygen/Makefile +++ b/doxygen/Makefile @@ -2,45 +2,29 @@ default: full all: full subset -full: - doxygen tnl_dd.doxy - doxygen array_cache.doxy - doxygen math.doxy - doxygen swrast.doxy - doxygen swrast_setup.doxy - doxygen tnl.doxy - doxygen core.doxy - echo "Building again, to resolve tags" - doxygen tnl_dd.doxy - doxygen array_cache.doxy - doxygen math.doxy - doxygen swrast.doxy - doxygen swrast_setup.doxy - doxygen tnl.doxy - doxygen core.doxy +%.tag: %.doxy + doxygen $< -subset: - doxygen core_subset.doxy - doxygen math_subset.doxy - doxygen miniglx.doxy - echo "Building again, to resolve tags" - doxygen core_subset.doxy - doxygen math_subset.doxy - doxygen miniglx.doxy - doxygen radeon_subset.doxy +FULL = \ + core.doxy \ + math.doxy \ + array_cache.doxy \ + swrast.doxy \ + swrast_setup.doxy \ + tnl.doxy \ + tnl_dd.doxy + +full: $(FULL:.doxy=.tag) + $(foreach FILE,$(FULL),doxygen $(FILE);) + +SUBSET = \ + core.doxy \ + math.doxy \ + miniglx.doxy + +subset: $(SUBSET:.doxy=.tag) + $(foreach FILE,$(SUBSET),doxygen $(FILE);) clean: - rm -rf \ - array_cache \ - core \ - core_subset \ - math \ - math_subset \ - swrast \ - swrast_setup \ - tnl_dd \ - tnl \ - miniglx \ - radeon_subset + rm -rf $(FULL:.doxy=) $(SUBSET:.doxy=) rm -rf *.tag - -- cgit v1.2.3