| [3167] | 1 | DX_CONFIG_FILE = "$(top_srcdir)/orxodox" | 
|---|
 | 2 | DX_CONF_DIR = "$(top_srcdir)/doc/doxyconf" | 
|---|
 | 3 |  | 
|---|
 | 4 | doc: | 
|---|
 | 5 |         if test ! -e $(DX_CONFIG_FILE); then \ | 
|---|
 | 6 |          make doc-config; \ | 
|---|
 | 7 |         fi | 
|---|
| [3218] | 8 |         @echo "Generating doxygen Documentation"; \ | 
|---|
| [3219] | 9 |         $(DOXYGEN) $(DX_CONFIG_FILE) | 
|---|
| [3167] | 10 |  | 
|---|
 | 11 | doc-config: | 
|---|
 | 12 |         @echo "Generationg doxygen configuration File." ; \ | 
|---|
 | 13 |         if test -e  "$(top_srcdir)/orxodox"; then \ | 
|---|
 | 14 |           echo "deleting existing Configuration File" ; \ | 
|---|
 | 15 |           rm $(top_srcdir)/orxodox ; \ | 
|---|
 | 16 |         fi ; \ | 
|---|
 | 17 |         touch $(DX_CONFIG_FILE) ; \ | 
|---|
 | 18 |         $(DX_CONF_DIR)/project                                          >> $(DX_CONFIG_FILE); \ | 
|---|
 | 19 |         echo "PROJECT_NAME              = \"$(PACKAGE_NAME)\""          >> $(DX_CONFIG_FILE); \ | 
|---|
 | 20 |         echo "PROJECT_NUMBER            = \"$(PACKAGE_VERSION)\""       >> $(DX_CONFIG_FILE); \ | 
|---|
 | 21 |         echo "OUTPUT_DIRECTORY          = \"$(top_srcdir)/doc/\""       >> $(DX_CONFIG_FILE); \ | 
|---|
 | 22 |         echo " " >> $(DX_CONFIG_FILE); \ | 
|---|
 | 23 | \ | 
|---|
 | 24 |         $(DX_CONF_DIR)/build                                            >> $(DX_CONFIG_FILE); \ | 
|---|
 | 25 | \ | 
|---|
 | 26 |         $(DX_CONF_DIR)/progress                                         >> $(DX_CONFIG_FILE); \ | 
|---|
| [3205] | 27 |         if test $(DEBUG) -ge 2 ; then \ | 
|---|
| [3173] | 28 |          echo "QUIET                    = \"NO\""                       >> $(DX_CONFIG_FILE); \ | 
|---|
 | 29 |         else \ | 
|---|
 | 30 |          echo "QUIET                    = \"YES\""                      >> $(DX_CONFIG_FILE); \ | 
|---|
 | 31 |         fi ;\ | 
|---|
| [3167] | 32 | \ | 
|---|
 | 33 |         $(DX_CONF_DIR)/input                                            >> $(DX_CONFIG_FILE); \ | 
|---|
 | 34 |         echo "INPUT                     = $(DOXYGEN_INPUT)"             >> $(DX_CONFIG_FILE); \ | 
|---|
 | 35 | \ | 
|---|
 | 36 |         $(DX_CONF_DIR)/preprocessor                                     >> $(DX_CONFIG_FILE); \ | 
|---|
 | 37 |         echo "INCLUDE_PATH              = \"$(top_srcdir)\""            >> $(DX_CONFIG_FILE); \ | 
|---|
 | 38 |         echo "PREDEFINED                = \"HAVE_CONFIG_H= \""          >> $(DX_CONFIG_FILE); \ | 
|---|
 | 39 |         \ | 
|---|
 | 40 |         $(DX_CONF_DIR)/confopts                                         >> $(DX_CONFIG_FILE)  | 
|---|
 | 41 |  | 
|---|
| [3173] | 42 | doc-delete:  | 
|---|
| [3218] | 43 |         @echo "Deleting doxygen Documentation"  | 
|---|
 | 44 |         rm -rf $(top_srcdir)/doc/html  | 
|---|
| [3173] | 45 |         rm -rf $(top_srcdir)/doc/latex  | 
|---|
| [3167] | 46 |  | 
|---|
| [3218] | 47 | distclean-local: doc-delete | 
|---|
 | 48 |         rm -f $(top_srcdir)/orxodox | 
|---|
| [3167] | 49 |  | 
|---|
| [3218] | 50 | clean-local:  doc-delete | 
|---|
| [3167] | 51 |  | 
|---|
| [3218] | 52 | all-local: doc | 
|---|
 | 53 |  | 
|---|
| [3173] | 54 | .PHONY: doc doc-config doc-delete | 
|---|
| [3167] | 55 |  | 
|---|
 | 56 | # Local Variables: | 
|---|
 | 57 | # mode: makefile | 
|---|
 | 58 | # End: | 
|---|