[Xcb] [PATCH 1/4] xcbgen: subdir python module to lib

Marty E. Plummer hanetzer at startmail.com
Thu Aug 2 06:02:46 UTC 2018


Signed-off-by: Marty E. Plummer <hanetzer at startmail.com>
---
 Makefile.am                        | 2 +-
 configure.ac                       | 2 +-
 {xcbgen => lib/xcbgen}/Makefile.am | 0
 {xcbgen => lib/xcbgen}/__init__.py | 0
 {xcbgen => lib/xcbgen}/align.py    | 0
 {xcbgen => lib/xcbgen}/error.py    | 0
 {xcbgen => lib/xcbgen}/expr.py     | 0
 {xcbgen => lib/xcbgen}/matcher.py  | 0
 {xcbgen => lib/xcbgen}/state.py    | 0
 {xcbgen => lib/xcbgen}/xtypes.py   | 0
 10 files changed, 2 insertions(+), 2 deletions(-)
 rename {xcbgen => lib/xcbgen}/Makefile.am (100%)
 rename {xcbgen => lib/xcbgen}/__init__.py (100%)
 rename {xcbgen => lib/xcbgen}/align.py (100%)
 rename {xcbgen => lib/xcbgen}/error.py (100%)
 rename {xcbgen => lib/xcbgen}/expr.py (100%)
 rename {xcbgen => lib/xcbgen}/matcher.py (100%)
 rename {xcbgen => lib/xcbgen}/state.py (100%)
 rename {xcbgen => lib/xcbgen}/xtypes.py (100%)

diff --git a/Makefile.am b/Makefile.am
index 6bc14ad..31dc320 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,4 +1,4 @@
-SUBDIRS = src xcbgen
+SUBDIRS = src lib/xcbgen
 
 pkgconfigdir = $(libdir)/pkgconfig
 pkgconfig_DATA = xcb-proto.pc
diff --git a/configure.ac b/configure.ac
index 88b3439..74ca2e3 100644
--- a/configure.ac
+++ b/configure.ac
@@ -19,4 +19,4 @@ AM_PATH_PYTHON([2.5])
 xcbincludedir='${datadir}/xcb'
 AC_SUBST(xcbincludedir)
 
-AC_OUTPUT([Makefile src/Makefile xcbgen/Makefile xcb-proto.pc])
+AC_OUTPUT([Makefile src/Makefile lib/xcbgen/Makefile xcb-proto.pc])
diff --git a/xcbgen/Makefile.am b/lib/xcbgen/Makefile.am
similarity index 100%
rename from xcbgen/Makefile.am
rename to lib/xcbgen/Makefile.am
diff --git a/xcbgen/__init__.py b/lib/xcbgen/__init__.py
similarity index 100%
rename from xcbgen/__init__.py
rename to lib/xcbgen/__init__.py
diff --git a/xcbgen/align.py b/lib/xcbgen/align.py
similarity index 100%
rename from xcbgen/align.py
rename to lib/xcbgen/align.py
diff --git a/xcbgen/error.py b/lib/xcbgen/error.py
similarity index 100%
rename from xcbgen/error.py
rename to lib/xcbgen/error.py
diff --git a/xcbgen/expr.py b/lib/xcbgen/expr.py
similarity index 100%
rename from xcbgen/expr.py
rename to lib/xcbgen/expr.py
diff --git a/xcbgen/matcher.py b/lib/xcbgen/matcher.py
similarity index 100%
rename from xcbgen/matcher.py
rename to lib/xcbgen/matcher.py
diff --git a/xcbgen/state.py b/lib/xcbgen/state.py
similarity index 100%
rename from xcbgen/state.py
rename to lib/xcbgen/state.py
diff --git a/xcbgen/xtypes.py b/lib/xcbgen/xtypes.py
similarity index 100%
rename from xcbgen/xtypes.py
rename to lib/xcbgen/xtypes.py
-- 
2.18.0



More information about the Xcb mailing list