Rename make-repo to build-export

This is more in line with the other build commands.
tingping/wmclass
Matthias Clasen 2015-01-16 13:59:34 -05:00
parent 08d06ddf00
commit d137ca16c6
7 changed files with 13 additions and 13 deletions

View File

@ -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 \

View File

@ -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)

View File

@ -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

View File

@ -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.

View File

@ -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;

View File

@ -41,7 +41,7 @@ BUILTINPROTO(run);
BUILTINPROTO(build_init);
BUILTINPROTO(build);
BUILTINPROTO(build_finish);
BUILTINPROTO(make_repo);
BUILTINPROTO(build_export);
#undef BUILTINPROTO

View File

@ -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 }
};