[PATCH app-xfs] config: fix distcheck for config.cpp

Gaetan Nadon memsize at videotron.ca
Fri Sep 9 10:34:14 PDT 2011


The location of the file is in srcdir.
Problem introduced in commit 293b8b91

Signed-off-by: Gaetan Nadon <memsize at videotron.ca>
---
 config/Makefile.am |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/config/Makefile.am b/config/Makefile.am
index 4f8613e..99e38ae 100644
--- a/config/Makefile.am
+++ b/config/Makefile.am
@@ -32,6 +32,6 @@ CLEANFILES = config
 MAN_SUBSTS += -e 's|DEFAULTFONTPATH|$(FONTPATH)|g'
 MAN_SUBSTS += -e 's|FSERRORS|/var/log/xfs.log|g'
 
-config: config.cpp
-	$(AM_V_GEN)$(SED) $(MAN_SUBSTS) < config.cpp > $@
+config: $(srcdir)/config.cpp
+	$(AM_V_GEN)$(SED) $(MAN_SUBSTS) < $(srcdir)/config.cpp > $@
 
-- 
1.7.4.1



More information about the xorg-devel mailing list