diff options
Diffstat (limited to 'include/Makefile.am')
-rw-r--r-- | include/Makefile.am | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/include/Makefile.am b/include/Makefile.am index 0bf4f70d3a4..8163f41e09e 100644 --- a/include/Makefile.am +++ b/include/Makefile.am @@ -69,6 +69,12 @@ my_config.h: config.h dist-hook: $(RM) -f $(distdir)/mysql_version.h $(distdir)/my_config.h +dtrace_sources: + if ! test -f probes_mysql.d ; then \ + $(CP) -f $(top_srcdir)/include/probes_mysql.d probes_mysql.d; \ + fi + echo timestamp > dtrace_sources + DTRACEPROVIDER = probes_mysql.d if HAVE_DTRACE BUILT_SOURCES += probes_mysql_dtrace.h @@ -78,12 +84,6 @@ CLEANFILES += probes_mysql_dtrace.h # then we copy the probes from the source location and use that # If we are building in the same directory as the source, we do not copy -dtrace_sources: - if ! test -f probes_mysql.d ; then \ - $(CP) -f $(top_srcdir)/include/probes_mysql.d probes_mysql.d; \ - fi - echo timestamp > dtrace_sources - probes_mysql_dtrace.h: $(DTRACEPROVIDER) $(DTRACE) $(DTRACEFLAGS) -h -s $(DTRACEPROVIDER) -o $@ endif |