From 355eb80b188f065e703c210f6b732deda64a210d Mon Sep 17 00:00:00 2001 From: "Darrick J. Wong" Date: Tue, 1 Apr 2025 07:43:41 -0700 Subject: [PATCH] xfs_protofile: rename source code to .py.in 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 Reviewed-by: Andrey Albershteyn Reviewed-by: Bill O'Donnell --- mkfs/Makefile | 4 ++-- mkfs/{xfs_protofile.in => xfs_protofile.py.in} | 0 2 files changed, 2 insertions(+), 2 deletions(-) rename mkfs/{xfs_protofile.in => xfs_protofile.py.in} (100%) diff --git a/mkfs/Makefile b/mkfs/Makefile index 3d3f08ad5..b1369e185 100644 --- a/mkfs/Makefile +++ b/mkfs/Makefile @@ -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) diff --git a/mkfs/xfs_protofile.in b/mkfs/xfs_protofile.py.in similarity index 100% rename from mkfs/xfs_protofile.in rename to mkfs/xfs_protofile.py.in -- 2.50.1