You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by pi...@apache.org on 2007/06/21 10:44:09 UTC

svn commit: r549429 - in /webservices/axis2/trunk/c: ./ samples/ samples/client/ samples/client/echo/ samples/client/google/ samples/client/math/ samples/client/mtom/ samples/client/mtom/resources/ samples/client/notify/ samples/client/yahoo/ samples/s...

Author: pini
Date: Thu Jun 21 01:44:08 2007
New Revision: 549429

URL: http://svn.apache.org/viewvc?view=rev&rev=549429
Log:
Installing samples to 'make install' target

Added:
    webservices/axis2/trunk/c/copy_samples.sh
Modified:
    webservices/axis2/trunk/c/Makefile.am
    webservices/axis2/trunk/c/samples/Makefile.am
    webservices/axis2/trunk/c/samples/client/Makefile.am
    webservices/axis2/trunk/c/samples/client/echo/Makefile.am
    webservices/axis2/trunk/c/samples/client/google/Makefile.am
    webservices/axis2/trunk/c/samples/client/math/Makefile.am
    webservices/axis2/trunk/c/samples/client/mtom/Makefile.am
    webservices/axis2/trunk/c/samples/client/mtom/resources/Makefile.am
    webservices/axis2/trunk/c/samples/client/notify/Makefile.am
    webservices/axis2/trunk/c/samples/client/yahoo/Makefile.am
    webservices/axis2/trunk/c/samples/server/Calculator/Makefile.am
    webservices/axis2/trunk/c/samples/server/Makefile.am
    webservices/axis2/trunk/c/samples/server/echo/Makefile.am
    webservices/axis2/trunk/c/samples/server/math/Makefile.am
    webservices/axis2/trunk/c/samples/server/mtom/Makefile.am
    webservices/axis2/trunk/c/samples/server/notify/Makefile.am
    webservices/axis2/trunk/c/samples/server/sg_math/Makefile.am
    webservices/axis2/trunk/c/samples/user_guide/Makefile.am
    webservices/axis2/trunk/c/samples/user_guide/clients/Makefile.am

Modified: webservices/axis2/trunk/c/Makefile.am
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/Makefile.am?view=diff&rev=549429&r1=549428&r2=549429
==============================================================================
--- webservices/axis2/trunk/c/Makefile.am (original)
+++ webservices/axis2/trunk/c/Makefile.am Thu Jun 21 01:44:08 2007
@@ -2,12 +2,12 @@
 logsdir=$(prefix)/logs
 docsdir=$(prefix)/docs
 includedir=$(prefix)/include/axis2-1.1
-
+samplesdir=$(prefix)/samples
 pkgconfigdir = $(libdir)/pkgconfig
 pkgconfig_DATA = axis2c.pc
-
+samples_DATA=
 SUBDIRS = util $(GUTHTHILA_DIR) axiom neethi src $(TESTDIR) include ides
-include_HEADERS=$(top_builddir)/include/*.h
+include_HEADERS=$(top_builddir)/include/*.h 
 data_DATA= samples/server/axis2.xml README \
 	INSTALL CREDITS COPYING NEWS NOTICE config.guess missing install-sh depcomp config.sub ltmain.sh
 
@@ -37,4 +37,6 @@
 	tar -cf - axis2c-bin-${PACKAGE_VERSION}-linux | gzip -c > axis2c-bin-${PACKAGE_VERSION}-linux.tar.gz
 	rm -rf axis2c-bin-${PACKAGE_VERSION}-linux
 
-
+install-data-hook:
+	cp -rf samples/* $(samplesdir)
+	sh copy_samples.sh $(prefix)

Added: webservices/axis2/trunk/c/copy_samples.sh
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/copy_samples.sh?view=auto&rev=549429
==============================================================================
--- webservices/axis2/trunk/c/copy_samples.sh (added)
+++ webservices/axis2/trunk/c/copy_samples.sh Thu Jun 21 01:44:08 2007
@@ -0,0 +1,6 @@
+cd $1
+find -name "*.svn" |xargs rm -rf
+find -name "*.libs" |xargs rm -rf
+find -name "*.deps" |xargs rm -rf
+find -name "Makefile" |xargs rm -rf
+find -name "autom4te.cache" |xargs rm -rf

Modified: webservices/axis2/trunk/c/samples/Makefile.am
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/samples/Makefile.am?view=diff&rev=549429&r1=549428&r2=549429
==============================================================================
--- webservices/axis2/trunk/c/samples/Makefile.am (original)
+++ webservices/axis2/trunk/c/samples/Makefile.am Thu Jun 21 01:44:08 2007
@@ -1,8 +1,4 @@
-samplesdir=$(prefix)/samples
-samples_DATA=AUTHORS autogen.sh ChangeLog configure.ac Makefile.am NEWS README configure Makefile.in config.h.in INSTALL COPYING ../install-sh ../config.guess ../ltmain.sh ../depcomp ../missing ../config.sub
 SUBDIRS = server client user_guide
-install-data-hook:
-	chmod 755 $(samplesdir)/configure $(samplesdir)/autogen.sh
 
 dist-hook:
 	rm -rf `find $(distdir)/ -type d -name .svn`

Modified: webservices/axis2/trunk/c/samples/client/Makefile.am
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/samples/client/Makefile.am?view=diff&rev=549429&r1=549428&r2=549429
==============================================================================
--- webservices/axis2/trunk/c/samples/client/Makefile.am (original)
+++ webservices/axis2/trunk/c/samples/client/Makefile.am Thu Jun 21 01:44:08 2007
@@ -1,4 +1,2 @@
-clientdir=$(prefix)/samples/client
 SUBDIRS = echo math google notify mtom yahoo
-client_DATA = Makefile.am Makefile.in
 EXTRA_DIST= Makefile.am

Modified: webservices/axis2/trunk/c/samples/client/echo/Makefile.am
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/samples/client/echo/Makefile.am?view=diff&rev=549429&r1=549428&r2=549429
==============================================================================
--- webservices/axis2/trunk/c/samples/client/echo/Makefile.am (original)
+++ webservices/axis2/trunk/c/samples/client/echo/Makefile.am Thu Jun 21 01:44:08 2007
@@ -1,7 +1,5 @@
 prgbindir=$(prefix)/bin/samples
 prgbin_PROGRAMS = echo
-samplesdir=$(prefix)/samples/client/echo
-samples_DATA=echo.c README.txt Makefile.am Makefile.in
 echo_SOURCES = echo.c
 
 echo_LDADD   = $(LDFLAGS) \

Modified: webservices/axis2/trunk/c/samples/client/google/Makefile.am
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/samples/client/google/Makefile.am?view=diff&rev=549429&r1=549428&r2=549429
==============================================================================
--- webservices/axis2/trunk/c/samples/client/google/Makefile.am (original)
+++ webservices/axis2/trunk/c/samples/client/google/Makefile.am Thu Jun 21 01:44:08 2007
@@ -1,7 +1,5 @@
 prgbindir=$(prefix)/bin/samples
-samplesdir=$(prefix)/samples/client/google
 prgbin_PROGRAMS = google
-samples_DATA=google_client.c Makefile.am README.txt Makefile.in
 google_SOURCES = google_client.c
 
 google_LDADD   =    $(LDFLAGS) \

Modified: webservices/axis2/trunk/c/samples/client/math/Makefile.am
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/samples/client/math/Makefile.am?view=diff&rev=549429&r1=549428&r2=549429
==============================================================================
--- webservices/axis2/trunk/c/samples/client/math/Makefile.am (original)
+++ webservices/axis2/trunk/c/samples/client/math/Makefile.am Thu Jun 21 01:44:08 2007
@@ -1,8 +1,6 @@
 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 Makefile.am Makefile.in
 math_SOURCES = axis2_math_stub.c \
                 math_client.c
 

Modified: webservices/axis2/trunk/c/samples/client/mtom/Makefile.am
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/samples/client/mtom/Makefile.am?view=diff&rev=549429&r1=549428&r2=549429
==============================================================================
--- webservices/axis2/trunk/c/samples/client/mtom/Makefile.am (original)
+++ webservices/axis2/trunk/c/samples/client/mtom/Makefile.am Thu Jun 21 01:44:08 2007
@@ -1,8 +1,6 @@
 SUBDIRS=resources
 prgbindir=$(prefix)/bin/samples
 prgbin_PROGRAMS = mtom
-samplesdir=$(prefix)/samples/client/mtom
-samples_DATA=mtom_client.c Makefile.am Makefile.in
 
 mtom_SOURCES = mtom_client.c
 

Modified: webservices/axis2/trunk/c/samples/client/mtom/resources/Makefile.am
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/samples/client/mtom/resources/Makefile.am?view=diff&rev=549429&r1=549428&r2=549429
==============================================================================
--- webservices/axis2/trunk/c/samples/client/mtom/resources/Makefile.am (original)
+++ webservices/axis2/trunk/c/samples/client/mtom/resources/Makefile.am Thu Jun 21 01:44:08 2007
@@ -1,6 +1,4 @@
-resourcesdir=$(prefix)/samples/client/mtom/resources
 samplesdir=$(prefix)/bin/samples/resources
 samples_DATA=axis2.jpg 
-resources_DATA=Makefile.am Makefile.in axis2.jpg
 EXTRA_DIST=axis2.jpg
 

Modified: webservices/axis2/trunk/c/samples/client/notify/Makefile.am
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/samples/client/notify/Makefile.am?view=diff&rev=549429&r1=549428&r2=549429
==============================================================================
--- webservices/axis2/trunk/c/samples/client/notify/Makefile.am (original)
+++ webservices/axis2/trunk/c/samples/client/notify/Makefile.am Thu Jun 21 01:44:08 2007
@@ -1,7 +1,5 @@
 prgbindir=$(prefix)/bin/samples
 prgbin_PROGRAMS = notify
-samplesdir=$(prefix)/samples/client/notify
-samples_DATA=notify_client.c Makefile.am Makefile.in
 notify_SOURCES = notify_client.c
 
 notify_LDADD   =  \

Modified: webservices/axis2/trunk/c/samples/client/yahoo/Makefile.am
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/samples/client/yahoo/Makefile.am?view=diff&rev=549429&r1=549428&r2=549429
==============================================================================
--- webservices/axis2/trunk/c/samples/client/yahoo/Makefile.am (original)
+++ webservices/axis2/trunk/c/samples/client/yahoo/Makefile.am Thu Jun 21 01:44:08 2007
@@ -1,7 +1,5 @@
 prgbindir=$(prefix)/bin/samples
-samplesdir=$(prefix)/samples/client/google
 prgbin_PROGRAMS = yahoosearch
-samples_DATA=yahoo_client.c Makefile.am Makefile.in
 yahoosearch_SOURCES = yahoo_client.c
 
 yahoosearch_LDADD   =    $(LDFLAGS) \

Modified: webservices/axis2/trunk/c/samples/server/Calculator/Makefile.am
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/samples/server/Calculator/Makefile.am?view=diff&rev=549429&r1=549428&r2=549429
==============================================================================
--- webservices/axis2/trunk/c/samples/server/Calculator/Makefile.am (original)
+++ webservices/axis2/trunk/c/samples/server/Calculator/Makefile.am Thu Jun 21 01:44:08 2007
@@ -1,7 +1,5 @@
 prglibdir=$(prefix)/services/Calculator
-samplesdir=$(prefix)/samples/server/Calculator
 prglib_LTLIBRARIES = libCalculator.la
-samples_DATA=services.xml calc.h calc.c calc_skeleton.c Makefile.am Makefile.in
 prglib_DATA=services.xml
 EXTRA_DIST = services.xml Calculator.mk
 noinst_HEADERS = calc.h

Modified: webservices/axis2/trunk/c/samples/server/Makefile.am
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/samples/server/Makefile.am?view=diff&rev=549429&r1=549428&r2=549429
==============================================================================
--- webservices/axis2/trunk/c/samples/server/Makefile.am (original)
+++ webservices/axis2/trunk/c/samples/server/Makefile.am Thu Jun 21 01:44:08 2007
@@ -1,5 +1,3 @@
-samplesdir=$(prefix)/samples/server
 SUBDIRS = echo math notify sg_math mtom Calculator
 EXTRA_DIST = axis2.xml axis2.log 
-samples_DATA= axis2.log  axis2.xml  Makefile.am Makefile.in
 

Modified: webservices/axis2/trunk/c/samples/server/echo/Makefile.am
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/samples/server/echo/Makefile.am?view=diff&rev=549429&r1=549428&r2=549429
==============================================================================
--- webservices/axis2/trunk/c/samples/server/echo/Makefile.am (original)
+++ webservices/axis2/trunk/c/samples/server/echo/Makefile.am Thu Jun 21 01:44:08 2007
@@ -1,7 +1,5 @@
 prglibdir=$(prefix)/services/echo
-samplesdir=$(prefix)/samples/server/echo
 prglib_LTLIBRARIES = libecho.la
-samples_DATA=echo.c echo_skeleton.c echo.h services.xml Makefile.am Makefile.in
 prglib_DATA= services.xml
 EXTRA_DIST = services.xml echo.mk
 noinst_HEADERS = echo.h

Modified: webservices/axis2/trunk/c/samples/server/math/Makefile.am
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/samples/server/math/Makefile.am?view=diff&rev=549429&r1=549428&r2=549429
==============================================================================
--- webservices/axis2/trunk/c/samples/server/math/Makefile.am (original)
+++ webservices/axis2/trunk/c/samples/server/math/Makefile.am Thu Jun 21 01:44:08 2007
@@ -1,7 +1,5 @@
 prglibdir=$(prefix)/services/math
-samplesdir=$(prefix)/samples/server/math
 prglib_LTLIBRARIES = libmath.la
-samples_DATA=services.xml  math.h math.c math_skeleton.c Makefile.am Makefile.in
 prglib_DATA=services.xml 
 EXTRA_DIST = services.xml math.mk
 noinst_HEADERS = math.h

Modified: webservices/axis2/trunk/c/samples/server/mtom/Makefile.am
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/samples/server/mtom/Makefile.am?view=diff&rev=549429&r1=549428&r2=549429
==============================================================================
--- webservices/axis2/trunk/c/samples/server/mtom/Makefile.am (original)
+++ webservices/axis2/trunk/c/samples/server/mtom/Makefile.am Thu Jun 21 01:44:08 2007
@@ -1,7 +1,5 @@
 prglibdir=$(prefix)/services/mtom
-samplesdir=$(prefix)/samples/server/mtom
 prglib_LTLIBRARIES = libmtom.la
-samples_DATA=mtom.c mtom_skeleton.c mtom.h services.xml Makefile.am Makefile.in
 prglib_DATA= services.xml
 EXTRA_DIST = services.xml mtom.mk
 noinst_HEADERS = mtom.h

Modified: webservices/axis2/trunk/c/samples/server/notify/Makefile.am
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/samples/server/notify/Makefile.am?view=diff&rev=549429&r1=549428&r2=549429
==============================================================================
--- webservices/axis2/trunk/c/samples/server/notify/Makefile.am (original)
+++ webservices/axis2/trunk/c/samples/server/notify/Makefile.am Thu Jun 21 01:44:08 2007
@@ -1,7 +1,5 @@
 prglibdir=$(prefix)/services/notify
-samplesdir=$(prefix)/samples/server/notify
 prglib_LTLIBRARIES = libnotify.la
-samples_DATA=notify.c notify_skeleton.c notify.h services.xml Makefile.am Makefile.in
 prglib_DATA= services.xml
 EXTRA_DIST = services.xml notify.mk
 noinst_HEADERS = notify.h

Modified: webservices/axis2/trunk/c/samples/server/sg_math/Makefile.am
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/samples/server/sg_math/Makefile.am?view=diff&rev=549429&r1=549428&r2=549429
==============================================================================
--- webservices/axis2/trunk/c/samples/server/sg_math/Makefile.am (original)
+++ webservices/axis2/trunk/c/samples/server/sg_math/Makefile.am Thu Jun 21 01:44:08 2007
@@ -1,12 +1,5 @@
 prglibdir=$(prefix)/services/sg_math
-samplesdir=$(prefix)/samples/server/sg_math
 prglib_LTLIBRARIES = libadd.la libsub.la libmul.la libdiv.la
-samples_DATA=services.xml \
-                add.h add.c add_skeleton.c \
-                sub.h sub.c sub_skeleton.c \
-                mul.h mul.c mul_skeleton.c \
-                div.h div.c div_skeleton.c \
-                Makefile.am Makefile.in
 prglib_DATA=services.xml
 EXTRA_DIST = services.xml sg_math.mk
 noinst_HEADERS = add.h sub.h mul.h div.h

Modified: webservices/axis2/trunk/c/samples/user_guide/Makefile.am
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/samples/user_guide/Makefile.am?view=diff&rev=549429&r1=549428&r2=549429
==============================================================================
--- webservices/axis2/trunk/c/samples/user_guide/Makefile.am (original)
+++ webservices/axis2/trunk/c/samples/user_guide/Makefile.am Thu Jun 21 01:44:08 2007
@@ -1,3 +1 @@
-user_guidedir=$(prefix)/samples/user_guide
 SUBDIRS = clients
-user_guide_DATA=Makefile.am Makefile.in

Modified: webservices/axis2/trunk/c/samples/user_guide/clients/Makefile.am
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/samples/user_guide/clients/Makefile.am?view=diff&rev=549429&r1=549428&r2=549429
==============================================================================
--- webservices/axis2/trunk/c/samples/user_guide/clients/Makefile.am (original)
+++ webservices/axis2/trunk/c/samples/user_guide/clients/Makefile.am Thu Jun 21 01:44:08 2007
@@ -1,8 +1,5 @@
 prgbindir=$(prefix)/bin/samples
 prgbin_PROGRAMS = echo_blocking echo_non_blocking echo_blocking_addr echo_rest echo_blocking_dual echo_non_blocking_dual echo_blocking_soap11
-samplesdir=$(prefix)/samples/user_guide/clients
-samples_DATA=echo_util.h echo_util.c echo_blocking.c echo_non_blocking.c echo_blocking_addr.c echo_rest.c \
-    Makefile.am Makefile.in echo_blocking_dual.c echo_non_blocking_dual.c echo_blocking_soap11.c
 
 echo_blocking_SOURCES = echo_blocking.c echo_util.c
 echo_non_blocking_SOURCES = echo_non_blocking.c echo_util.c



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org