From e8a0be48951074cee01f20282ddd3e68c5f57080 Mon Sep 17 00:00:00 2001 From: Martin Willi Date: Tue, 14 Apr 2009 10:49:12 +0000 Subject: [PATCH] fixed proposal_keywords.c generation in out-of-tree builds --- src/charon/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/charon/Makefile.am b/src/charon/Makefile.am index cc1cffdaa..13c87105e 100644 --- a/src/charon/Makefile.am +++ b/src/charon/Makefile.am @@ -112,7 +112,7 @@ EXTRA_DIST = config/proposal_keywords.txt MAINTAINERCLEANFILES = config/proposal_keywords.c config/proposal_keywords.c: config/proposal_keywords.txt config/proposal_keywords.h - $(GPERF) -C -G -c -t < $< > $@ + (cd `dirname $<` && $(GPERF) -C -G -c -t < `basename $<` > `basename $@` ) # compile options #################