diff --git a/httpd/update_sources b/httpd/update_sources
new file mode 100755
index 0000000..a4101fe
--- /dev/null
+++ b/httpd/update_sources
@@ -0,0 +1,28 @@
+#!/bin/sh
+## kc3
+## Copyright 2022-2024 kmx.io <contact@kmx.io>
+##
+## Permission is hereby granted to use this software granted the above
+## copyright notice and this permission paragraph are included in all
+## copies and substantial portions of this software.
+##
+## THIS SOFTWARE IS PROVIDED "AS-IS" WITHOUT ANY GUARANTEE OF
+## PURPOSE AND PERFORMANCE. IN NO EVENT WHATSOEVER SHALL THE
+## AUTHOR BE CONSIDERED LIABLE FOR THE USE AND PERFORMANCE OF
+## THIS SOFTWARE.
+
+. ../config.subr
+
+echo "$PWD/update_sources"
+
+echo "# sources.mk generated by update_sources" > ${SOURCES_MK}
+echo "# sources.sh generated by update_sources" > ${SOURCES_SH}
+
+HEADERS="$(ls *.h | grep -v '^config.h$')"
+sources HEADERS "$HEADERS"
+
+SOURCES="$(ls *.c)"
+sources SOURCES "$SOURCES"
+
+update_sources_mk
+update_sources_sh
diff --git a/update_sources b/update_sources
index 641af67..8024891 100755
--- a/update_sources
+++ b/update_sources
@@ -56,11 +56,12 @@ sources KC3_EXTERNAL_SOURCES "$KC3_EXTERNAL_SOURCES"
update_sources_mk
update_sources_sh
-( cd libtommath && ./update_sources; )
-( cd libkc3 && ./update_sources; )
-( cd ikc3 && ./update_sources; )
-( cd kc3s && ./update_sources; )
-( cd ekc3 && ./update_sources; )
-( cd http && ./update_sources; )
-( cd test && ./update_sources; )
+( cd libtommath && ./update_sources; )
+( cd libkc3 && ./update_sources; )
+( cd ikc3 && ./update_sources; )
+( cd kc3s && ./update_sources; )
+( cd ekc3 && ./update_sources; )
+( cd http && ./update_sources; )
+( cd httpd && ./update_sources; )
+( cd test && ./update_sources; )
( cd libkc3_window && ./update_sources; )