summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2020-05-07 14:01:09 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2020-05-07 14:01:09 +0200
commit06689b8d11abaab4003f5b459b53ecc52c7be14c (patch)
treed351be45a1ca49645420537348b98426c86c9e75
parentdd1e33c8dc30c4d30e65688dabff7c66a456675e (diff)
downloadsystemd-06689b8d11abaab4003f5b459b53ecc52c7be14c.tar.gz
meson: rename make-man-rules.py to update-man-rules.py
The name of the helper didn't match the name of the meson target, which was always confusing me. With this change, we consistenly use "update" to re-generate things which we otherwise keep in vc, and "make" for things which are generated during each build.
-rw-r--r--man/meson.build2
-rw-r--r--man/rules/meson.build2
-rwxr-xr-xtools/update-man-rules.py (renamed from tools/make-man-rules.py)2
3 files changed, 3 insertions, 3 deletions
diff --git a/man/meson.build b/man/meson.build
index c9d511b080..215b8eeb37 100644
--- a/man/meson.build
+++ b/man/meson.build
@@ -217,7 +217,7 @@ if git.found()
output : 'update-man-rules',
command : ['sh', '-c',
'cd @0@ && '.format(meson.build_root()) +
- 'python3 @0@/tools/make-man-rules.py $(git ls-files ":/man/*.xml") >t && '.format(project_source_root) +
+ 'python3 @0@/tools/update-man-rules.py $(git ls-files ":/man/*.xml") >t && '.format(project_source_root) +
'mv t @0@/rules/meson.build'.format(meson.current_source_dir())],
depend_files : custom_entities_ent)
endif
diff --git a/man/rules/meson.build b/man/rules/meson.build
index 0d05508e7b..0639b17df6 100644
--- a/man/rules/meson.build
+++ b/man/rules/meson.build
@@ -1,4 +1,4 @@
-# Do not edit. Generated by make-man-rules.py.
+# Do not edit. Generated by update-man-rules.py.
# Update with:
# ninja -C build man/update-man-rules
manpages = [
diff --git a/tools/make-man-rules.py b/tools/update-man-rules.py
index d86afcbc15..c404579a2a 100755
--- a/tools/make-man-rules.py
+++ b/tools/update-man-rules.py
@@ -50,7 +50,7 @@ def mjoin(files):
return ' \\\n\t'.join(sorted(files) or '#')
MESON_HEADER = '''\
-# Do not edit. Generated by make-man-rules.py.
+# Do not edit. Generated by update-man-rules.py.
# Update with:
# ninja -C build man/update-man-rules
manpages = ['''