Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 3167 in orxonox.OLD for orxonox/trunk/Makefile.in


Ignore:
Timestamp:
Dec 13, 2004, 2:56:34 PM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: it is now possible to autogenerate the documentation out of /trunk with make doc.
The documentation will be moved to the folder doc/html and doc/latex.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/Makefile.in

    r3100 r3167  
    3737DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \
    3838        $(srcdir)/Makefile.in $(srcdir)/config.h.in \
    39         $(top_srcdir)/configure AUTHORS COPYING ChangeLog INSTALL NEWS \
    40         config.guess config.sub depcomp install-sh missing \
    41         mkinstalldirs
     39        $(srcdir)/doc/documentation.am $(top_srcdir)/configure AUTHORS \
     40        COPYING ChangeLog INSTALL NEWS config.guess config.sub depcomp \
     41        install-sh missing mkinstalldirs
    4242subdir = .
    4343ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
     
    164164target_os = @target_os@
    165165target_vendor = @target_vendor@
     166AUTOMAKE_OPTIONS = foreign no-installman no-installinfo
    166167@HAVE_GTK2_FALSE@GTK_PROGS =
    167 @HAVE_GTK2_TRUE@GTK_PROGS = gui console
    168 SUBDIRS = src importer $(GTK_PROGS)
     168@HAVE_GTK2_TRUE@GTK_PROGS = console
     169SUBDIRS = src importer gui $(GTK_PROGS)
     170DOXYGEN_INPUT = src gui
     171DOXYGEN_EXCLUDE =
     172DOXYGEN_EXAMPLE_PATH =
     173DOXYGEN_SEARCHENGINE = YES
     174DX_CONFIG_FILE = "$(top_srcdir)/orxodox"
     175DX_CONF_DIR = "$(top_srcdir)/doc/doxyconf"
    169176all: config.h
    170177        $(MAKE) $(AM_MAKEFLAGS) all-recursive
     
    173180am--refresh:
    174181        @:
    175 $(srcdir)/Makefile.in:  $(srcdir)/Makefile.am $(am__configure_deps)
     182$(srcdir)/Makefile.in:  $(srcdir)/Makefile.am $(srcdir)/doc/documentation.am $(am__configure_deps)
    176183        @for dep in $?; do \
    177184          case '$(am__configure_deps)' in \
    178185            *$$dep*) \
    179               echo ' cd $(srcdir) && $(AUTOMAKE) --gnu '; \
    180               cd $(srcdir) && $(AUTOMAKE) --gnu  \
     186              echo ' cd $(srcdir) && $(AUTOMAKE) --foreign '; \
     187              cd $(srcdir) && $(AUTOMAKE) --foreign  \
    181188                && exit 0; \
    182189              exit 1;; \
    183190          esac; \
    184191        done; \
    185         echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  Makefile'; \
     192        echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign  Makefile'; \
    186193        cd $(top_srcdir) && \
    187           $(AUTOMAKE) --gnu  Makefile
     194          $(AUTOMAKE) --foreign  Makefile
    188195.PRECIOUS: Makefile
    189196Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
     
    346353        $(am__remove_distdir)
    347354        mkdir $(distdir)
     355        $(mkdir_p) $(distdir)/doc
    348356        @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
    349357        topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
     
    558566ps-am:
    559567
    560 uninstall-am: uninstall-info-am
     568uninstall-am:
    561569
    562570uninstall-info: uninstall-info-recursive
     
    577585        uninstall-info-am
    578586
     587
     588doc:
     589        @echo "Generating doxygen Documentation"; \
     590        if test ! -e $(DX_CONFIG_FILE); then \
     591         make doc-config; \
     592        fi
     593        doxygen $(DX_CONFIG_FILE)
     594
     595doc-config:
     596        @echo "Generationg doxygen configuration File." ; \
     597        if test -e  "$(top_srcdir)/orxodox"; then \
     598          echo "deleting existing Configuration File" ; \
     599          rm $(top_srcdir)/orxodox ; \
     600        fi ; \
     601        touch $(DX_CONFIG_FILE) ; \
     602        $(DX_CONF_DIR)/project                                          >> $(DX_CONFIG_FILE); \
     603        echo "PROJECT_NAME              = \"$(PACKAGE_NAME)\""          >> $(DX_CONFIG_FILE); \
     604        echo "PROJECT_NUMBER            = \"$(PACKAGE_VERSION)\""       >> $(DX_CONFIG_FILE); \
     605        echo "OUTPUT_DIRECTORY          = \"$(top_srcdir)/doc/\""       >> $(DX_CONFIG_FILE); \
     606        echo " " >> $(DX_CONFIG_FILE); \
     607\
     608        $(DX_CONF_DIR)/build                                            >> $(DX_CONFIG_FILE); \
     609\
     610        $(DX_CONF_DIR)/progress                                         >> $(DX_CONFIG_FILE); \
     611\
     612        $(DX_CONF_DIR)/input                                            >> $(DX_CONFIG_FILE); \
     613        echo "INPUT                     = $(DOXYGEN_INPUT)"             >> $(DX_CONFIG_FILE); \
     614\
     615        $(DX_CONF_DIR)/preprocessor                                     >> $(DX_CONFIG_FILE); \
     616        echo "INCLUDE_PATH              = \"$(top_srcdir)\""            >> $(DX_CONFIG_FILE); \
     617        echo "PREDEFINED                = \"HAVE_CONFIG_H= \""          >> $(DX_CONFIG_FILE); \
     618        \
     619        $(DX_CONF_DIR)/confopts                                         >> $(DX_CONFIG_FILE)
     620
     621.PHONY: doc doc-config
     622
     623# Local Variables:
     624# mode: makefile
     625# End:
    579626# Tell versions [3.59,3.63) of GNU make to not export all variables.
    580627# Otherwise a system limit (for SysV at least) may be exceeded.
Note: See TracChangeset for help on using the changeset viewer.