ObjFW  objfw-embed.1 at [50dce32144]

File utils/objfw-embed.1 artifact 31fd147d1e part of check-in 50dce32144


.\"
.\" Copyright (c) 2008-2024 Jonathan Schleifer <js@nil.im>
.\"
.\" All rights reserved.
.\"
.\" This program is free software: you can redistribute it and/or modify it
.\" under the terms of the GNU Lesser General Public License version 3.0 only,
.\" as published by the Free Software Foundation.
.\"
.\" This program is distributed in the hope that it will be useful, but WITHOUT
.\" ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
.\" FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License
.\" version 3.0 for more details.
.\"
.\" You should have received a copy of the GNU Lesser General Public License
.\" version 3.0 along with this program. If not, see
.\" <https://www.gnu.org/licenses/>.
.\"
.TH objfw-embed 1
.SH NAME
objfw-embed - create source code to embed a file into a program
.SH SYNOPSIS
.B objfw-embed
.I source_file
.I filename
.I output
.SH DESCRIPTION
.B objfw-embed
is a program which creates source code to embed a file into a program, which
can then be accessed using the \fBembedded:\fR IRI scheme in ObjFW.
.SH EXAMPLES
Create the source file \fBlogo.png.m\fR for the file \fBassets/logo.png\fR,
which will be registered under the path \fBlogo.png\fR so that it can be
accessed under the IRI \fBembedded:logo.png\fR:
.PP
	objfw-embed assets/logo.png logo.png logo.png.m