Annotation of libwww/Makefile.am, revision 1.36.2.1

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.36.2.1! kahan       4: # @(#) $Id: Makefile.am,v 1.36 1999/04/12 23:55:02 frystyk 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.25      frystyk    24: # We need to install the config.h header file as well
                     25: install-exec-local:
                     26:        @$(NORMAL_INSTALL)
                     27:        $(mkinstalldirs) $(pkgincludedir)
                     28:        $(INSTALL_DATA) $(top_builddir)/$(CONFIG_HEADER) $(pkgincludedir)/$(CONFIG_HEADER);
1.33      frystyk    29: 
                     30: # This is our install script provided by Soren Sandmann
                     31: bin_SCRIPTS = libwww-config
1.25      frystyk    32: 
                     33: # We do not have _all_ GNU files so add this to avoid warnings
1.20      frystyk    34: AUTOMAKE_OPTIONS = foreign
                     35: 
1.25      frystyk    36: # These are the sub directories
1.36.2.1! kahan      37: SUBDIRS = config modules Library
1.20      frystyk    38: 
1.25      frystyk    39: # Extra distribution files in zip format and in compress
1.20      frystyk    40: dist-hook:
                     41:        chmod -R a+r $(distdir)
                     42:        zip -rq $(distdir).zip $(distdir)
                     43:        $(TAR) chof $(distdir).tar $(distdir)
                     44:        compress -f $(distdir).tar
                     45: 
                     46: # Tag before making distribution.  Also, don't make a distribution if
1.25      frystyk    47: # checks fail.
1.36.2.1! kahan      48: CVSSTUFF = config modules Library \
1.26      frystyk    49: Makefile.am acconfig.h acinclude.m4 aclocal.m4 wwwconf.h.in configure.in
1.25      frystyk    50: 
                     51: # If not indicated otherwise then use this to make the CVS diff with
                     52: PREVIOUS_VERSION = @PREVIOUS_VERSION@
                     53: 
1.20      frystyk    54: cvs-tag:
1.25      frystyk    55:        cvs -q tag -F `echo "Release-$(VERSION)" | sed 's/\./-/g'` $(CVSSTUFF)
1.20      frystyk    56: 
                     57: cvs-export-member:
1.25      frystyk    58:        for subdir in $(SUBDIRS); do \
1.20      frystyk    59:          target=`echo $@ | sed s/-recursive//`; \
                     60:          echo making $$target in $$subdir;     \
                     61:          rm -rf $$subdir/member;       \
                     62:          cvs export -d $$subdir/member \
1.21      jigsaw     63:                -r `echo "Release-$(VERSION)" | sed 's/\./-/g'` WWW/$$subdir; \
1.20      frystyk    64:        done && test -z "$$fail"
                     65: 
                     66: cvs-export-pub:
1.25      frystyk    67:        for subdir in $(SUBDIRS); do \
1.20      frystyk    68:          target=`echo $@ | sed s/-recursive//`; \
                     69:          echo making $$target in $$subdir;     \
                     70:          rm -rf $$subdir/pub;  \
                     71:          cvs export -d $$subdir/pub \
1.21      jigsaw     72:                -r `echo "Release-$(VERSION)" | sed 's/\./-/g'` WWW/$$subdir; \
1.20      frystyk    73:        done && test -z "$$fail"
                     74: 
                     75: cvs-diff:
                     76:        thisver=`echo "Release-$(VERSION)" | sed 's/\./-/g'`; \
1.25      frystyk    77:        prevver=`echo "Release-$(PREVIOUS_VERSION)" | sed 's/\./-/g'`; \
                     78:        cvs -f diff -w -c -r $$prevver -r $$thisver $(CVSSTUFF) \
                     79:            > $(PACKAGE)-$(PREVIOUS_VERSION)-$(VERSION).diff
1.20      frystyk    80: 
1.25      frystyk    81: # Generate the include files (normally done automaticly)
1.20      frystyk    82: inc:
1.25      frystyk    83:        for subdir in $(SUBDIRS); do            \
1.20      frystyk    84:          target=`echo $@ | sed s/-recursive//`; \
                     85:          echo making $$target in $$subdir;     \
                     86:          (cd $$subdir/src && $(MAKE) $$target) \
                     87:           || case "$(MFLAGS)" in *k*) fail=yes;; *) exit 1;; esac; \
                     88:        done && test -z "$$fail"
                     89: 
                     90: #
                     91: #      Hypertext supplied in text format
                     92: #
                     93: $(top_srcdir)/COPYRIGH : $(top_srcdir)/COPYRIGHT.html
1.36      frystyk    94:        ifdef WWW
1.31      frystyk    95:          -$(WWW) -p -na $(top_srcdir)/COPYRIGHT.html \
                     96:                  -o $(top_srcdir)/COPYRIGH
1.36      frystyk    97:        endif

Webmaster