[test/shaping] Add hb-update-manifests
This commit is contained in:
parent
d4de562adf
commit
a33e46cf7d
|
@ -1,10 +1,8 @@
|
||||||
# Process this file with automake to produce Makefile.in
|
# Process this file with automake to produce Makefile.in
|
||||||
|
|
||||||
manifests:
|
manifests:
|
||||||
@find "$(srcdir)/texts" -type d | while read d; do \
|
@$(srcdir)/hb-update-manifests "$(srcdir)/texts" "$(srcdir)/fonts"
|
||||||
echo " GEN $$d/MANIFEST"; \
|
|
||||||
(cd "$$d" && ls | grep -v MANIFEST | LANG=C sort > MANIFEST.tmp && mv MANIFEST.tmp MANIFEST || ($(RM) MANIFEST.tmp; false)); \
|
|
||||||
done; true
|
|
||||||
.PHONY: manifests
|
.PHONY: manifests
|
||||||
|
|
||||||
-include $(top_srcdir)/git.mk
|
-include $(top_srcdir)/git.mk
|
||||||
|
|
|
@ -0,0 +1,22 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
if test $# = 0; then
|
||||||
|
echo "Usage: $0 DIR..."
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
find "$@" -type d |
|
||||||
|
while read d; do
|
||||||
|
echo " GEN $d/MANIFEST";
|
||||||
|
(
|
||||||
|
cd "$d" &&
|
||||||
|
ls |
|
||||||
|
grep -v "MANIFEST\|README\|LICENSE\|COPYING\|SOURCE" |
|
||||||
|
LANG=C sort > MANIFEST.tmp &&
|
||||||
|
mv MANIFEST.tmp MANIFEST ||
|
||||||
|
(
|
||||||
|
rm -f MANIFEST.tmp
|
||||||
|
false
|
||||||
|
)
|
||||||
|
)
|
||||||
|
done
|
|
@ -1,3 +1,4 @@
|
||||||
|
lang
|
||||||
script-assamese
|
script-assamese
|
||||||
script-bengali
|
script-bengali
|
||||||
script-devanagari
|
script-devanagari
|
||||||
|
|
Loading…
Reference in New Issue