Ignore:
Timestamp:
09/05/10 16:30:02 (2 years ago)
Author:
Freddie Akeroyd
Message:

More doc tweaks. Also now automatically builds javadoc for web. Refs #231

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bindings/java/Makefile.am

    r1443 r1474  
    7777               ncsa/hdf/hdflib/ArrayDescriptor.class 
    7878 
    79 clean-local: 
    80                 rm -rf apidoc 
    8179 
    8280noinst_JAVA     = ncsa/hdf/hdflib/HDFArray.java \ 
     
    9391                test/TestJapi.java 
    9492 
    95 EXTRA_DIST      = $(noinst_JAVA) README.JNEXUS COPYING.NCSA  
     93EXTRA_DIST      = $(noinst_JAVA) README.JNEXUS COPYING.NCSA 
    9694 
    9795# specific targets 
     
    102100        $(JAVAH) -jni -d native -classpath . org.nexusformat.NexusFile 
    103101 
    104 jnexus.jar: $(jnexus_jar_CLASS) 
     102jnexus.jar: $(jnexus_jar_CLASS) apidoc 
    105103        $(JAR) cvf jnexus.jar $(jnexus_jar_CLASS) \ 
    106104               ncsa/hdf/hdflib/ArrayDescriptor.class 
    107105 
    108 #all: $(jnexus_jar_ARCHIVE) $(lib_LTLIBRARIES) javadoc 
    109  
    110 javadoc:        $(noinst_JAVA) 
    111         test -d apidoc || mkdir apidoc 
    112         $(JAVADOC) -d apidoc -windowtitle jnexus -doctitle jnexus -classpath . \ 
    113                       -sourcepath $(srcdir) org.nexusformat ncsa.hdf.hdflib 
    114106 
    115107SUFFIXES = .java .class 
     
    118110        $(JAVAC) -d $(JAVAROOT) $(AM_JAVACFLAGS) $(JAVACFLAGS) $< 
    119111 
     112apidoc : $(noinst_JAVA) 
     113        test -d apidoc || mkdir apidoc 
     114        $(JAVADOC) -d apidoc -windowtitle jnexus -doctitle jnexus -classpath . \ 
     115                      -sourcepath $(srcdir) org.nexusformat ncsa.hdf.hdflib 
     116 
     117dist-hook : 
     118        if test -d $(srcdir)/apidoc; then \ 
     119            cp -r $(srcdir)/apidoc $(distdir); \ 
     120        fi 
     121 
     122install-data-local : 
     123        $(mkinstalldirs) $(DESTDIR)$(nxjavadocdir) 
     124        if test -d $(srcdir)/apidoc; then \ 
     125          cp -r $(srcdir)/apidoc $(DESTDIR)$(nxjavadocdir); \ 
     126          find $(DESTDIR)$(nxjavadocdir)/apidoc -type f -exec chmod 0644 {} \; ;\ 
     127          find $(DESTDIR)$(nxjavadocdir)/apidoc -type d -exec chmod 0755 {} \; ;\ 
     128        fi 
     129 
     130clean-local : 
     131        rm -rf apidoc 
     132 
     133uninstall-local : 
     134        rm -fr $(DESTDIR)$(nxjavadocdir)/apidoc 
     135 
     136# 
    120137# Windows import library for DLL 
    121138 
     
    136153endif 
    137154 
     155 
    138156## include $(top_srcdir)/build_rules.am 
Note: See TracChangeset for help on using the changeset viewer.