Changeset 1490 for trunk/Makefile.am


Ignore:
Timestamp:
Jul 27, 2010 2:42:58 PM (9 years ago)
Author:
lou
Message:

New doxygen documentation configuration.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Makefile.am

    r1483 r1490  
    3737unitTests: tests
    3838
     39# Generate doxygen doc'n in subdirectories (except @PACKAGE_NAME@) if a doxydoc
     40# directory is present, then do the base, if present.
     41
    3942doxydoc:
    40         cd $(srcdir); doxygen doxydoc/doxygen.conf
     43        for dir in $(subdirs) ; do \
     44          if test $$dir != @PACKAGE_NAME@ && test -r $$dir/doxydoc ; then \
     45            (cd $$dir ; $(MAKE) doxydoc) \
     46          fi ; \
     47        done ; \
     48        if test -r doxydoc/doxygen.conf ; then \
     49          doxygen doxydoc/doxygen.conf ; \
     50        fi
     51
     52clean-doxydoc:
     53        ( cd doxydoc ; rm -rf html *.log *.tag )
     54
     55# DocInstallDir is defined in Makemain.inc and is specific to the package.
     56# For the short term, adopt the notion that we install only the package
     57# doxydoc.
     58
     59install-doxydoc: doxydoc
     60        if test -r doxydoc/doxygen.conf ; then \
     61          $(mkdir_p) $(DocInstallDir) ; \
     62          cp -R doxydoc $(DocInstallDir) ; \
     63        fi
     64
     65uninstall-doxydoc:
     66        rm -rf $(DocInstallDir)/doxydoc
     67
     68clean-local: clean-doxydoc
     69install-data-local: install-doxydoc
     70uninstall-local: uninstall-doxydoc
    4171
    4272.PHONY: test unitTest tests unitTests doxydoc
Note: See TracChangeset for help on using the changeset viewer.