From 6ba903ad027399f67e8758dd14a6559b36af56ef Mon Sep 17 00:00:00 2001 From: Mikael Ronstrom Date: Sat, 21 Feb 2009 09:12:08 +0100 Subject: dtrace_sources also needed for non-DTrace builds --- include/Makefile.am | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'include/Makefile.am') 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 -- cgit v1.2.1