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

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