Annotation of libwww/Makefile.am, revision 1.42.2.2

1.22      frystyk     1: # Process this file with Automake to create Makefile.in.
                      2: # (c) COPYRIGHT MIT 1995.
                      3: # Please first read the full copyright statement in the file COPYRIGH.
1.42.2.2! kahan       4: # @(#) $Id: Makefile.am,v 1.43 2003/03/21 10:15:44 kahan Exp $
1.20      frystyk     5: 
                      6: #      .h files are distributed but originally are made from the
                      7: #      self-documenting hypertext files.
                      8: SUFFIXES = .html
                      9: 
                     10: BUILT_SOURCES = \
1.32      frystyk    11:        COPYRIGH
1.20      frystyk    12: 
                     13: legal : $(BUILT_SOURCES)
                     14:        @echo Generated built sources
                     15: 
                     16: EXTRA_DIST = \
                     17:        $(BUILT_SOURCES) \
                     18:        README.html \
                     19:        INSTALL.html \
                     20:        COPYRIGHT.html \
                     21:        PATCHES.html \
1.32      frystyk    22:        LICENSE.html
1.20      frystyk    23: 
1.37      frystyk    24: # We need to install the config.h header file as well. As this file
                     25: # is platform specific, we do not install it with the other libwww include files
1.25      frystyk    26: install-exec-local:
                     27:        @$(NORMAL_INSTALL)
1.38      kahan      28:        $(mkinstalldirs) $(DESTDIR)$(includedir)
                     29:        $(INSTALL_DATA) $(top_builddir)/$(CONFIG_HEADER) $(DESTDIR)$(includedir)/$(CONFIG_HEADER);
1.33      frystyk    30: 
                     31: # This is our install script provided by Soren Sandmann
                     32: bin_SCRIPTS = libwww-config
1.25      frystyk    33: 
                     34: # We do not have _all_ GNU files so add this to avoid warnings
1.20      frystyk    35: AUTOMAKE_OPTIONS = foreign
                     36: 
1.25      frystyk    37: # These are the sub directories
1.42.2.1  kahan      38: SUBDIRS = config modules Library
1.20      frystyk    39: 
1.25      frystyk    40: # Extra distribution files in zip format and in compress
1.20      frystyk    41: dist-hook:
                     42:        chmod -R a+r $(distdir)
                     43:        zip -rq $(distdir).zip $(distdir)
1.40      kahan      44:        $(TAR) chofz $(distdir).tgz $(distdir)
1.42.2.2! kahan      45: #       gzip -f $(distdir).tar
1.20      frystyk    46: 
                     47: # Tag before making distribution.  Also, don't make a distribution if
1.25      frystyk    48: # checks fail.
1.42.2.2! kahan      49: CVSSTUFF = config modules Library  \
        !            50: Makefile.am acconfig.h aclocal.m4 wwwconf.h.in configure.in
1.25      frystyk    51: 
                     52: # If not indicated otherwise then use this to make the CVS diff with
                     53: PREVIOUS_VERSION = @PREVIOUS_VERSION@
                     54: 
1.20      frystyk    55: cvs-tag:
1.25      frystyk    56:        cvs -q tag -F `echo "Release-$(VERSION)" | sed 's/\./-/g'` $(CVSSTUFF)
1.20      frystyk    57: 
                     58: cvs-export-member:
1.25      frystyk    59:        for subdir in $(SUBDIRS); do \
1.20      frystyk    60:          target=`echo $@ | sed s/-recursive//`; \
                     61:          echo making $$target in $$subdir;     \
                     62:          rm -rf $$subdir/member;       \
                     63:          cvs export -d $$subdir/member \
1.21      jigsaw     64:                -r `echo "Release-$(VERSION)" | sed 's/\./-/g'` WWW/$$subdir; \
1.20      frystyk    65:        done && test -z "$$fail"
                     66: 
                     67: cvs-export-pub:
1.25      frystyk    68:        for subdir in $(SUBDIRS); do \
1.20      frystyk    69:          target=`echo $@ | sed s/-recursive//`; \
                     70:          echo making $$target in $$subdir;     \
                     71:          rm -rf $$subdir/pub;  \
                     72:          cvs export -d $$subdir/pub \
1.21      jigsaw     73:                -r `echo "Release-$(VERSION)" | sed 's/\./-/g'` WWW/$$subdir; \
1.20      frystyk    74:        done && test -z "$$fail"
                     75: 
                     76: cvs-diff:
                     77:        thisver=`echo "Release-$(VERSION)" | sed 's/\./-/g'`; \
1.25      frystyk    78:        prevver=`echo "Release-$(PREVIOUS_VERSION)" | sed 's/\./-/g'`; \
                     79:        cvs -f diff -w -c -r $$prevver -r $$thisver $(CVSSTUFF) \
                     80:            > $(PACKAGE)-$(PREVIOUS_VERSION)-$(VERSION).diff
1.20      frystyk    81: 
1.25      frystyk    82: # Generate the include files (normally done automaticly)
1.20      frystyk    83: inc:
1.25      frystyk    84:        for subdir in $(SUBDIRS); do            \
1.20      frystyk    85:          target=`echo $@ | sed s/-recursive//`; \
                     86:          echo making $$target in $$subdir;     \
                     87:          (cd $$subdir/src && $(MAKE) $$target) \
                     88:           || case "$(MFLAGS)" in *k*) fail=yes;; *) exit 1;; esac; \
                     89:        done && test -z "$$fail"
                     90: 
                     91: #
                     92: #      Hypertext supplied in text format
                     93: #
1.42      kahan      94: #$(top_srcdir)/COPYRIGH : $(top_srcdir)/COPYRIGHT.html
                     95: #      ifdef WWW
                     96: #        -$(WWW) -p -na $(top_srcdir)/COPYRIGHT.html \
                     97: #                -o $(top_srcdir)/COPYRIGH
                     98: #      endif

Webmaster