1## Process this file with automake to produce Makefile.in
2
3AUTOMAKE_OPTIONS = check-news
4
5SUBDIRS = pubtext unicode doc \
6	include generic \
7	intl po \
8	lib nsgmls spent spam sgmlnorm sx spcat \
9	tests @DOCSRC@
10
11pkginclude_HEADERS = config.h
12
13docdir = $(datadir)/doc
14pkgdocdir = $(docdir)/@PACKAGE@
15
16pkgdoc_DATA = README ABOUT-NLS NEWS COPYING AUTHORS BUGS ChangeLog
17
18BUILT_SOURCES = config.h msggen.pl
19
20# these are not in CVS and get generated by 'automake --add-missing'
21MAINTAINERCLEANFILES = install-sh mkinstalldirs missing \
22	config.guess config.sub	ltconfig ltmain.sh INSTALL \
23	Makefile.in
24## Note that we include the windows-only aux files.
25## We include msggen.pl, since it won't be generated on Windows.
26EXTRA_DIST = mkinstalldirs  instmac.pl msggen.pl sunfix.sh SP.dsw SP.mak \
27	build-win32.bat sp-generate.mak .cvsignore all/README all/all.dsp \
28	@PACKAGE@-@VERSION@.spec config.rpath BUGS autoinit.sh
29
30dist-hook:
31	mv $(distdir)/include/config.h.old $(distdir)/config.h
32	if test -f $(top_srcdir)/update-changelog; then \
33	  cd $(top_srcdir); \
34	  ./update-changelog; \
35	  cp $(top_srcdir)/ChangeLog $(top_distdir); \
36	fi
37
38dist-zip: distdir
39	-chmod -R a+r $(distdir)
40	zip -rql $(distdir).zip $(distdir)
41	-rm -rf $(distdir)
42
43
44ACLOCAL_AMFLAGS = -I m4
45