Browse Source

Fix create-pot

tags/v0.5.0
carmenbianca 2 months ago
parent
commit
4dcdc59eb9
Signed by: Carmen Bianca Bakker <carmenbianca@fsfe.org> GPG Key ID: 76EBA6F6B6EA2EC9
2 changed files with 10 additions and 2 deletions
  1. 1
    1
      Makefile
  2. 9
    1
      po/POTFILES.in

+ 1
- 1
Makefile View File

@@ -88,7 +88,7 @@ dist: clean-build clean-pyc clean-docs ## builds source and wheel package

.PHONY: create-pot
create-pot: ## generate .pot file
xgettext --add-comments --output=po/reuse.pot --files-from=po/POTFILES.in
xgettext --add-comments --from-code=utf-8 --output=po/reuse.pot --files-from=po/POTFILES.in
xgettext --add-comments --output=po/argparse.pot /usr/lib*/python3*/argparse.py
msgcat --output=po/reuse.pot po/reuse.pot po/argparse.pot


+ 9
- 1
po/POTFILES.in View File

@@ -1,6 +1,14 @@
# SPDX-FileCopyrightText: 2018 Free Software Foundation Europe e.V.
# SPDX-FileCopyrightText: 2019 Free Software Foundation Europe e.V.
#
# SPDX-License-Identifier: GPL-3.0-or-later

src/reuse/__init__.py
src/reuse/_main.py
src/reuse/_util.py
src/reuse/download.py
src/reuse/header.py
src/reuse/init.py
src/reuse/lint.py
src/reuse/project.py
src/reuse/report.py
src/reuse/spdx.py

Loading…
Cancel
Save