]> git.ipfire.org Git - pbs.git/commitdiff
Makefile: Automatically update POTFILES.in
authorMichael Tremer <michael.tremer@ipfire.org>
Wed, 12 Oct 2022 13:54:45 +0000 (13:54 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Wed, 12 Oct 2022 13:54:45 +0000 (13:54 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Makefile.am
po/POTFILES.in

index a8daded5ecf3c6cd828366e645dbe78abbb9b956..732c164474df1130c89604248314e66cb83f0a1f 100644 (file)
@@ -45,9 +45,15 @@ noinst_DATA =
 @INTLTOOL_POLICY_RULE@
 
 .PHONY: update-po
-update-po:
+update-po: po/POTFILES.in
        $(MAKE) -C po update-po
 
+po/POTFILES.in: Makefile
+       find $(abs_srcdir)/src -not -path "$(abs_srcdir)/src/third-party/*" | \
+               grep -E "\.(html|py|txt)(\.in)?$$" | \
+               sed -e "s@$(abs_srcdir)/@@g" | \
+               LC_COLLATE=C sort > $@
+
 DISTCHECK_CONFIGURE_FLAGS = \
        --with-systemdsystemunitdir=$$dc_install_base/$(systemdsystemunitdir)
 
index cbc201c03f005b4c7c4dbbf8091d06c011aa9fd4..0262b3e8754fc385fd3ad4f274ec350b35fcbcf0 100644 (file)
@@ -1,15 +1,24 @@
-src/buildservice/arches.py
+src/buildservice/__init__.py
+src/buildservice/__version__.py
+src/buildservice/__version__.py.in
+src/buildservice/aws.py
 src/buildservice/base.py
 src/buildservice/bugtracker.py
 src/buildservice/builders.py
 src/buildservice/builds.py
 src/buildservice/cache.py
+src/buildservice/config.py
 src/buildservice/constants.py
+src/buildservice/constants.py.in
 src/buildservice/database.py
+src/buildservice/decorators.py
 src/buildservice/distribution.py
+src/buildservice/events.py
 src/buildservice/git.py
-src/buildservice/__init__.py
+src/buildservice/jobqueue.py
+src/buildservice/jobs.py
 src/buildservice/keys.py
+src/buildservice/ldap.py
 src/buildservice/logs.py
 src/buildservice/messages.py
 src/buildservice/mirrors.py
@@ -19,54 +28,51 @@ src/buildservice/repository.py
 src/buildservice/sessions.py
 src/buildservice/settings.py
 src/buildservice/sources.py
-src/buildservice/updates.py
 src/buildservice/uploads.py
 src/buildservice/users.py
-src/buildservice/__version__.py.in
+src/hub/__init__.py
+src/hub/builds.py
+src/hub/handlers.py
+src/hub/jobs.py
+src/hub/queue.py
+src/hub/uploads.py
+src/static/robots.txt
 src/templates/base.html
-src/templates/build-bugs.html
+src/templates/bugs/modules/list.html
 src/templates/build-delete.html
-src/templates/build-detail.html
+src/templates/build-manage.html
+src/templates/build-schedule-test.html
+src/templates/build-state.html
 src/templates/builders/delete.html
 src/templates/builders/detail.html
 src/templates/builders/edit.html
 src/templates/builders/list.html
 src/templates/builders/new.html
-src/templates/builders/pass.html
-src/templates/build-filter.html
-src/templates/build-index.html
-src/templates/build-list.html
-src/templates/build-manage.html
-src/templates/build-priority.html
-src/templates/build-queue.html
-src/templates/build-schedule-test.html
-src/templates/builds/comments.html
-src/templates/build-state.html
 src/templates/builds-watchers-add.html
 src/templates/builds-watchers-list.html
-src/templates/distro-detail.html
+src/templates/builds/index.html
+src/templates/builds/modules/list.html
+src/templates/builds/show.html
 src/templates/distro-edit.html
-src/templates/distro-list.html
 src/templates/distro-source-commit-detail.html
 src/templates/distro-source-commit-reset.html
 src/templates/distro-source-commits.html
 src/templates/distro-source-detail.html
 src/templates/distro-update-detail.html
 src/templates/distro-update-edit.html
+src/templates/distros/index.html
+src/templates/distros/show.html
 src/templates/errors/error-400.html
 src/templates/errors/error-403.html
 src/templates/errors/error-404.html
 src/templates/errors/error.html
+src/templates/events/modules/list.html
+src/templates/events/modules/system-message.html
+src/templates/events/modules/user-message.html
 src/templates/file-detail.html
 src/templates/index.html
 src/templates/jobs-abort.html
 src/templates/jobs-buildroot.html
-src/templates/job-schedule-rebuild.html
-src/templates/job-schedule-test.html
-src/templates/jobs-detail.html
-src/templates/keys-delete.html
-src/templates/keys-import.html
-src/templates/keys-list.html
 src/templates/log.html
 src/templates/login.html
 src/templates/mirrors/delete.html
@@ -74,93 +80,73 @@ src/templates/mirrors/detail.html
 src/templates/mirrors/edit.html
 src/templates/mirrors/list.html
 src/templates/mirrors/new.html
-src/templates/modules/bugs-table.html
 src/templates/modules/build-headline.html
 src/templates/modules/build-log.html
 src/templates/modules/build-offset.html
 src/templates/modules/build-state-warnings.html
 src/templates/modules/build-table.html
-src/templates/modules/changelog/entry.html
-src/templates/modules/changelog/index.html
-src/templates/modules/comments-table.html
+src/templates/modules/commit-message.html
 src/templates/modules/commits-table.html
 src/templates/modules/files-table.html
-src/templates/modules/footer.html
-src/templates/modules/jobs/boxes.html
+src/templates/modules/jobs-table.html
 src/templates/modules/jobs/list.html
 src/templates/modules/jobs/status.html
-src/templates/modules/jobs-table.html
+src/templates/modules/link-to-user.html
 src/templates/modules/log-entry-comment.html
-src/templates/modules/log-entry.html
 src/templates/modules/log-entry-small.html
+src/templates/modules/log-entry.html
 src/templates/modules/log-files-table.html
-src/templates/modules/log.html
 src/templates/modules/log-table.html
+src/templates/modules/log.html
 src/templates/modules/modal-base.html
 src/templates/modules/modal-build-comment.html
 src/templates/modules/modal-build-push.html
 src/templates/modules/modal-build-unpush.html
 src/templates/modules/package-header.html
-src/templates/modules/packages/dependency-table.html
+src/templates/modules/package-table-detail.html
 src/templates/modules/packages-files-table.html
 src/templates/modules/packages-table.html
-src/templates/modules/package-table-detail.html
 src/templates/modules/repo-actions-table.html
-src/templates/modules/repository-table.html
 src/templates/modules/select/locale.html
 src/templates/modules/select/timezone.html
 src/templates/modules/source-table.html
-src/templates/modules/updates-table.html
-src/templates/modules/user-table.html
+src/templates/modules/text.html
 src/templates/modules/watchers-sidebar-table.html
-src/templates/package-detail.html
-src/templates/package-detail-list.html
 src/templates/package-properties.html
-src/templates/packages/builds/scratch.html
-src/templates/packages/builds/times.html
-src/templates/packages/changelog.html
 src/templates/packages/index.html
+src/templates/packages/modules/dependencies.html
+src/templates/packages/modules/info.html
+src/templates/packages/name.html
+src/templates/packages/show.html
 src/templates/packages/view-file.html
 src/templates/queue.html
-src/templates/register-activation-fail.html
-src/templates/register-activation-success.html
-src/templates/register-fail.html
-src/templates/register.html
-src/templates/register-success.html
-src/templates/repository-detail.html
-src/templates/repository-edit.html
-src/templates/search-form.html
-src/templates/search-results.html
-src/templates/sessions/index.html
+src/templates/repos/builds.html
+src/templates/repos/create-custom.html
+src/templates/repos/edit.html
+src/templates/repos/modules/list.html
+src/templates/repos/show.html
+src/templates/search.html
 src/templates/source-list.html
-src/templates/updates-index.html
-src/templates/uploads-list.html
-src/templates/user-delete.html
-src/templates/user-forgot-password.html
-src/templates/user-impersonation.html
-src/templates/user-list.html
-src/templates/user-profile-builds.html
-src/templates/user-profile-edit-fail.html
-src/templates/user-profile-edit.html
-src/templates/user-profile.html
-src/templates/user-profile-need-activation.html
-src/templates/user-profile-passwd.html
-src/templates/user-profile-passwd-ok.html
-src/hub/handlers.py
-src/hub/__init__.py
+src/templates/users/delete.html
+src/templates/users/edit.html
+src/templates/users/index.html
+src/templates/users/modules/list.html
+src/templates/users/show.html
 src/web/__init__.py
-src/web/api.py
 src/web/auth.py
 src/web/base.py
+src/web/bugs.py
 src/web/builders.py
 src/web/builds.py
 src/web/distributions.py
+src/web/errors.py
+src/web/events.py
 src/web/handlers.py
 src/web/jobs.py
 src/web/keys.py
 src/web/mirrors.py
 src/web/packages.py
+src/web/repos.py
 src/web/search.py
 src/web/ui_modules.py
-src/web/updates.py
 src/web/users.py