summaryrefslogtreecommitdiff
path: root/lib/Makefile.am
diff options
context:
space:
mode:
authorpaul <paul>2005-04-25 13:52:26 +0000
committerpaul <paul>2005-04-25 13:52:26 +0000
commitab59ae3519d986d4544ba1ca15d6c17b3f52f86b (patch)
treed95735cfce66337328c6503410f7b0d1fa1ff676 /lib/Makefile.am
parent74a2dd7b773e9f8db0f38c40b3e6e9b32d597a0a (diff)
2005-04-25 Paul Jakma <paul.jakma@sun.com>
* Makefile.am: Refer to source files via srcdir variable, fix out-of-tree build breakage.
Diffstat (limited to 'lib/Makefile.am')
-rw-r--r--lib/Makefile.am4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Makefile.am b/lib/Makefile.am
index 3913eb64..774a7f3d 100644
--- a/lib/Makefile.am
+++ b/lib/Makefile.am
@@ -29,5 +29,5 @@ pkginclude_HEADERS = \
EXTRA_DIST = regex.c regex-gnu.h memtypes.awk
-memtypes.h: memtypes.c memtypes.awk
- ($(GAWK) -f memtypes.awk memtypes.c > memtypes.h)
+memtypes.h: $(srcdir)/memtypes.c $(srcdir)/memtypes.awk
+ ($(GAWK) -f $(srcdir)/memtypes.awk $(srcdir)memtypes.c > memtypes.h)