TIVI-153: Add as dependency for iputils
[profile/ivi/opensp.git] / Makefile.am
1 ## Process this file with automake to produce Makefile.in
2
3 AUTOMAKE_OPTIONS = check-news
4
5 SUBDIRS = pubtext unicode doc \
6         include generic \
7         intl po \
8         lib nsgmls spent spam sgmlnorm sx spcat \
9         tests @DOCSRC@
10
11 pkginclude_HEADERS = config.h
12
13 docdir = $(datadir)/doc
14 pkgdocdir = $(docdir)/@PACKAGE@
15
16 pkgdoc_DATA = README ABOUT-NLS NEWS COPYING AUTHORS BUGS ChangeLog
17
18 BUILT_SOURCES = config.h msggen.pl
19
20 # these are not in CVS and get generated by 'automake --add-missing'
21 MAINTAINERCLEANFILES = 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.
26 EXTRA_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
30 dist-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
38 dist-zip: distdir
39         -chmod -R a+r $(distdir)
40         zip -rql $(distdir).zip $(distdir)
41         -rm -rf $(distdir)
42
43
44 ACLOCAL_AMFLAGS = -I m4