summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMikael Ronstrom <mikael@mysql.com>2009-02-20 00:42:00 +0100
committerMikael Ronstrom <mikael@mysql.com>2009-02-20 00:42:00 +0100
commit1d30c15ad6babb810aaf14ebe3c1a9d5df054a04 (patch)
tree7df37c4df0e8cf8a133fc6efd9ab96fd690bc2bf /include
parentc65ab05f9dafd451fabee7519b5d41412837fa9e (diff)
downloadmariadb-git-1d30c15ad6babb810aaf14ebe3c1a9d5df054a04.tar.gz
Fixed DTrace bug where probes_mysql_nodtrace.h wasn't properly
created in the case when DTrace wasn't defined.
Diffstat (limited to 'include')
-rw-r--r--include/Makefile.am6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/Makefile.am b/include/Makefile.am
index 9326901bd6e..a083482e32a 100644
--- a/include/Makefile.am
+++ b/include/Makefile.am
@@ -69,17 +69,17 @@ my_config.h: config.h
dist-hook:
$(RM) -f $(distdir)/mysql_version.h $(distdir)/my_config.h
+DTRACEPROVIDER = $(abs_top_srcdir)/sql/probes_mysql.d
if HAVE_DTRACE
BUILT_SOURCES += probes_mysql_dtrace.h
CLEANFILES += probes_mysql_dtrace.h
-DTRACEPROVIDER = $(abs_top_srcdir)/sql/probes_mysql.d
probes_mysql_dtrace.h: $(DTRACEPROVIDER)
- $(DTRACE) $(DTRACEFLAGS) -h -s $< -o $@
+ $(DTRACE) $(DTRACEFLAGS) -h -s $(DTRACEPROVIDER) -o $@
endif
probes_mysql_nodtrace.h: $(DTRACEPROVIDER)
- $(abs_top_srcdir)/scripts/dheadgen.pl -f $^ > $@
+ $(abs_top_srcdir)/scripts/dheadgen.pl -f $(DTRACEPROVIDER) > $@
# Don't update the files from bitkeeper
%::SCCS/s.%