From: Darrick J. Wong Date: Tue, 1 Apr 2025 14:43:41 +0000 (-0700) Subject: xfs_protofile: rename source code to .py.in X-Git-Tag: v6.14.0~5 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=355eb80b188f065e703c210f6b732deda64a210d;p=thirdparty%2Fxfsprogs-dev.git 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 --- diff --git a/mkfs/Makefile b/mkfs/Makefile index 3d3f08ad..b1369e18 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