]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
meson: rename make-man-rules.py to update-man-rules.py
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 7 May 2020 12:01:09 +0000 (14:01 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 7 May 2020 12:01:09 +0000 (14:01 +0200)
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.

man/meson.build
man/rules/meson.build
tools/update-man-rules.py [moved from tools/make-man-rules.py with 98% similarity]

index c9d511b08076745fcac51ed9cd649fa6f493275c..215b8eeb37c9cd37ab622a38f9e81021eb3361df 100644 (file)
@@ -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
index 0d05508e7b6dee29cbf8af7071884c30078e89a7..0639b17df6cd1c6edfb5d03b65fec3900c379654 100644 (file)
@@ -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 = [
similarity index 98%
rename from tools/make-man-rules.py
rename to tools/update-man-rules.py
index d86afcbc15ac9d115ac4c3c00c802ad5a5675760..c404579a2ad1754e704a0f7aa77138634d097098 100755 (executable)
@@ -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 = ['''