diff options
author | Mikael Ronstrom <mikael@mysql.com> | 2009-02-20 00:42:00 +0100 |
---|---|---|
committer | Mikael Ronstrom <mikael@mysql.com> | 2009-02-20 00:42:00 +0100 |
commit | 81f55219c2b3bc04135dc197ac150f084fc7e25a (patch) | |
tree | 7df37c4df0e8cf8a133fc6efd9ab96fd690bc2bf /include/Makefile.am | |
parent | b9e0d8c450ff2e4527160728ffd1e94d95f20e57 (diff) | |
download | mariadb-git-81f55219c2b3bc04135dc197ac150f084fc7e25a.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/Makefile.am')
-rw-r--r-- | include/Makefile.am | 6 |
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.% |