From: Dana Jansens Date: Fri, 19 Sep 2003 19:17:26 +0000 (+0000) Subject: add the schemas to the distribution X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=86fa7c096668feee1f629c27552bf5e262e8556f;p=chaz%2Fopenbox add the schemas to the distribution --- diff --git a/Makefile.am b/Makefile.am index 0095c1a1..194492b4 100644 --- a/Makefile.am +++ b/Makefile.am @@ -8,6 +8,7 @@ desktopfilesdir = $(datadir)/gnome/wm-properties pkgconfigdir = $(libdir)/pkgconfig pubincludedir = $(includedir)/openbox/@OB_VERSION@/openbox pixmapdir = $(datadir)/pixmaps +xsddir = $(datadir)/openbox userscriptdir = $(datadir)/openbox theme = TheBear @@ -269,10 +270,18 @@ nodist_pkgconfig_DATA = \ dist_pixmap_DATA = \ data/openbox.png -dist_rc_DATA = \ +nodist_rc_DATA = \ data/rc.xml \ data/menu.xml +dist_xsd_DATA = \ + data/rc.xsd + data/menu.xsd + +%.xml: %.xml.in + @echo make: creating $@ + @$(SED) -e 's!@version@!$(VERSION)!' -e 's!@xsddir@!$(xsddir)!' $^ > $@ + dist_userscript_DATA = \ tools/themeupdate/themeupdate.py @@ -283,6 +292,8 @@ dist_desktopfiles_DATA = \ data/openbox.desktop dist_noinst_DATA = \ + data/rc.xml.in \ + data/menu.xml.in \ render/obrender-3.0.pc.in \ parser/obparser-3.0.pc.in diff --git a/data/menu.xml b/data/menu.xml.in similarity index 81% rename from data/menu.xml rename to data/menu.xml.in index 87b5f07f..fd0585b6 100644 --- a/data/menu.xml +++ b/data/menu.xml.in @@ -1,4 +1,10 @@ - + + + diff --git a/data/menu.xsd b/data/menu.xsd new file mode 100644 index 00000000..f9d008dd --- /dev/null +++ b/data/menu.xsd @@ -0,0 +1,70 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/data/rc.xml b/data/rc.xml.in similarity index 95% rename from data/rc.xml rename to data/rc.xml.in index 5000c59d..e320317c 100644 --- a/data/rc.xml +++ b/data/rc.xml.in @@ -1,9 +1,13 @@ - + - + - + 10 diff --git a/data/rc.xsd b/data/rc.xsd new file mode 100644 index 00000000..3d4db35d --- /dev/null +++ b/data/rc.xsd @@ -0,0 +1,321 @@ + + + + + + + all these elements are expected in a openbox config file + + + + + + + + + + + + + + + + + + + defines behaviour of windows when close to eachother or the screen edge + + + + + + + + + defines aspects of window focus + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +