build: Ensure gio.stp.in is always distributed

Even if systemtap is not enabled in configure when running distcheck.

https://bugzilla.gnome.org/show_bug.cgi?id=662802
This commit is contained in:
Philip Withnall 2016-06-16 15:46:30 -04:00
parent 61c1e2db99
commit c9d661b431

View File

@ -776,11 +776,12 @@ CLEANFILES += gio_probes.h gio_probes.h.tmp
libgio_2_0_la_LIBADD += gio_probes.lo
endif
if ENABLE_SYSTEMTAP
tapset_in_files = gio.stp.in
EXTRA_DIST += $(tapset_in_files)
if ENABLE_SYSTEMTAP
tapsetdir = @ABS_TAPSET_DIR@
tapset_DATA = $(tapset_in_files:.stp.in=.stp)
EXTRA_DIST += $(tapset_in_files)
CLEANFILES += $(tapset_in_files:.stp.in=.stp)
$(tapset_DATA): %.stp: %.stp.in Makefile