From 7ccf75d384dd852f7aa51b44663546dd3c6baa83 Mon Sep 17 00:00:00 2001 From: Mathieu Desnoyers Date: Thu, 16 Feb 2012 12:20:36 -0500 Subject: [PATCH] Install easy-ust and gen-tp examples in doc/ Signed-off-by: Mathieu Desnoyers --- Makefile.am | 3 ++- configure.ac | 2 ++ doc/Makefile.am | 3 +++ doc/examples/Makefile.am | 9 +++++++++ .../easy_ust => doc/examples/easy-ust}/Makefile | 0 doc/examples/easy-ust/sample | Bin 0 -> 14112 bytes .../easy_ust => doc/examples/easy-ust}/sample.c | 0 .../easy-ust}/sample_component_provider.h | 0 {tests/easy_ust => doc/examples/easy-ust}/tp.c | 0 {tests => doc/examples}/gen-tp/Makefile | 0 {tests => doc/examples}/gen-tp/sample.c | 0 .../examples}/gen-tp/sample_tracepoint.tp | 0 12 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 doc/Makefile.am create mode 100644 doc/examples/Makefile.am rename {tests/easy_ust => doc/examples/easy-ust}/Makefile (100%) create mode 100755 doc/examples/easy-ust/sample rename {tests/easy_ust => doc/examples/easy-ust}/sample.c (100%) rename {tests/easy_ust => doc/examples/easy-ust}/sample_component_provider.h (100%) rename {tests/easy_ust => doc/examples/easy-ust}/tp.c (100%) rename {tests => doc/examples}/gen-tp/Makefile (100%) rename {tests => doc/examples}/gen-tp/sample.c (100%) rename {tests => doc/examples}/gen-tp/sample_tracepoint.tp (100%) diff --git a/Makefile.am b/Makefile.am index bc2f4420..e231e085 100644 --- a/Makefile.am +++ b/Makefile.am @@ -6,7 +6,8 @@ SUBDIRS = . include snprintf libringbuffer liblttng-ust-comm \ liblttng-ust-fork \ liblttng-ust-libc-wrapper \ tools \ - tests + tests \ + doc if BUILD_JNI_INTERFACE SUBDIRS += liblttng-ust-java diff --git a/configure.ac b/configure.ac index 9c452708..6acad6d3 100644 --- a/configure.ac +++ b/configure.ac @@ -253,6 +253,8 @@ AS_IF([test "x$with_sdt" = "xyes"],[ AC_CONFIG_FILES([ Makefile + doc/Makefile + doc/examples/Makefile include/Makefile include/lttng/ust-version.h snprintf/Makefile diff --git a/doc/Makefile.am b/doc/Makefile.am new file mode 100644 index 00000000..c32f24fe --- /dev/null +++ b/doc/Makefile.am @@ -0,0 +1,3 @@ +SUBDIRS = . examples + +#dist_man_MANS = man/lttng-ust.3 diff --git a/doc/examples/Makefile.am b/doc/examples/Makefile.am new file mode 100644 index 00000000..f825f8b4 --- /dev/null +++ b/doc/examples/Makefile.am @@ -0,0 +1,9 @@ +doc_examples_easy_ustdir = ${docdir}/examples/easy-ust +doc_examples_gen_tpdir = ${docdir}/examples/gen-tp + +dist_doc_examples_easy_ust_DATA = easy-ust/Makefile \ + easy-ust/sample.c \ + easy-ust/sample_component_provider.h easy-ust/tp.c + +dist_doc_examples_gen_tp_DATA = gen-tp/Makefile \ + gen-tp/sample.c gen-tp/sample_tracepoint.tp diff --git a/tests/easy_ust/Makefile b/doc/examples/easy-ust/Makefile similarity index 100% rename from tests/easy_ust/Makefile rename to doc/examples/easy-ust/Makefile diff --git a/doc/examples/easy-ust/sample b/doc/examples/easy-ust/sample new file mode 100755 index 0000000000000000000000000000000000000000..a9419b474e508485c73f6d1ebb96919aa897bb53 GIT binary patch literal 14112 zcmds8eRN#Kb)Vg}Y}we-TK+)TrYuAzhDPg;f+N65o@}jo0@(;-r+k^G)$UqaSnV$R zVFa~YO(4Qli+0J(}Vao5FX9?_`r^yV{$1PYeWxboBM}D4fVn3J1qTQ>nS{@5G z$D;9Ue{+A!>gLr~`O^viD(Sx$6;kZ3-?&9qP0b-Yi*S+c`M4-_#D8<^!GE~nr(J8d ze>Aw`->*Ft->F@=e=c|naFHI_tiv@M7uCs$>Y0g)nmh+r1Fl)PF2F_UeA-nHxf!^~ zA4+7G68X>lg&(nGs2gFV%l+fqd7sNYZS73L$PcP-ZQy5Tk|RT|=iYg2$H=|6E_rs} z*}BvJ@;)`CYMO}(N#B{e0kCg&-X|zjlE1J@Jr7r@hhpo)zh0x{lL}|06;a^i$>xZBN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