X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Fcommon%2FMakefile.am;h=97d0ecc9660b66a5b8b244487bef197ac7315efe;hb=03e431550191df8609f921c7b4054c57ee4644d8;hp=3a2f4f0b2f4242d00d0484fbe178d3891a6fdc01;hpb=0618d922718cc4c3089b5c9f9429c20749e89c51;p=lttng-tools.git diff --git a/src/common/Makefile.am b/src/common/Makefile.am index 3a2f4f0b2..97d0ecc96 100644 --- a/src/common/Makefile.am +++ b/src/common/Makefile.am @@ -41,3 +41,17 @@ if HAVE_LIBLTTNG_UST_CTL libconsumer_la_LIBADD += \ $(top_builddir)/src/common/ust-consumer/libust-consumer.la endif + +all-local: + @if [ x"$(srcdir)" != x"$(builddir)" ]; then \ + for script in $(EXTRA_DIST); do \ + cp -f $(srcdir)/$$script $(builddir); \ + done; \ + fi + +clean-local: + @if [ x"$(srcdir)" != x"$(builddir)" ]; then \ + for script in $(EXTRA_DIST); do \ + rm -f $(builddir)/$$script; \ + done; \ + fi