forked from Mirrors/flatpak-builder
Rename make-repo to build-export
This is more in line with the other build commands.tingping/wmclass
parent
08d06ddf00
commit
d137ca16c6
|
@ -29,7 +29,7 @@ xdg_app_SOURCES = \
|
|||
xdg-app-builtins-build-init.c \
|
||||
xdg-app-builtins-build.c \
|
||||
xdg-app-builtins-build-finish.c \
|
||||
xdg-app-builtins-make-repo.c \
|
||||
xdg-app-builtins-build-export.c \
|
||||
xdg-app-dir.c \
|
||||
xdg-app-dir.h \
|
||||
xdg-app-utils.h \
|
||||
|
|
|
@ -27,7 +27,7 @@ man_MANS = \
|
|||
xdg-app-build-init.1 \
|
||||
xdg-app-build.1 \
|
||||
xdg-app-build-finish.1 \
|
||||
xdg-app-make-repo.1 \
|
||||
xdg-app-build-export.1 \
|
||||
$(NULL)
|
||||
|
||||
xml_files = $(man_MANS:.1=.xml)
|
||||
|
|
|
@ -2,10 +2,10 @@
|
|||
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
|
||||
"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
|
||||
|
||||
<refentry id="xdg-app-make-repo">
|
||||
<refentry id="xdg-app-build-export">
|
||||
|
||||
<refentryinfo>
|
||||
<title>dxg-app make-repo</title>
|
||||
<title>dxg-app build-export</title>
|
||||
<productname>xdg-app</productname>
|
||||
|
||||
<authorgroup>
|
||||
|
@ -19,18 +19,18 @@
|
|||
</refentryinfo>
|
||||
|
||||
<refmeta>
|
||||
<refentrytitle>xdg-app make-repo</refentrytitle>
|
||||
<refentrytitle>xdg-app build-export</refentrytitle>
|
||||
<manvolnum>1</manvolnum>
|
||||
</refmeta>
|
||||
|
||||
<refnamediv>
|
||||
<refname>xdg-app-make-repo</refname>
|
||||
<refpurpose>Finalize a build directory</refpurpose>
|
||||
<refname>xdg-app-build-export</refname>
|
||||
<refpurpose>Create a repository from a build directory</refpurpose>
|
||||
</refnamediv>
|
||||
|
||||
<refsynopsisdiv>
|
||||
<cmdsynopsis>
|
||||
<command>xdg-app make-repo</command>
|
||||
<command>xdg-app build-export</command>
|
||||
<arg choice="opt" rep="repeat">OPTION</arg>
|
||||
<arg choice="plain">LOCATION</arg>
|
||||
<arg choice="plain">DIRECTORY</arg>
|
||||
|
@ -109,7 +109,7 @@
|
|||
<title>Examples</title>
|
||||
|
||||
<para>
|
||||
<command>$ xdg-app make-repo ~/repos/gnome-calculator/ ~/build/gnome-calculator/ org.gnome.Calculator</command>
|
||||
<command>$ xdg-app build-export ~/repos/gnome-calculator/ ~/build/gnome-calculator/ org.gnome.Calculator</command>
|
||||
</para>
|
||||
<programlisting>
|
||||
Commit: 9d0044ea480297114d03aec85c3d7ae3779438f9d2cb69d717fb54237acacb8c
|
|
@ -180,7 +180,7 @@
|
|||
</para></listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><citerefentry><refentrytitle>make-repo</refentrytitle><manvolnum>1</manvolnum></citerefentry></term>
|
||||
<term><citerefentry><refentrytitle>build-export</refentrytitle><manvolnum>1</manvolnum></citerefentry></term>
|
||||
|
||||
<listitem><para>
|
||||
Create a repository from a build directory.
|
||||
|
|
|
@ -87,7 +87,7 @@ commit_filter (OstreeRepo *repo,
|
|||
}
|
||||
|
||||
gboolean
|
||||
xdg_app_builtin_make_repo (int argc, char **argv, GCancellable *cancellable, GError **error)
|
||||
xdg_app_builtin_build_export (int argc, char **argv, GCancellable *cancellable, GError **error)
|
||||
{
|
||||
gboolean ret = FALSE;
|
||||
GOptionContext *context;
|
|
@ -41,7 +41,7 @@ BUILTINPROTO(run);
|
|||
BUILTINPROTO(build_init);
|
||||
BUILTINPROTO(build);
|
||||
BUILTINPROTO(build_finish);
|
||||
BUILTINPROTO(make_repo);
|
||||
BUILTINPROTO(build_export);
|
||||
|
||||
#undef BUILTINPROTO
|
||||
|
||||
|
|
|
@ -32,7 +32,7 @@ static XdgAppCommand commands[] = {
|
|||
{ "build-init", xdg_app_builtin_build_init },
|
||||
{ "build", xdg_app_builtin_build },
|
||||
{ "build-finish", xdg_app_builtin_build_finish },
|
||||
{ "make-repo", xdg_app_builtin_make_repo },
|
||||
{ "build-export", xdg_app_builtin_build_export },
|
||||
{ NULL }
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue