src: Move ot-tool-util from ostree/ to libotutil/

These utilities are not actually specific to the ostree commandline.

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
This commit is contained in:
Giuseppe Scrivano 2015-03-06 12:21:07 +01:00
parent 479b5ab4fc
commit c70abfd43c
4 changed files with 2 additions and 5 deletions

View File

@ -48,8 +48,6 @@ ostree_SOURCES = src/ostree/main.c \
src/ostree/ot-dump.c \
src/ostree/ot-editor.c \
src/ostree/ot-editor.h \
src/ostree/ot-tool-util.c \
src/ostree/ot-tool-util.h \
$(NULL)
# Admin subcommand

View File

@ -38,6 +38,8 @@ libotutil_la_SOURCES = \
src/libotutil/ot-gio-utils.h \
src/libotutil/otutil.c \
src/libotutil/otutil.h \
src/libotutil/ot-tool-util.c \
src/libotutil/ot-tool-util.h \
$(NULL)
libotutil_la_CFLAGS = $(AM_CFLAGS) -I$(srcdir)/libglnx -I$(srcdir)/src/libotutil -DLOCALEDIR=\"$(datadir)/locale\" $(OT_INTERNAL_GIO_UNIX_CFLAGS)
libotutil_la_LIBADD = $(OT_INTERNAL_GIO_UNIX_LIBS)

View File

@ -20,9 +20,7 @@
#include "config.h"
#include "ot-admin-functions.h"
#include "otutil.h"
#include "ostree.h"
#include "libgsystem.h"
#include "ot-tool-util.h"

View File

@ -21,7 +21,6 @@
#pragma once
#include <gio/gio.h>
#include <ostree.h>
G_BEGIN_DECLS