Annotation of libwww/Makefile.am, revision 1.45

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

Webmaster