]> git.ipfire.org Git - location/libloc.git/commitdiff
Makefile: Automatically add all tools/ to POTFILE.in
authorMichael Tremer <michael.tremer@ipfire.org>
Mon, 7 Apr 2025 09:19:14 +0000 (09:19 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Mon, 7 Apr 2025 09:19:14 +0000 (09:19 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Makefile.am

index d77cefaac6787a662fa73aa87cab84840e77d841..4faec210761a8237697d25d9b63bbf3fa68dd850 100644 (file)
@@ -78,7 +78,8 @@ update-po: po/POTFILES.in
        $(MAKE) -C po update-po
 
 po/POTFILES.in: Makefile
-       find $(abs_srcdir)/src -type f \( -name '*.in' -o -name '*.py' \) \
+       find $(abs_srcdir)/src $(abs_srcdir)/tools \
+               -type f \( -name '*.in' -o -name '*.py' \) \
                \! -exec git check-ignore -q {} \; -print | \
                sed -e "s@$(abs_srcdir)/@@g" | LC_ALL=C sort > $@