[geany/geany] ae7ecd: autotools: Fix generating geanyfunctions.h in out-of-tree builds

Colomban Wendling git-noreply at xxxxx
Sun Mar 15 14:38:42 UTC 2015


Branch:      refs/heads/master
Author:      Colomban Wendling <ban at herbesfolles.org>
Committer:   Colomban Wendling <ban at herbesfolles.org>
Date:        Sun, 15 Mar 2015 14:38:42 UTC
Commit:      ae7ecde1dff2ea3a91ee14df0346f852007ab3ea
             https://github.com/geany/geany/commit/ae7ecde1dff2ea3a91ee14df0346f852007ab3ea

Log Message:
-----------
autotools: Fix generating geanyfunctions.h in out-of-tree builds


Modified Paths:
--------------
    plugins/Makefile.am

Modified: plugins/Makefile.am
4 lines changed, 2 insertions(+), 2 deletions(-)
===================================================================
@@ -16,8 +16,8 @@ plugins_include_HEADERS = \
 	geanyfunctions.h
 
 # systems without python should continue to build OK
-geanyfunctions.h: genapi.py ../src/plugins.c
-	python genapi.py || true
+$(srcdir)/geanyfunctions.h: $(srcdir)/genapi.py $(srcdir)/../src/plugins.c
+	(cd "$(srcdir)" && python genapi.py ../src/plugins.c) || true
 
 all: geanyfunctions.h
 



--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).


More information about the Commits mailing list