VirtualBox

source: vbox/trunk/src/libs/libxslt-1.1.22/Makefile.am@ 8198

Last change on this file since 8198 was 7296, checked in by vboxsync, 17 years ago

Added libxslt-1.1.22 sources.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Date Revision Author Id
File size: 2.0 KB
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 --exclude .svn win32 vms examples) | (cd $(distdir); tar xf -)
18
19CVS_EXTRA_DIST =
20
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 \
24 win32/libxslt/libxslt_so.dsp win32/libxslt/xsltproc.dsp \
25 $(CVS_EXTRA_DIST)
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
41CLEANFILES = xsltConf.sh
42
43check-local: tests
44
45dummy:
46
47tests: dummy
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)
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
57cleanup:
58 -@(find . -name .\#\* -exec rm {} \;)
59
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
68pkgconfig_DATA = libxslt.pc libexslt.pc
69
70m4datadir = $(datadir)/aclocal
71m4data_DATA = libxslt.m4
72
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette