[libgovirt] Use govirt/ in #include in header files
- From: Christophe Fergeau <teuf src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgovirt] Use govirt/ in #include in header files
- Date: Thu, 7 Feb 2019 15:51:20 +0000 (UTC)
commit a5ab3ddb9e69973ed676f7ec2f1176d5b729f3a2
Author: Christophe Fergeau <cfergeau redhat com>
Date: Mon Aug 15 12:49:31 2016 +0200
Use govirt/ in #include in header files
This way we don't need to use both -I$top_srcdir and -I$srcdir when
building, just -I$top_srcdir should be enough.
I noticed that while experimenting with builds using meson.
Signed-off-by: Eduardo Lima (Etrunko) <etrunko redhat com>
govirt/Makefile.am | 1 -
govirt/ovirt-action-rest-call.h | 2 +-
govirt/ovirt-api-private.h | 2 +-
govirt/ovirt-cluster-private.h | 2 +-
govirt/ovirt-collection-private.h | 4 ++--
govirt/ovirt-data-center-private.h | 2 +-
govirt/ovirt-host-private.h | 2 +-
govirt/ovirt-resource-private.h | 4 ++--
govirt/ovirt-storage-domain-private.h | 2 +-
govirt/ovirt-vm-private.h | 2 +-
10 files changed, 11 insertions(+), 12 deletions(-)
---
diff --git a/govirt/Makefile.am b/govirt/Makefile.am
index 1a59f2c..c2d4a86 100644
--- a/govirt/Makefile.am
+++ b/govirt/Makefile.am
@@ -4,7 +4,6 @@ AM_CPPFLAGS = \
$(GLIB_CFLAGS) \
$(REST_CFLAGS) \
-I$(top_srcdir) \
- -I$(top_srcdir)/govirt \
-DG_LOG_DOMAIN=\"libgovirt\" \
-DTESTDATADIR=\""$(top_srcdir)/data/tests"\" \
-DPACKAGE_DATA_DIR=\""$(datadir)"\" \
diff --git a/govirt/ovirt-action-rest-call.h b/govirt/ovirt-action-rest-call.h
index 9fb6f6f..7990eef 100644
--- a/govirt/ovirt-action-rest-call.h
+++ b/govirt/ovirt-action-rest-call.h
@@ -22,7 +22,7 @@
#ifndef __OVIRT_ACTION_REST_CALL_H__
#define __OVIRT_ACTION_REST_CALL_H__
-#include <ovirt-rest-call.h>
+#include <govirt/ovirt-rest-call.h>
G_BEGIN_DECLS
diff --git a/govirt/ovirt-api-private.h b/govirt/ovirt-api-private.h
index aa47c85..8c5864a 100644
--- a/govirt/ovirt-api-private.h
+++ b/govirt/ovirt-api-private.h
@@ -23,7 +23,7 @@
#ifndef __OVIRT_API_PRIVATE_H__
#define __OVIRT_API_PRIVATE_H__
-#include <ovirt-api.h>
+#include <govirt/ovirt-api.h>
#include <rest/rest-xml-node.h>
G_BEGIN_DECLS
diff --git a/govirt/ovirt-cluster-private.h b/govirt/ovirt-cluster-private.h
index 1a1817d..9c5b0ae 100644
--- a/govirt/ovirt-cluster-private.h
+++ b/govirt/ovirt-cluster-private.h
@@ -22,7 +22,7 @@
#ifndef __OVIRT_CLUSTER_PRIVATE_H__
#define __OVIRT_CLUSTER_PRIVATE_H__
-#include <ovirt-cluster.h>
+#include <govirt/ovirt-cluster.h>
#include <rest/rest-xml-node.h>
G_BEGIN_DECLS
diff --git a/govirt/ovirt-collection-private.h b/govirt/ovirt-collection-private.h
index cf7e603..86ad9e1 100644
--- a/govirt/ovirt-collection-private.h
+++ b/govirt/ovirt-collection-private.h
@@ -24,8 +24,8 @@
#include <gio/gio.h>
#include <glib-object.h>
-#include <ovirt-collection.h>
-#include <ovirt-resource.h>
+#include <govirt/ovirt-collection.h>
+#include <govirt/ovirt-resource.h>
#include <rest/rest-xml-node.h>
G_BEGIN_DECLS
diff --git a/govirt/ovirt-data-center-private.h b/govirt/ovirt-data-center-private.h
index 5839755..e210af2 100644
--- a/govirt/ovirt-data-center-private.h
+++ b/govirt/ovirt-data-center-private.h
@@ -22,7 +22,7 @@
#ifndef __OVIRT_DATA_CENTER_PRIVATE_H__
#define __OVIRT_DATA_CENTER_PRIVATE_H__
-#include <ovirt-data-center.h>
+#include <govirt/ovirt-data-center.h>
#include <rest/rest-xml-node.h>
G_BEGIN_DECLS
diff --git a/govirt/ovirt-host-private.h b/govirt/ovirt-host-private.h
index 26587ea..9087650 100644
--- a/govirt/ovirt-host-private.h
+++ b/govirt/ovirt-host-private.h
@@ -22,7 +22,7 @@
#ifndef __OVIRT_HOST_PRIVATE_H__
#define __OVIRT_HOST_PRIVATE_H__
-#include <ovirt-host.h>
+#include <govirt/ovirt-host.h>
#include <rest/rest-xml-node.h>
G_BEGIN_DECLS
diff --git a/govirt/ovirt-resource-private.h b/govirt/ovirt-resource-private.h
index ef47557..3303873 100644
--- a/govirt/ovirt-resource-private.h
+++ b/govirt/ovirt-resource-private.h
@@ -22,8 +22,8 @@
#ifndef __OVIRT_RESOURCE_PRIVATE_H__
#define __OVIRT_RESOURCE_PRIVATE_H__
-#include <ovirt-resource.h>
-#include <ovirt-resource-rest-call.h>
+#include <govirt/ovirt-resource.h>
+#include <govirt/ovirt-resource-rest-call.h>
G_BEGIN_DECLS
diff --git a/govirt/ovirt-storage-domain-private.h b/govirt/ovirt-storage-domain-private.h
index 5db27a0..f5b4add 100644
--- a/govirt/ovirt-storage-domain-private.h
+++ b/govirt/ovirt-storage-domain-private.h
@@ -22,7 +22,7 @@
#ifndef __OVIRT_STORAGE_DOMAIN_PRIVATE_H__
#define __OVIRT_STORAGE_DOMAIN_PRIVATE_H__
-#include <ovirt-storage-domain.h>
+#include <govirt/ovirt-storage-domain.h>
#include <rest/rest-xml-node.h>
G_BEGIN_DECLS
diff --git a/govirt/ovirt-vm-private.h b/govirt/ovirt-vm-private.h
index 6c54ac8..10ca842 100644
--- a/govirt/ovirt-vm-private.h
+++ b/govirt/ovirt-vm-private.h
@@ -23,7 +23,7 @@
#ifndef __OVIRT_VM_PRIVATE_H__
#define __OVIRT_VM_PRIVATE_H__
-#include <ovirt-vm.h>
+#include <govirt/ovirt-vm.h>
#include <rest/rest-xml-node.h>
G_BEGIN_DECLS
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]