]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commitdiff
xfs_protofile: rename source code to .py.in
authorDarrick J. Wong <djwong@kernel.org>
Tue, 1 Apr 2025 14:43:41 +0000 (07:43 -0700)
committerAndrey Albershteyn <aalbersh@kernel.org>
Tue, 8 Apr 2025 09:20:10 +0000 (11:20 +0200)
Rename this source code file to have an extention of ".py.in" so that
editors and xgettext can "smartly" detect the source code type from the
file extension.  This will become important for adding localization to
the strings printed.  No functional changes.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Andrey Albershteyn <aalbersh@kernel.org>
Reviewed-by: Bill O'Donnell <bodonnel@redhat.com>
mkfs/Makefile
mkfs/xfs_protofile.py.in [moved from mkfs/xfs_protofile.in with 100% similarity]

index 3d3f08ad54f844c51dc8eea1fa0215f1a15da36e..b1369e1853a98f784820c3720c512921a6c042a6 100644 (file)
@@ -6,7 +6,7 @@ TOPDIR = ..
 include $(TOPDIR)/include/builddefs
 
 LTCOMMAND = mkfs.xfs
-XFS_PROTOFILE = xfs_protofile
+XFS_PROTOFILE = xfs_protofile.py
 
 HFILES =
 CFILES = proto.c xfs_mkfs.c
@@ -38,7 +38,7 @@ $(XFS_PROTOFILE): $(XFS_PROTOFILE).in
 install: default
        $(INSTALL) -m 755 -d $(PKG_SBIN_DIR)
        $(LTINSTALL) -m 755 $(LTCOMMAND) $(PKG_SBIN_DIR)
-       $(INSTALL) -m 755 $(XFS_PROTOFILE) $(PKG_SBIN_DIR)
+       $(INSTALL) -m 755 $(XFS_PROTOFILE) $(PKG_SBIN_DIR)/xfs_protofile
        $(INSTALL) -m 755 -d $(MKFS_CFG_DIR)
        $(INSTALL) -m 644 $(CFGFILES) $(MKFS_CFG_DIR)