Annotation of libwww/Makefile.am, revision 1.32
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.32 ! frystyk 4: # @(#) $Id: Makefile.am,v 1.31 1998/08/13 22:27:44 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);
29:
30: # We do not have _all_ GNU files so add this to avoid warnings
1.20 frystyk 31: AUTOMAKE_OPTIONS = foreign
32:
1.25 frystyk 33: # These are the sub directories
1.29 frystyk 34: SUBDIRS = config Library PICS-client LineMode Robot ComLine WinCom Icons
1.20 frystyk 35:
1.25 frystyk 36: # Extra distribution files in zip format and in compress
1.20 frystyk 37: dist-hook:
38: chmod -R a+r $(distdir)
39: zip -rq $(distdir).zip $(distdir)
40: $(TAR) chof $(distdir).tar $(distdir)
41: compress -f $(distdir).tar
42:
43: # Tag before making distribution. Also, don't make a distribution if
1.25 frystyk 44: # checks fail.
1.27 frystyk 45: CVSSTUFF = config Library PICS-client LineMode Robot ComLine \
1.26 frystyk 46: Makefile.am acconfig.h acinclude.m4 aclocal.m4 wwwconf.h.in configure.in
1.25 frystyk 47:
48: # If not indicated otherwise then use this to make the CVS diff with
49: PREVIOUS_VERSION = @PREVIOUS_VERSION@
50:
1.20 frystyk 51: cvs-tag:
1.25 frystyk 52: cvs -q tag -F `echo "Release-$(VERSION)" | sed 's/\./-/g'` $(CVSSTUFF)
1.20 frystyk 53:
54: cvs-export-member:
1.25 frystyk 55: for subdir in $(SUBDIRS); do \
1.20 frystyk 56: target=`echo $@ | sed s/-recursive//`; \
57: echo making $$target in $$subdir; \
58: rm -rf $$subdir/member; \
59: cvs export -d $$subdir/member \
1.21 jigsaw 60: -r `echo "Release-$(VERSION)" | sed 's/\./-/g'` WWW/$$subdir; \
1.20 frystyk 61: done && test -z "$$fail"
62:
63: cvs-export-pub:
1.25 frystyk 64: for subdir in $(SUBDIRS); do \
1.20 frystyk 65: target=`echo $@ | sed s/-recursive//`; \
66: echo making $$target in $$subdir; \
67: rm -rf $$subdir/pub; \
68: cvs export -d $$subdir/pub \
1.21 jigsaw 69: -r `echo "Release-$(VERSION)" | sed 's/\./-/g'` WWW/$$subdir; \
1.20 frystyk 70: done && test -z "$$fail"
71:
72: cvs-diff:
73: thisver=`echo "Release-$(VERSION)" | sed 's/\./-/g'`; \
1.25 frystyk 74: prevver=`echo "Release-$(PREVIOUS_VERSION)" | sed 's/\./-/g'`; \
75: cvs -f diff -w -c -r $$prevver -r $$thisver $(CVSSTUFF) \
76: > $(PACKAGE)-$(PREVIOUS_VERSION)-$(VERSION).diff
1.20 frystyk 77:
1.25 frystyk 78: # Generate the include files (normally done automaticly)
1.20 frystyk 79: inc:
1.25 frystyk 80: for subdir in $(SUBDIRS); do \
1.20 frystyk 81: target=`echo $@ | sed s/-recursive//`; \
82: echo making $$target in $$subdir; \
83: (cd $$subdir/src && $(MAKE) $$target) \
84: || case "$(MFLAGS)" in *k*) fail=yes;; *) exit 1;; esac; \
85: done && test -z "$$fail"
86:
87: #
88: # Hypertext supplied in text format
89: #
90: $(top_srcdir)/COPYRIGH : $(top_srcdir)/COPYRIGHT.html
1.31 frystyk 91: ifdef WWW
92: -$(WWW) -p -na $(top_srcdir)/COPYRIGHT.html \
93: -o $(top_srcdir)/COPYRIGH
94: endif
Webmaster