Hi all,

Previous patch is a wrong one. Sorry about that. The correct one is attached with this mail.

Thanks.

~sanjaya

http://sanjaya.8k.com

Sanjaya Ratnaweera wrote:

Hi all,

Currently sources of samples are not being installed by the 'install' target. Attached patch to install them to $prefix/samples. Please review and apply.

Thanks.

~sanjaya

--
http://sanjaya.8k.com


Index: samples/server/math/Makefile.am
===================================================================
--- samples/server/math/Makefile.am     (revision 384713)
+++ samples/server/math/Makefile.am     (working copy)
@@ -1,5 +1,7 @@
 prglibdir=$(prefix)/services/math
+samplesdir=$(prefix)/samples/server/math
 prglib_LTLIBRARIES = libmath.la
+samples_DATA=services.xml math.h math.c math_skeleton.c
 prglib_DATA=services.xml
 EXTRA_DIST = services.xml
 noinst_HEADERS = math.h
Index: samples/server/echo/Makefile.am
===================================================================
--- samples/server/echo/Makefile.am     (revision 384713)
+++ samples/server/echo/Makefile.am     (working copy)
@@ -1,5 +1,7 @@
 prglibdir=$(prefix)/services/echo
+samplesdir=$(prefix)/samples/server/echo
 prglib_LTLIBRARIES = libecho.la
+samples_DATA=echo.c echo_skeleton.c echo.h services.xml
 prglib_DATA= services.xml
 EXTRA_DIST = services.xml
 noinst_HEADERS = echo.h
Index: samples/client/addr_echo/Makefile.am
===================================================================
--- samples/client/addr_echo/Makefile.am        (revision 384705)
+++ samples/client/addr_echo/Makefile.am        (working copy)
@@ -1,5 +1,7 @@
 prgbindir=$(prefix)/bin/samples
 prgbin_PROGRAMS = addr_echo
+samplesdir=$(prefix)/samples/client/addr_echo
+samples_DATA=echo_client.c
 addr_echo_SOURCES = echo_client.c
 
 addr_echo_LDADD   =  \
Index: samples/client/math/Makefile.am
===================================================================
--- samples/client/math/Makefile.am     (revision 384705)
+++ samples/client/math/Makefile.am     (working copy)
@@ -1,6 +1,8 @@
 prgbindir=$(prefix)/bin/samples
+samplesdir=$(prefix)/samples/client/math
 prgbin_PROGRAMS = math
 noinst_HEADERS = axis2_math_stub.h
+samples_DATA=axis2_math_stub.c math_client.c axis2_math_stub.h
 math_SOURCES = axis2_math_stub.c \
                 math_client.c
 
Index: samples/client/google/Makefile.am
===================================================================
--- samples/client/google/Makefile.am   (revision 384705)
+++ samples/client/google/Makefile.am   (working copy)
@@ -1,5 +1,7 @@
 prgbindir=$(prefix)/bin/samples
+samplesdir=$(prefix)/samples/client/google
 prgbin_PROGRAMS = google
+samples_DATA=google_client.c
 google_SOURCES = google_client.c
 
 google_LDADD   =    $(LDFLAGS) \
Index: samples/client/echo/Makefile.am
===================================================================
--- samples/client/echo/Makefile.am     (revision 384705)
+++ samples/client/echo/Makefile.am     (working copy)
@@ -1,6 +1,8 @@
 prgbindir=$(prefix)/bin/samples
+samplesdir=$(prefix)/samples/client/echo
 prgbin_PROGRAMS = echo
 noinst_HEADERS = axis2_echo_stub.h
+samples_DATA=axis2_echo_stub.c echo_client.c axis2_echo_stub.h
 echo_SOURCES = axis2_echo_stub.c \
                 echo_client.c

Reply via email to