[Libosinfo] [PATCH 17/39] data: split netware into one file per OS

Daniel P. Berrange berrange at redhat.com
Mon Sep 28 15:51:35 UTC 2015


Signed-off-by: Daniel P. Berrange <berrange at redhat.com>
---
 configure.ac                      |  1 +
 data/oses/Makefile.am             |  2 +-
 data/oses/netware.xml.in          | 29 -----------------------------
 data/oses/netware/Makefile.am     |  1 +
 data/oses/netware/netware4.xml.in | 10 ++++++++++
 data/oses/netware/netware5.xml.in | 10 ++++++++++
 data/oses/netware/netware6.xml.in | 10 ++++++++++
 po/POTFILES.in                    |  4 +++-
 8 files changed, 36 insertions(+), 31 deletions(-)
 delete mode 100644 data/oses/netware.xml.in
 create mode 100644 data/oses/netware/Makefile.am
 create mode 100644 data/oses/netware/netware4.xml.in
 create mode 100644 data/oses/netware/netware5.xml.in
 create mode 100644 data/oses/netware/netware6.xml.in

diff --git a/configure.ac b/configure.ac
index aa835db..2d1c28b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -184,6 +184,7 @@ AC_CONFIG_FILES([
 	data/oses/mandriva/Makefile
 	data/oses/msdos/Makefile
 	data/oses/netbsd/Makefile
+	data/oses/netware/Makefile
 	data/schemas/Makefile
 	tools/Makefile
 	test/Makefile
diff --git a/data/oses/Makefile.am b/data/oses/Makefile.am
index c028790..31634ff 100644
--- a/data/oses/Makefile.am
+++ b/data/oses/Makefile.am
@@ -12,11 +12,11 @@ SUBDIRS = \
 	mandriva \
 	msdos \
 	netbsd \
+	netware \
 	$(NULL)
 
 databasedir = $(pkgdatadir)/db/oses/
 database_in_files =	\
-	netware.xml.in  \
 	openbsd.xml.in  \
 	opensuse.xml.in \
 	rhl.xml.in      \
diff --git a/data/oses/netware.xml.in b/data/oses/netware.xml.in
deleted file mode 100644
index 7fd984c..0000000
--- a/data/oses/netware.xml.in
+++ /dev/null
@@ -1,29 +0,0 @@
-<libosinfo version="0.0.1">
-  <os id="http://novell.com/netware4">
-    <short-id>netware4</short-id>
-    <_name>Novell Netware 4</_name>
-    <_vendor>Novell</_vendor>
-    <family>netware</family>
-    <distro>netware</distro>
-    <version>4</version>
-  </os>
-
-  <os id="http://novell.com/netware5">
-    <short-id>netware5</short-id>
-    <_name>Novell Netware 5</_name>
-    <_vendor>Novell</_vendor>
-    <family>netware</family>
-    <distro>netware</distro>
-    <version>5</version>
-  </os>
-
-  <os id="http://novell.com/netware6">
-    <short-id>netware6</short-id>
-    <_name>Novell Netware 6</_name>
-    <_vendor>Novell</_vendor>
-    <family>netware</family>
-    <distro>netware</distro>
-    <version>6</version>
-  </os>
-
-</libosinfo>
diff --git a/data/oses/netware/Makefile.am b/data/oses/netware/Makefile.am
new file mode 100644
index 0000000..ee4552b
--- /dev/null
+++ b/data/oses/netware/Makefile.am
@@ -0,0 +1 @@
+include ../../Makefile.inc
diff --git a/data/oses/netware/netware4.xml.in b/data/oses/netware/netware4.xml.in
new file mode 100644
index 0000000..cab2975
--- /dev/null
+++ b/data/oses/netware/netware4.xml.in
@@ -0,0 +1,10 @@
+<libosinfo version="0.0.1">
+  <os id="http://novell.com/netware4">
+    <short-id>netware4</short-id>
+    <_name>Novell Netware 4</_name>
+    <_vendor>Novell</_vendor>
+    <family>netware</family>
+    <distro>netware</distro>
+    <version>4</version>
+  </os>
+</libosinfo>
diff --git a/data/oses/netware/netware5.xml.in b/data/oses/netware/netware5.xml.in
new file mode 100644
index 0000000..f52aaa7
--- /dev/null
+++ b/data/oses/netware/netware5.xml.in
@@ -0,0 +1,10 @@
+<libosinfo version="0.0.1">
+  <os id="http://novell.com/netware5">
+    <short-id>netware5</short-id>
+    <_name>Novell Netware 5</_name>
+    <_vendor>Novell</_vendor>
+    <family>netware</family>
+    <distro>netware</distro>
+    <version>5</version>
+  </os>
+</libosinfo>
diff --git a/data/oses/netware/netware6.xml.in b/data/oses/netware/netware6.xml.in
new file mode 100644
index 0000000..6a51027
--- /dev/null
+++ b/data/oses/netware/netware6.xml.in
@@ -0,0 +1,10 @@
+<libosinfo version="0.0.1">
+  <os id="http://novell.com/netware6">
+    <short-id>netware6</short-id>
+    <_name>Novell Netware 6</_name>
+    <_vendor>Novell</_vendor>
+    <family>netware</family>
+    <distro>netware</distro>
+    <version>6</version>
+  </os>
+</libosinfo>
diff --git a/po/POTFILES.in b/po/POTFILES.in
index 62cad53..154e526 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -160,7 +160,9 @@ data/oses/netbsd/netbsd3.0.xml.in
 data/oses/netbsd/netbsd4.0.xml.in
 data/oses/netbsd/netbsd5.0.xml.in
 data/oses/netbsd/netbsd5.1.xml.in
-data/oses/netware.xml.in
+data/oses/netware/netware4.xml.in
+data/oses/netware/netware5.xml.in
+data/oses/netware/netware6.xml.in
 data/oses/solaris.xml.in
 data/oses/suse.xml.in
 data/oses/rhel.xml.in
-- 
2.4.3




More information about the Libosinfo mailing list