From f4f482c9f5a87ac7544e45f53f02117a50abf2d6 Mon Sep 17 00:00:00 2001 From: Ted Gould Date: Fri, 16 Oct 2009 14:47:28 -0500 Subject: Some small changes to make 'distcheck' happy. --- Makefile.am.enum | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'Makefile.am.enum') diff --git a/Makefile.am.enum b/Makefile.am.enum index 208dee3..0f1a637 100644 --- a/Makefile.am.enum +++ b/Makefile.am.enum @@ -24,10 +24,11 @@ BUILT_SOURCES += $(glib_enum_h) $(glib_enum_c) EXTRA_DIST += $(enum_tmpl_h) $(enum_tmpl_c) stamp-enum-types: $(glib_enum_headers) + mkdir -p `dirname $(builddir)/$(glib_enum_h)` $(QUIET_GEN)$(GLIB_MKENUMS) \ - --template $(enum_tmpl_h) \ + --template $(srcdir)/$(enum_tmpl_h) \ $(glib_enum_headers) > xgen-eh \ - && (cmp -s xgen-eh $(glib_enum_h) || cp -f xgen-eh $(glib_enum_h)) \ + && (cmp -s xgen-eh $(builddir)/$(glib_enum_h) || cp -f xgen-eh $(builddir)/$(glib_enum_h)) \ && rm -f xgen-eh \ && echo timestamp > $(@F) @@ -35,9 +36,10 @@ $(glib_enum_h): stamp-enum-types @true $(glib_enum_c): $(glib_enum_h) + mkdir -p `dirname $(builddir)/$(glib_enum_c)` $(QUIET_GEN)$(GLIB_MKENUMS) \ - --template $(enum_tmpl_c) \ + --template $(srcdir)/$(enum_tmpl_c) \ $(glib_enum_headers) > xgen-ec \ - && cp -f xgen-ec $(glib_enum_c) \ + && cp -f xgen-ec $(builddir)/$(glib_enum_c) \ && rm -f xgen-ec -- cgit v1.2.3