rename templated files with .in suffix

This commit is contained in:
Jeffrey C. Ollie
2025-06-25 10:11:45 -05:00
committed by Mitchell Hashimoto
parent b68f9f2321
commit cf561fcc55
5 changed files with 4 additions and 4 deletions

View File

@ -228,7 +228,7 @@ pub fn init(b: *std.Build, cfg: *const Config) !GhosttyResources {
formatService( formatService(
b, b,
cfg, cfg,
b.path("dist/linux/app.desktop"), b.path("dist/linux/app.desktop.in"),
b.fmt( b.fmt(
"share/applications/com.mitchellh.ghostty{s}.desktop", "share/applications/com.mitchellh.ghostty{s}.desktop",
.{ .{
@ -245,7 +245,7 @@ pub fn init(b: *std.Build, cfg: *const Config) !GhosttyResources {
formatService( formatService(
b, b,
cfg, cfg,
b.path("dist/linux/dbus.service"), b.path("dist/linux/dbus.service.in"),
b.fmt( b.fmt(
"share/dbus-1/services/com.mitchellh.ghostty{s}.service", "share/dbus-1/services/com.mitchellh.ghostty{s}.service",
.{ .{
@ -263,7 +263,7 @@ pub fn init(b: *std.Build, cfg: *const Config) !GhosttyResources {
formatService( formatService(
b, b,
cfg, cfg,
b.path("dist/linux/systemd.service"), b.path("dist/linux/systemd.service.in"),
b.fmt( b.fmt(
"{s}/systemd/user/com.mitchellh.ghostty{s}.service", "{s}/systemd/user/com.mitchellh.ghostty{s}.service",
.{ .{
@ -282,7 +282,7 @@ pub fn init(b: *std.Build, cfg: *const Config) !GhosttyResources {
formatService( formatService(
b, b,
cfg, cfg,
b.path("dist/linux/com.mitchellh.ghostty.metainfo.xml"), b.path("dist/linux/com.mitchellh.ghostty.metainfo.xml.in"),
b.fmt( b.fmt(
"share/metainfo/com.mitchellh.ghostty{s}.metainfo.xml", "share/metainfo/com.mitchellh.ghostty{s}.metainfo.xml",
.{ .{