diff options
author | Jose Fonseca <j_r_fonseca@yahoo.co.uk> | 2003-09-17 17:07:24 +0000 |
---|---|---|
committer | Jose Fonseca <j_r_fonseca@yahoo.co.uk> | 2003-09-17 17:07:24 +0000 |
commit | 9109625c03217680cfd03752214ad44a6ad39ca4 (patch) | |
tree | f5cc6708857656f952a2f92e9b20847863b5f87f /doxygen/Makefile | |
parent | 6bced0148e11ca48ce9820fce0126ea4ac3c570e (diff) | |
download | mesa-9109625c03217680cfd03752214ad44a6ad39ca4.tar.gz |
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'.
Diffstat (limited to 'doxygen/Makefile')
-rw-r--r-- | doxygen/Makefile | 60 |
1 files changed, 22 insertions, 38 deletions
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
-
|