tools/ppl: fix automake error due to use of obsolete directory name
[openwrt/svn-archive/archive.git] / tools / ppl / patches / 002-replace-pkglib_DATA.patch
1 --- a/interfaces/Prolog/Ciao/Makefile.am
2 +++ b/interfaces/Prolog/Ciao/Makefile.am
3 @@ -165,7 +165,7 @@ $(NO_UNDEFINED_FLAG) \
4 -module \
5 -avoid-version
6
7 -pkglib_DATA = ppl_ciao.po
8 +pkgdata_DATA = ppl_ciao.po
9
10 ppl_ciao.pl: $(interface_generator_dependencies)
11 $(M4) --prefix-builtin -I../.. -I$(srcdir)/.. -I$(srcdir)/../.. \
12 --- a/interfaces/Prolog/GNU/Makefile.am
13 +++ b/interfaces/Prolog/GNU/Makefile.am
14 @@ -164,7 +164,7 @@ ppl_gprolog.pl: $(interface_generator_de
15 $(M4) --prefix-builtin -I../.. -I$(srcdir)/.. -I$(srcdir)/../.. \
16 $(srcdir)/ppl_interface_generator_gprolog_pl.m4 > $@
17
18 -pkglib_DATA = ppl_gprolog.pl
19 +pkgdata_DATA = ppl_gprolog.pl
20
21 bin_PROGRAMS = ppl_gprolog
22
23 --- a/interfaces/Prolog/SICStus/Makefile.am
24 +++ b/interfaces/Prolog/SICStus/Makefile.am
25 @@ -68,7 +68,7 @@ ppl_sicstus_SOURCES =
26
27 if ENABLE_SHARED
28
29 -pkglib_DATA = ppl_sicstus.pl ppl_sicstus.s.o
30 +pkgdata_DATA = ppl_sicstus.pl ppl_sicstus.s.o
31
32 ppl_sicstus.so: ppl_sicstus.pl $(top_builddir)/src/libppl.la $(WATCHDOG_LIBRARY) libppl_sicstus.la
33 $(LIBTOOL) --mode=link --tag=CXX \
34 @@ -86,7 +86,7 @@ install-data-local: ppl_sicstus.so
35
36 else !ENABLE_SHARED
37
38 -pkglib_DATA = ppl_sicstus.pl
39 +pkgdata_DATA = ppl_sicstus.pl
40
41 endif !ENABLE_SHARED
42
43 --- a/interfaces/Prolog/SWI/Makefile.am
44 +++ b/interfaces/Prolog/SWI/Makefile.am
45 @@ -184,7 +184,7 @@ $(NO_UNDEFINED_FLAG) \
46 bin_PROGRAMS = ppl_pl
47 ppl_pl_SOURCES = ppl_pl.cc
48
49 -pkglib_DATA = ppl_swiprolog.pl
50 +pkgdata_DATA = ppl_swiprolog.pl
51
52 CLPQ_TESTS_NONSTRICT = \
53 ack.clpq \
54 --- a/interfaces/Prolog/XSB/Makefile.am
55 +++ b/interfaces/Prolog/XSB/Makefile.am
56 @@ -183,7 +183,7 @@ $(NO_UNDEFINED_FLAG) \
57 -module \
58 -avoid-version
59
60 -pkglib_DATA = ppl_xsb.xwam
61 +pkgdata_DATA = ppl_xsb.xwam
62
63 ppl_xsb.xwam: ppl_xsb.H ppl_xsb.cc libppl_xsb.la
64 cp -f ppl_xsb.cc ppl_xsb.c
65 --- a/interfaces/Prolog/YAP/Makefile.am
66 +++ b/interfaces/Prolog/YAP/Makefile.am
67 @@ -173,7 +173,7 @@ $(NO_UNDEFINED_FLAG) \
68 -module \
69 -avoid-version
70
71 -pkglib_DATA = ppl_yap.pl
72 +pkgdata_DATA = ppl_yap.pl
73
74 CLPQ_TESTS_NONSTRICT = \
75 ack.clpq \