diff options
author | Ted Gould <ted@canonical.com> | 2009-10-16 14:47:28 -0500 |
---|---|---|
committer | Ted Gould <ted@canonical.com> | 2009-10-16 14:47:28 -0500 |
commit | f4f482c9f5a87ac7544e45f53f02117a50abf2d6 (patch) | |
tree | 6fb06ead8a003ac42cf6b4a8ae4dd7d2868f603e | |
parent | 174af37491735bc078dcfe6a0bf19457d374a709 (diff) | |
download | libayatana-appindicator-f4f482c9f5a87ac7544e45f53f02117a50abf2d6.tar.gz libayatana-appindicator-f4f482c9f5a87ac7544e45f53f02117a50abf2d6.tar.bz2 libayatana-appindicator-f4f482c9f5a87ac7544e45f53f02117a50abf2d6.zip |
Some small changes to make 'distcheck' happy.
-rw-r--r-- | Makefile.am.enum | 10 | ||||
-rw-r--r-- | src/Makefile.am | 2 |
2 files changed, 7 insertions, 5 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 diff --git a/src/Makefile.am b/src/Makefile.am index 07f3887..ff5b26e 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -52,7 +52,7 @@ lib_LTLIBRARIES = \ libcustomindicatorincludedir=$(includedir)/libcustomindicator-0.1/libcustomindicator libcustomindicator_headers = \ - libcustomindicator/custom-indicator.h + $(srcdir)/libcustomindicator/custom-indicator.h libcustomindicatorinclude_HEADERS = \ $(libcustomindicator_headers) \ |