Browse Source

2005-04-25 Paul Jakma <paul.jakma@sun.com>

	* Makefile.am: Refer to source files via srcdir variable, fix
	  out-of-tree build breakage.
paul 15 years ago
parent
commit
ab59ae3519
2 changed files with 7 additions and 2 deletions
  1. 5 0
      lib/ChangeLog
  2. 2 2
      lib/Makefile.am

+ 5 - 0
lib/ChangeLog

@@ -1,3 +1,8 @@
+2005-04-25 Paul Jakma <paul.jakma@sun.com>
+
+	* Makefile.am: Refer to source files via srcdir variable, fix
+	  out-of-tree build breakage.
+
 2005-04-22 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
 
 	* thread.h: Fix type for struct thread_master add_type: should be

+ 2 - 2
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)