[xslt] [patch]fix make dist bug



testplugin.c is not included in current cvs snapshots on xmlsoft.org.
it seems make dist was not correctly handling the AM conditional in 
tests/plugins/Makefile.am.

the patch below fixes this such that dist tarballs include testplugin.c

jr
--- libxslt-1.1.12-orig/tests/plugins/Makefile.am	2005-01-20 23:27:16.000000000 -0500
+++ libxslt-1.1.12/tests/plugins/Makefile.am	2005-02-06 19:34:05.000000000 -0500
@@ -9,15 +9,16 @@ $(top_builddir)/xsltproc/xsltproc:
 
 EXTRA_DIST = plugin.out	plugin.xml plugin.xsl
 
-all:
-
-if WITH_MODULES
 pkglib_LTLIBRARIES = xmlsoft_org_xslt_testplugin.la
 
 xmlsoft_org_xslt_testplugin_la_CFLAGS = -DMODULE_COMPILE $(LIBXML_CFLAGS) $(LIBXSLT_CFLAGS)
 xmlsoft_org_xslt_testplugin_la_SOURCES = testplugin.c
 xmlsoft_org_xslt_testplugin_la_LDFLAGS = -module -avoid-version $(LIBXML_LIBS) $(XSLT_LIBS)
 
+all:
+
+if WITH_MODULES
+
 test-logall:
 	@echo '## Running plugin tests'
 	@echo '##  Note: installing xmlsoft_org_xslt_testplugin.so'


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]