IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 8964


Ignore:
Timestamp:
Sep 25, 2006, 3:37:23 PM (20 years ago)
Author:
jhoblitt
Message:

build doxygen docs in the build tree path
install doxygen man pages into the correct locations from the build tree

Location:
trunk/psLib
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/Doxyfile.in

    r3589 r8964  
    1818# by quotes) that should identify the project.
    1919
    20 PROJECT_NAME           = "Pan-STARRS Foundation Library"
     20PROJECT_NAME           = @PACKAGE_NAME@
    2121
    2222# The PROJECT_NUMBER tag can be used to enter a project or revision number.
     
    3131# where doxygen was started. If left blank the current directory will be used.
    3232
    33 OUTPUT_DIRECTORY       = @prefix@/docs/pslib
     33# @top_builddir@ doesn't work for some reason
     34OUTPUT_DIRECTORY       = @builddir@/docs
    3435
    3536# The OUTPUT_LANGUAGE tag is used to specify the language in which all
     
    362363# with spaces.
    363364
    364 INPUT                  = src
     365INPUT                  = @top_srcdir@/src
    365366
    366367# If the value of the INPUT tag contains directories, you can use the
     
    934935# interpreter (i.e. the result of `which perl').
    935936
    936 PERL_PATH              = /usr/bin/perl
     937PERL_PATH              = @PERL@
    937938
    938939#---------------------------------------------------------------------------
  • trunk/psLib/Makefile.am

    r8906 r8964  
    99    pslib-config.in \
    1010    pslib.pc.in \
    11     autogen.sh
     11    autogen.sh 
    1212
    1313if DOXYGEN
    14 docs: Doxyfile $(prefix)/docs/pslib $(mandir)/man3
    15         doxygen Doxyfile
    16         mv -f $(prefix)/docs/pslib/man/man3/* $(mandir)/man3
    17         rm -rf $(prefix)/docs/pslib/man
     14install-data-hook: doxygen
     15        -$(mkdir_p) $(mandir)/man3
     16        chmod 0755 $(mandir)/man3
     17        -cp $(top_builddir)/docs/man/man3/* $(mandir)/man3
     18
     19doxygen:
     20        $(DOXYGEN)
    1821endif
    1922
    20 $(prefix)/docs/pslib:
    21         mkdir -p -m 744 $(prefix)/docs/pslib
     23CLEANFILES = *~ *.bb *.bbg *.da DoxygenLog
    2224
    23 $(mandir)/man3:
    24         mkdir -p -m 744 $(mandir)/man3
    25 
    26 CLEANFILES = $(prefix)/docs/pslib/* *~ *.bb *.bbg *.da
     25clean-local:
     26        -rm -rf docs
    2727
    2828test: check
    29 
    30 distuninstallcheck_listfiles = \
    31         `find . -name .packlist -or -name perllocal.pod -or -name pslib.bs -or -name pslib.so -or -name pslib.pm`
    32 
    33 distuninstallcheck:
    34         @:
  • trunk/psLib/configure.ac

    r8925 r8964  
    373373  [AC_MSG_ERROR([The C99 function, atoll, is required; update your compiler version?])])
    374374
    375 AC_CHECK_PROG(doxygen,[doxygen],[true],[false])
    376 AM_CONDITIONAL(DOXYGEN, test x$doxygen = xtrue)
    377 
     375AC_PATH_PROG([DOXYGEN], [doxygen], [missing])
     376AM_CONDITIONAL([DOXYGEN], test "x$doxygen" != "xmissing")
    378377
    379378dnl ------- restore CFLAGS / LDFLAGS (tests done) --------
Note: See TracChangeset for help on using the changeset viewer.