fixed proposal_keywords.c generation in out-of-tree builds
authorMartin Willi <martin@strongswan.org>
Tue, 14 Apr 2009 10:49:12 +0000 (10:49 -0000)
committerMartin Willi <martin@strongswan.org>
Tue, 14 Apr 2009 10:49:12 +0000 (10:49 -0000)
src/charon/Makefile.am

index cc1cffd..13c8710 100644 (file)
@@ -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
 #################