changeset 465:33593bfe1aea

Use $(srcdir) in Make rules.
author Jeremy Henty <onepoint@starurchin.org>
date Wed, 17 Dec 2008 18:18:36 +0000
parents 357e9dae8d7a
children a5d7de7630d9
files dpid/Makefile.am
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/dpid/Makefile.am	Wed Dec 10 15:39:01 2008 -0300
+++ b/dpid/Makefile.am	Wed Dec 17 18:18:36 2008 +0000
@@ -24,6 +24,6 @@
 sysconf_DATA = dpidrc
 CLEANFILES = $(sysconf_DATA)
 
-dpidrc: dpidrc.in Makefile
-	sed -e 's|[@]libdir[@]|$(libdir)|' dpidrc.in > dpidrc
+dpidrc: $(srcdir)/dpidrc.in Makefile
+	sed -e 's|[@]libdir[@]|$(libdir)|' $(srcdir)/dpidrc.in > dpidrc