Annotation of libwww/Makefile.am, revision 1.26
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.26 ! frystyk 4: # @(#) $Id: Makefile.am,v 1.25 1998/03/22 21:39:28 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.20 frystyk 42: SUBDIRS = config Library PICS-client LineMode Robot ComLine Listen Icons
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.
53: CVSSTUFF = config Library PICS-client LineMode Robot ComLine Listen \
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
99: www -p -na $(top_srcdir)/WELCOME.html \
100: -o $(top_srcdir)/WELCOME
101:
102: $(top_srcdir)/README : $(top_srcdir)/README.html
103: www -p -na $(top_srcdir)/README.html \
104: -o $(top_srcdir)/README
105:
106: $(top_srcdir)/INSTALL : $(top_srcdir)/INSTALL.html
107: www -p -na $(top_srcdir)/INSTALL.html \
108: -o $(top_srcdir)/INSTALL
109:
110: $(top_srcdir)/TODO : $(top_srcdir)/Library/User/ToDo.html
111: www -p -na $(top_srcdir)/Library/User/ToDo.html \
112: -o $(top_srcdir)/TODO
113:
114: $(top_srcdir)/NEWS : $(top_srcdir)/Library/User/ReleaseNotes.html
115: www -p -na $(top_srcdir)/Library/User/ReleaseNotes.html \
116: -o $(top_srcdir)/NEWS
117:
118: $(top_srcdir)/COPYRIGH : $(top_srcdir)/COPYRIGHT.html
119: www -p -na $(top_srcdir)/COPYRIGHT.html \
120: -o $(top_srcdir)/COPYRIGH
121:
122: $(top_srcdir)/PATCHES : $(top_srcdir)/PATCHES.html
123: www -p -na $(top_srcdir)/PATCHES.html \
124: -o $(top_srcdir)/PATCHES
125:
126: $(top_srcdir)/CERN : $(top_srcdir)/CERN.html
127: www -p -na $(top_srcdir)/CERN.html \
128: -o $(top_srcdir)/CERN
Webmaster