Change in osmo-dev[master]: gen_makefile.py: reformat find cmds in Makefile

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

osmith gerrit-no-reply at lists.osmocom.org
Fri Oct 15 07:03:37 UTC 2021


osmith has submitted this change. ( https://gerrit.osmocom.org/c/osmo-dev/+/25736 )

Change subject: gen_makefile.py: reformat find cmds in Makefile
......................................................................

gen_makefile.py: reformat find cmds in Makefile

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

Approvals:
  pespin: Looks good to me, but someone else must approve
  dexter: Looks good to me, but someone else must approve
  osmith: Looks good to me, approved; Verified



diff --git a/gen_makefile.py b/gen_makefile.py
index c08ca4e..e6a9480 100755
--- a/gen_makefile.py
+++ b/gen_makefile.py
@@ -167,8 +167,17 @@
   return r'''
 ### {proj} ###
 
-{proj}_configure_files := $(shell find {src_proj} -name "Makefile.am" -or -name "*.in" -and -not -name "Makefile.in" -and -not -name "config.h.in" )
-{proj}_files := $(shell find {src_proj} -name "*.[hc]" -or -name "*.py" -or -name "*.cpp" -or -name "*.tpl" -or -name "*.map")
+{proj}_configure_files := $(shell find {src_proj} \
+    -name "Makefile.am" \
+    -or -name "*.in" \
+    -and -not -name "Makefile.in" \
+    -and -not -name "config.h.in" )
+{proj}_files := $(shell find {src_proj} \
+    -name "*.[hc]" \
+    -or -name "*.py" \
+    -or -name "*.cpp" \
+    -or -name "*.tpl" \
+    -or -name "*.map")
 
 .make.{proj}.clone:
 	@echo -e "\n\n\n===== $@\n"

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-dev/+/25736
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-dev
Gerrit-Branch: master
Gerrit-Change-Id: Ic2fad22fdbf0fec4abfaeae60b4ebd74563a9392
Gerrit-Change-Number: 25736
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <osmith at sysmocom.de>
Gerrit-Reviewer: dexter <pmaier at sysmocom.de>
Gerrit-Reviewer: neels <nhofmeyr at sysmocom.de>
Gerrit-Reviewer: osmith <osmith at sysmocom.de>
Gerrit-Reviewer: pespin <pespin at sysmocom.de>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20211015/946262da/attachment.htm>


More information about the gerrit-log mailing list