Annotation of libwww/Makefile.am, revision 1.31

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.31    ! frystyk     4: # @(#) $Id: Makefile.am,v 1.30 1998/07/22 01:24:56 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 = \
                     11:        WELCOME \
                     12:        README \
                     13:        INSTALL \
                     14:        NEWS \
                     15:        TODO \
                     16:        COPYRIGH \
                     17:        PATCHES \
                     18:        CERN
                     19: 
                     20: legal : $(BUILT_SOURCES)
                     21:        @echo Generated built sources
                     22: 
                     23: EXTRA_DIST = \
                     24:        $(BUILT_SOURCES) \
                     25:        WELCOME.html \
                     26:        README.html \
                     27:        INSTALL.html \
                     28:        COPYRIGHT.html \
                     29:        PATCHES.html \
                     30:        CERN.html
                     31: 
1.25      frystyk    32: # We need to install the config.h header file as well
                     33: install-exec-local:
                     34:        @$(NORMAL_INSTALL)
                     35:        $(mkinstalldirs) $(pkgincludedir)
                     36:        $(INSTALL_DATA) $(top_builddir)/$(CONFIG_HEADER) $(pkgincludedir)/$(CONFIG_HEADER);
                     37: 
                     38: # We do not have _all_ GNU files so add this to avoid warnings
1.20      frystyk    39: AUTOMAKE_OPTIONS = foreign
                     40: 
1.25      frystyk    41: # These are the sub directories
1.29      frystyk    42: SUBDIRS = config Library PICS-client LineMode Robot ComLine WinCom Icons
1.20      frystyk    43: 
1.25      frystyk    44: # Extra distribution files in zip format and in compress
1.20      frystyk    45: dist-hook:
                     46:        chmod -R a+r $(distdir)
                     47:        zip -rq $(distdir).zip $(distdir)
                     48:        $(TAR) chof $(distdir).tar $(distdir)
                     49:        compress -f $(distdir).tar
                     50: 
                     51: # Tag before making distribution.  Also, don't make a distribution if
1.25      frystyk    52: # checks fail.
1.27      frystyk    53: CVSSTUFF = config Library PICS-client LineMode Robot ComLine \
1.26      frystyk    54: Makefile.am acconfig.h acinclude.m4 aclocal.m4 wwwconf.h.in configure.in
1.25      frystyk    55: 
                     56: # If not indicated otherwise then use this to make the CVS diff with
                     57: PREVIOUS_VERSION = @PREVIOUS_VERSION@
                     58: 
1.20      frystyk    59: cvs-tag:
1.25      frystyk    60:        cvs -q tag -F `echo "Release-$(VERSION)" | sed 's/\./-/g'` $(CVSSTUFF)
1.20      frystyk    61: 
                     62: cvs-export-member:
1.25      frystyk    63:        for subdir in $(SUBDIRS); do \
1.20      frystyk    64:          target=`echo $@ | sed s/-recursive//`; \
                     65:          echo making $$target in $$subdir;     \
                     66:          rm -rf $$subdir/member;       \
                     67:          cvs export -d $$subdir/member \
1.21      jigsaw     68:                -r `echo "Release-$(VERSION)" | sed 's/\./-/g'` WWW/$$subdir; \
1.20      frystyk    69:        done && test -z "$$fail"
                     70: 
                     71: cvs-export-pub:
1.25      frystyk    72:        for subdir in $(SUBDIRS); do \
1.20      frystyk    73:          target=`echo $@ | sed s/-recursive//`; \
                     74:          echo making $$target in $$subdir;     \
                     75:          rm -rf $$subdir/pub;  \
                     76:          cvs export -d $$subdir/pub \
1.21      jigsaw     77:                -r `echo "Release-$(VERSION)" | sed 's/\./-/g'` WWW/$$subdir; \
1.20      frystyk    78:        done && test -z "$$fail"
                     79: 
                     80: cvs-diff:
                     81:        thisver=`echo "Release-$(VERSION)" | sed 's/\./-/g'`; \
1.25      frystyk    82:        prevver=`echo "Release-$(PREVIOUS_VERSION)" | sed 's/\./-/g'`; \
                     83:        cvs -f diff -w -c -r $$prevver -r $$thisver $(CVSSTUFF) \
                     84:            > $(PACKAGE)-$(PREVIOUS_VERSION)-$(VERSION).diff
1.20      frystyk    85: 
1.25      frystyk    86: # Generate the include files (normally done automaticly)
1.20      frystyk    87: inc:
1.25      frystyk    88:        for subdir in $(SUBDIRS); do            \
1.20      frystyk    89:          target=`echo $@ | sed s/-recursive//`; \
                     90:          echo making $$target in $$subdir;     \
                     91:          (cd $$subdir/src && $(MAKE) $$target) \
                     92:           || case "$(MFLAGS)" in *k*) fail=yes;; *) exit 1;; esac; \
                     93:        done && test -z "$$fail"
                     94: 
                     95: #
                     96: #      Hypertext supplied in text format
                     97: #
                     98: $(top_srcdir)/WELCOME : $(top_srcdir)/WELCOME.html
1.31    ! frystyk    99:     ifdef WWW
        !           100:          -$(WWW) -p -na $(top_srcdir)/WELCOME.html \
        !           101:                  -o $(top_srcdir)/WELCOME
        !           102:     endif
1.20      frystyk   103: 
                    104: $(top_srcdir)/README : $(top_srcdir)/README.html
1.31    ! frystyk   105:     ifdef WWW
        !           106:          -$(WWW) -p -na $(top_srcdir)/README.html \
        !           107:                  -o $(top_srcdir)/README
        !           108:     endif
1.20      frystyk   109: 
                    110: $(top_srcdir)/INSTALL : $(top_srcdir)/INSTALL.html
1.31    ! frystyk   111:     ifdef WWW
        !           112:          -$(WWW) -p -na $(top_srcdir)/INSTALL.html \
        !           113:                  -o $(top_srcdir)/INSTALL
        !           114:     endif
1.20      frystyk   115: 
                    116: $(top_srcdir)/TODO : $(top_srcdir)/Library/User/ToDo.html
1.31    ! frystyk   117:     ifdef WWW
1.30      frystyk   118:          -$(CP) $(top_srcdir)/Library/User/ToDo.html $(top_srcdir)/TODO.html
1.31    ! frystyk   119:          -$(WWW) -p -na $(top_srcdir)/TODO.html \
        !           120:                  -o $(top_srcdir)/TODO
        !           121:     endif
1.20      frystyk   122: 
                    123: $(top_srcdir)/NEWS : $(top_srcdir)/Library/User/ReleaseNotes.html
1.31    ! frystyk   124:     ifdef WWW
1.30      frystyk   125:          -$(CP) $(top_srcdir)/Library/User/ReleaseNotes.html $(top_srcdir)/NEWS.html
1.31    ! frystyk   126:          -$(WWW) -p -na $(top_srcdir)/NEWS.html \
        !           127:                  -o $(top_srcdir)/NEWS
        !           128:     endif
1.20      frystyk   129: 
                    130: $(top_srcdir)/COPYRIGH : $(top_srcdir)/COPYRIGHT.html
1.31    ! frystyk   131:     ifdef WWW
        !           132:          -$(WWW) -p -na $(top_srcdir)/COPYRIGHT.html \
        !           133:                  -o $(top_srcdir)/COPYRIGH
        !           134:     endif
1.20      frystyk   135: 
                    136: $(top_srcdir)/PATCHES : $(top_srcdir)/PATCHES.html
1.31    ! frystyk   137:     ifdef WWW
        !           138:          -$(WWW) -p -na $(top_srcdir)/PATCHES.html \
        !           139:                  -o $(top_srcdir)/PATCHES
        !           140:     endif
1.20      frystyk   141: 
                    142: $(top_srcdir)/CERN : $(top_srcdir)/CERN.html
1.31    ! frystyk   143:     ifdef WWW
        !           144:          -$(WWW) -p -na $(top_srcdir)/CERN.html \
        !           145:                  -o $(top_srcdir)/CERN
        !           146:     endif

Webmaster