osmith has uploaded this change for review.

View Change

gen_makefile.py: follow symlinks with find

Prepare for the next patch, with which {src_proj} may be a subdir in
osmocom-bb.

Change-Id: Ie15e74e61b16cef5e189e4e2a272b7d2061547c6
---
M gen_makefile.py
1 file changed, 2 insertions(+), 2 deletions(-)

git pull ssh://gerrit.osmocom.org:29418/osmo-dev refs/changes/45/27445/1
diff --git a/gen_makefile.py b/gen_makefile.py
index 03523df..2e9cc24 100755
--- a/gen_makefile.py
+++ b/gen_makefile.py
@@ -173,12 +173,12 @@
return r'''
### {proj} ###

-{proj}_configure_files := $(shell find {src_proj} \
+{proj}_configure_files := $(shell find -L {src_proj} \
-name "Makefile.am" \
-or -name "*.in" \
-and -not -name "Makefile.in" \
-and -not -name "config.h.in" 2>/dev/null)
-{proj}_files := $(shell find {src_proj} \
+{proj}_files := $(shell find -L {src_proj} \
\( \
-name "*.[hc]" \
-or -name "*.py" \

To view, visit change 27445. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: osmo-dev
Gerrit-Branch: master
Gerrit-Change-Id: Ie15e74e61b16cef5e189e4e2a272b7d2061547c6
Gerrit-Change-Number: 27445
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <osmith@sysmocom.de>
Gerrit-MessageType: newchange