diff --git a/update_sources b/update_sources
index 9936f55..075cf32 100755
--- a/update_sources
+++ b/update_sources
@@ -3,6 +3,8 @@ set -e
. ./config.subr
+echo "$PWD/update_sources"
+
echo "# sources.mk generated by update_sources" > ${SOURCES_MK}
echo "# sources.sh generated by update_sources" > ${SOURCES_SH}
@@ -34,7 +36,7 @@ license.h
sources.mk
sources.sh
$(find img -name '*.png' -or -name '*.jpg' -or -name '*.jpeg' -or -name '*.xcf')
-$(find lib -name '*.facts')
+$(find lib -name '*.facts' -or -name '*.c3')
$(find libc3 test -name '*.rb')
$(find fonts -name '*.otf' -or -name '*.ttf')
$(find test -name '*.expected' -or -name '*.facts' -or -name '*.in' -or -name '*.lisp')
@@ -42,10 +44,11 @@ test/ic3_test
test/zero"
sources C3_OTHER_SOURCES "$C3_OTHER_SOURCES"
-C3_EXTERNAL_SOURCES="$(find linenoise ucd2c \( -name '.*' -prune \) -or -type f -print)
-$(find libtommath -name '*.c' -or -name '*.h')
+C3_EXTERNAL_SOURCES="$(find libtommath linenoise -name '*.[ch]')
libtommath/LICENSE
-libtommath/README.md"
+libtommath/README.md
+linenoise/LICENSE
+linenoise/README.markdown"
sources C3_EXTERNAL_SOURCES "$C3_EXTERNAL_SOURCES"
update_sources_mk
@@ -56,4 +59,5 @@ update_sources_sh
( cd ic3 && ./update_sources; )
( cd c3s && ./update_sources; )
( cd test && ./update_sources; )
+( cd libc3_web && ./update_sources; )
( cd libc3_window && ./update_sources; )