summaryrefslogtreecommitdiffstats
path: root/Makefile.am
diff options
context:
space:
mode:
authorRichard Jones <rjones@trick.home.annexia.org>2009-07-16 17:15:40 +0100
committerRichard Jones <rjones@trick.home.annexia.org>2009-07-16 17:15:40 +0100
commitfd6fecea052b608db0e7b328b1b4a2669258a66f (patch)
tree28ff1fd84d7c9cea6a8422d06d4b18ebb829761c /Makefile.am
parent7428b0a70caed014d0cb4126fe8a77432d8957c6 (diff)
downloadlibguestfs-fd6fecea052b608db0e7b328b1b4a2669258a66f.tar.gz
libguestfs-fd6fecea052b608db0e7b328b1b4a2669258a66f.tar.xz
libguestfs-fd6fecea052b608db0e7b328b1b4a2669258a66f.zip
Miscellaneous fixes for non-srcdir builds.
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index b425ddd5..0e468b58 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -155,12 +155,13 @@ dist-hook:
# Update the list of translatable files in po/POTFILES.in.
all-local:
+ cd $(srcdir); \
find -name '*.c' -o -name '*.pl' -o -name '*.pm' | \
grep -v '/blib/' | \
grep -v '/capitests/' | \
grep -v '/examples/' | \
sort | \
- sed 's,^\./,,' > $(srcdir)/po/POTFILES.in
+ sed 's,^\./,,' > po/POTFILES.in
# Pkgconfig.