Annotation of libwww/Makefile.am, revision 1.23
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.23 ! frystyk 4: # @(#) $Id: Makefile.am,v 1.22 1998/02/05 21:24:57 frystyk Exp $
1.20 frystyk 5:
6: FTP = /afs/w3.org/devel/Dist/$(PROD)
7:
8: # .h files are distributed but originally are made from the
9: # self-documenting hypertext files.
10: SUFFIXES = .html
11:
12: BUILT_SOURCES = \
13: WELCOME \
14: README \
15: INSTALL \
16: NEWS \
17: TODO \
18: COPYRIGH \
19: PATCHES \
20: CERN
21:
22: legal : $(BUILT_SOURCES)
23: @echo Generated built sources
24:
25: EXTRA_DIST = \
26: $(BUILT_SOURCES) \
27: WELCOME.html \
28: README.html \
29: INSTALL.html \
30: COPYRIGHT.html \
31: PATCHES.html \
32: CERN.html
33:
34: #
35: # We do not have _all_ GNU files so add this to avoid warnings
36: #
37: AUTOMAKE_OPTIONS = foreign
38:
39: #
40: # These are the sub directories
41: #
42: SUBDIRS = config Library PICS-client LineMode Robot ComLine Listen Icons
43:
44: # Extra distribution files in zip format and in compress
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
52: # checks fail. Also, make sure the NEWS file is up-to-date.
53: CVSDIRS = Library LineMode Robot ComLine MiniServ Listen
54: cvs-tag:
55: cvs -q tag -F `echo "Release-$(VERSION)" | sed 's/\./-/g'` $(CVSDIRS)
56:
57: cvs-export-member:
58: for subdir in $(CVSDIRS); do \
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:
67: for subdir in $(CVSDIRS); do \
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'`; \
77: prevno=`echo "$(VERSION)" - 0.01 | bc | sed 's/^\./0./'`; \
78: prevver=Release-`echo $$prevno | sed 's/\./-/g'`; \
79: cvs -f rdiff -c -r $$prevver -r $$thisver $(PACKAGE) \
80: > $(PACKAGE)-$$prevno-$(VERSION).diff
81:
82: FULLDIRS = $(CVSDIRS) PICS-client
83: inc:
84: for subdir in $(FULLDIRS); do \
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: #
94: $(top_srcdir)/WELCOME : $(top_srcdir)/WELCOME.html
95: www -p -na $(top_srcdir)/WELCOME.html \
96: -o $(top_srcdir)/WELCOME
97:
98: $(top_srcdir)/README : $(top_srcdir)/README.html
99: www -p -na $(top_srcdir)/README.html \
100: -o $(top_srcdir)/README
101:
102: $(top_srcdir)/INSTALL : $(top_srcdir)/INSTALL.html
103: www -p -na $(top_srcdir)/INSTALL.html \
104: -o $(top_srcdir)/INSTALL
105:
106: $(top_srcdir)/TODO : $(top_srcdir)/Library/User/ToDo.html
107: www -p -na $(top_srcdir)/Library/User/ToDo.html \
108: -o $(top_srcdir)/TODO
109:
110: $(top_srcdir)/NEWS : $(top_srcdir)/Library/User/ReleaseNotes.html
111: www -p -na $(top_srcdir)/Library/User/ReleaseNotes.html \
112: -o $(top_srcdir)/NEWS
113:
114: $(top_srcdir)/COPYRIGH : $(top_srcdir)/COPYRIGHT.html
115: www -p -na $(top_srcdir)/COPYRIGHT.html \
116: -o $(top_srcdir)/COPYRIGH
117:
118: $(top_srcdir)/PATCHES : $(top_srcdir)/PATCHES.html
119: www -p -na $(top_srcdir)/PATCHES.html \
120: -o $(top_srcdir)/PATCHES
121:
122: $(top_srcdir)/CERN : $(top_srcdir)/CERN.html
123: www -p -na $(top_srcdir)/CERN.html \
124: -o $(top_srcdir)/CERN
Webmaster