aboutsummaryrefslogtreecommitdiff
path: root/Makefile.am.enum
diff options
context:
space:
mode:
authorTed Gould <ted@canonical.com>2009-10-16 14:47:28 -0500
committerTed Gould <ted@canonical.com>2009-10-16 14:47:28 -0500
commitf4f482c9f5a87ac7544e45f53f02117a50abf2d6 (patch)
tree6fb06ead8a003ac42cf6b4a8ae4dd7d2868f603e /Makefile.am.enum
parent174af37491735bc078dcfe6a0bf19457d374a709 (diff)
downloadayatana-indicator-application-f4f482c9f5a87ac7544e45f53f02117a50abf2d6.tar.gz
ayatana-indicator-application-f4f482c9f5a87ac7544e45f53f02117a50abf2d6.tar.bz2
ayatana-indicator-application-f4f482c9f5a87ac7544e45f53f02117a50abf2d6.zip
Some small changes to make 'distcheck' happy.
Diffstat (limited to 'Makefile.am.enum')
-rw-r--r--Makefile.am.enum10
1 files changed, 6 insertions, 4 deletions
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