dist: Force po-docs/libguestfs-docs.pot to be rebuilt

It's not ideal to delete this file, but it seems like the only way to
force make to really rebuild it.
This commit is contained in:
Richard W.M. Jones
2025-01-08 12:10:33 +00:00
parent 48d3264573
commit b875c5e6b0

View File

@@ -206,8 +206,12 @@ maintainer-upload-website:
# docs/C_SOURCE_FILES
# - source files scanned for internal documentation
# po/POTFILES - files with ordinary extensions, but not OCaml files
# po-docs/libguestfs-docs.pot
# - combined list of strings from documentation
dist-hook: docs/C_SOURCE_FILES po/POTFILES
rm -f po-docs/libguestfs-docs.pot
$(MAKE) -C po-docs libguestfs-docs.pot
# This has to be in the top-level Makefile.am so that we have access
# to DIST_SUBDIRS.