From: Darrick J. Wong <djwong@xxxxxxxxxx> 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@xxxxxxxxxx> --- mkfs/Makefile | 4 ++-- mkfs/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 3d3f08ad54f844..b1369e1853a98f 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