[liboobs] Fix make distcheck



commit c6b0007a4f454633d58332f19423395ba8a7f53f
Author: Milan Bouchet-Valat <nalimilan club fr>
Date:   Mon Jan 11 18:20:10 2010 +0100

    Fix make distcheck
    
    Add oobs-enum-types.{ch} to EXTRA_DIST. Fix path to oobs-enum-types.h. Add missing private headers.

 doc/reference/Makefile.am |    2 ++
 oobs/Makefile.am          |   13 +++++++++----
 oobs/oobs-group-private.h |   37 +++++++++++++++++++++++++++++++++++++
 oobs/oobs-user-private.h  |   38 ++++++++++++++++++++++++++++++++++++++
 4 files changed, 86 insertions(+), 4 deletions(-)
---
diff --git a/doc/reference/Makefile.am b/doc/reference/Makefile.am
index 91855b5..76b63c4 100644
--- a/doc/reference/Makefile.am
+++ b/doc/reference/Makefile.am
@@ -27,6 +27,8 @@ IGNORE_HFILES=	\
 	oobs-list-private.h	\
 	oobs-object-private.h	\
 	oobs-session-private.h	\
+	oobs-user-private.h	\
+	oobs-group-private.h	\
 	utils.h
 
 # CFLAGS and LDFLAGS for compiling scan program. Only needed if your app/lib
diff --git a/oobs/Makefile.am b/oobs/Makefile.am
index b0c2271..bf0a20a 100644
--- a/oobs/Makefile.am
+++ b/oobs/Makefile.am
@@ -44,8 +44,7 @@ oobs_public_headers = 	\
 	oobs-service.h		\
 	oobs-result.h
 
-oobsinclude_HEADERS = $(oobs_public_headers) \
-	oobs-enum-types.h
+oobsinclude_HEADERS = $(oobs_public_headers)
 
 oobs_private_headers = 	\
 	iface-state-monitor.h		\
@@ -53,6 +52,8 @@ oobs_private_headers = 	\
 	oobs-list-private.h		\
 	oobs-object-private.h	\
 	oobs-session-private.h	\
+	oobs-user-private.h	\
+	oobs-group-private.h	\
 	utils.h
 
 oobs_built_sources = \
@@ -99,11 +100,15 @@ endif
 liboobs_1_la_LIBADD= $(OOBS_LIBS) $(HAL_LIBS)
 liboobs_1_la_LDFLAGS= $(libtool_opts)
 
-EXTRA_DIST= $(oobs_private_headers)
+EXTRA_DIST= $(oobs_private_headers) \
+	oobs-enum-types.c.in	\
+	oobs-enum-types.h.in
 
 BUILT_SOURCES = $(oobs_built_sources)
 OOBS_STAMP_FILES = stamp-oobs-enum-types.h
-CLEANFILES = $(OOBS_STAMP_FILES)
+CLEANFILES = $(OOBS_STAMP_FILES)	\
+	oobs-enum-types.c		\
+	oobs-enum-types.h
 
 
 oobs-enum-types.h: stamp-oobs-enum-types.h Makefile
diff --git a/oobs/oobs-group-private.h b/oobs/oobs-group-private.h
new file mode 100644
index 0000000..92f63b6
--- /dev/null
+++ b/oobs/oobs-group-private.h
@@ -0,0 +1,37 @@
+/* -*- Mode: C; c-file-style: "gnu"; tab-width: 8 -*- */
+/* Copyright (C) 2009 Milan Bouchet-Valat
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2 of the
+ * License, or (at your option) any later version.
+ *
+ * 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 General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
+ *
+ * Authors: Milan Bouchet-Valat <nalimilan club fr>.
+ */
+
+#ifndef __OOBS_GROUP_PRIVATE_H
+#define __OOBS_GROUP_PRIVATE_H
+
+G_BEGIN_DECLS
+
+#include <dbus/dbus.h>
+
+#include "oobs-group.h"
+
+void
+_oobs_create_dbus_struct_from_group (OobsGroup       *group,
+                                     DBusMessage     *message,
+                                     DBusMessageIter *iter);
+
+G_END_DECLS
+
+#endif /* __OOBS_GROUP_PRIVATE_H */
\ No newline at end of file
diff --git a/oobs/oobs-user-private.h b/oobs/oobs-user-private.h
new file mode 100644
index 0000000..c99ba72
--- /dev/null
+++ b/oobs/oobs-user-private.h
@@ -0,0 +1,38 @@
+/* -*- Mode: C; c-file-style: "gnu"; tab-width: 8 -*- */
+/* Copyright (C) 2010 Milan Bouchet-Valat
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2 of the
+ * License, or (at your option) any later version.
+ *
+ * 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 General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
+ *
+ * Authors: Milan Bouchet-Valat <nalimilan club fr>.
+ */
+
+#ifndef __OOBS_USER_PRIVATE_H
+#define __OOBS_USER_PRIVATE_H
+
+G_BEGIN_DECLS
+
+#include <dbus/dbus.h>
+
+#include "oobs-user.h"
+
+OobsUser *
+_oobs_user_create_from_dbus_reply (OobsUser        *user,
+                                   gid_t           *gid_ptr,
+                                   DBusMessage     *reply,
+                                   DBusMessageIter  iter);
+
+G_END_DECLS
+
+#endif /* __OOBS_USER_PRIVATE_H */
\ No newline at end of file



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]