]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
lttng: Prevent creation of incorrect .o files when generating from .tp
authorAdam Crume <adamcrume@gmail.com>
Fri, 27 Jun 2014 22:38:24 +0000 (15:38 -0700)
committerSage Weil <sage@redhat.com>
Thu, 21 Aug 2014 17:57:28 +0000 (10:57 -0700)
Signed-off-by: Adam Crume <adamcrume@gmail.com>
src/tracing/Makefile.am

index 9cae3cf7a65b9a6ee688844cb3b0571c18f3f99e..fce8c3d865522609d1f0c6c25d4699e708432d7e 100644 (file)
@@ -1,6 +1,5 @@
 %.c %.h: %.tp
-       $(LTTNG_GEN_TP_PROG) $<
-       rm -f $<.o
+       $(LTTNG_GEN_TP_PROG) $< -o $*.c -o $*.h
 
 dist_noinst_DATA = \
        librados.tp \