source: trunk/third/libxslt/Makefile.am @ 20733

Revision 20733, 1.9 KB checked in by ghudson, 20 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r20732, which included commits to RCS files with non-trunk default branches.
Line 
1SUBDIRS = \
2        libxslt \
3        libexslt \
4        xsltproc \
5        doc \
6        @PYTHON_SUBDIR@ \
7        tests
8
9DIST_SUBDIRS = libxslt libexslt xsltproc python doc tests
10
11confexecdir=$(libdir)
12confexec_DATA = xsltConf.sh
13
14bin_SCRIPTS = xslt-config
15
16dist-hook: cleanup libxslt.spec
17        (cd $(srcdir) ; tar -cf - --exclude CVS win32 vms examples) | (cd $(distdir); tar xf -)
18
19EXTRA_DIST = xsltConf.sh.in xslt-config.in libxslt.spec libxslt.spec.in \
20             FEATURES TODO Copyright libxslt.m4 \
21             win32/libxslt/libxslt.def win32/libxslt/libxslt.dsw \
22             win32/libxslt/libxslt_so.dsp win32/libxslt/xsltproc.dsp \
23             $(CVS_EXTRA_DIST)
24
25## We create xsltConf.sh here and not from configure because we want
26## to get the paths expanded correctly.  Macros like srcdir are given
27## the value NONE in configure if the user doesn't specify them (this
28## is an autoconf feature, not a bug).
29
30xsltConf.sh: xsltConf.sh.in Makefile
31## Use sed and then mv to avoid problems if the user interrupts.
32        sed -e 's?\@XSLT_LIBDIR\@?$(XSLT_LIBDIR)?g' \
33            -e 's?\@XSLT_INCLUDEDIR\@?$(XSLT_INCLUDEDIR)?g' \
34            -e 's?\@VERSION\@?$(VERSION)?g' \
35            -e 's?\@XSLT_LIBS\@?$(XSLT_LIBS)?g' \
36               < $(srcdir)/xsltConf.sh.in > xsltConf.tmp \
37        && mv xsltConf.tmp xsltConf.sh
38
39CLEANFILES = xsltConf.sh
40
41check-local: tests
42
43dummy:
44
45tests: dummy
46        @echo '## Running the regression test suite'
47        @(cd tests ; $(MAKE) MAKEFLAGS+=--silent tests)
48        @(if [ "@PYTHON_SUBDIR@" != "" ] ; then cd python ; $(MAKE) MAKEFLAGS+=--silent tests ; fi)
49
50valgrind:
51        @echo '## Running the regression tests under Valgrind'
52        @echo '## Go get a cup of coffee it is gonna take a while ...'
53        @(cd tests ; $(MAKE) CHECKER='valgrind -q' tests)
54
55cleanup:
56        -@(find . -name .\#\* -exec rm {} \;)
57
58cleantar:
59        @(rm -f libxslt*.tar.gz)
60
61rpm: cleantar
62        @(unset CDPATH ; $(MAKE) dist && rpmbuild -ta $(distdir).tar.gz)
63
64
65pkgconfigdir=$(libdir)/pkgconfig
66pkgconfig_DATA = libxslt.pc libexslt.pc
67
68m4datadir = $(datadir)/aclocal
69m4data_DATA = libxslt.m4
70
Note: See TracBrowser for help on using the repository browser.