xwords/xwords4/Makefile

19 lines
426 B
Makefile
Raw Permalink Normal View History

2003-12-09 06:21:42 +01:00
tags:
etags $$(find . -name '*.c' -print \
2003-12-09 06:21:42 +01:00
-o -name '*.h' -print \
2010-01-25 03:09:08 +01:00
-o -name '*.cpp' -print \
)
FILES=""; \
for f in $$(find android/ -name '*.java' -o -name '*.xml'); do \
DIR=$$(dirname $$f); \
if [ -e $$DIR/.gitignore ]; then \
if grep -q $$(basename $$f) $$DIR/.gitignore; then \
echo "skipping $$f"; \
f=""; \
fi; \
fi; \
[ "$$f" != "" ] && FILES="$$FILES $$f"; \
done; \
etags -a $$FILES