[Xfce4-commits] <thunarx-python:master> Moved the examples directory to it's own folder

Adam Plumb noreply at xfce.org
Fri Mar 25 19:08:03 CET 2011


Updating branch refs/heads/master
         to d2095a1dfdcf370330c6ec390b85436057045df1 (commit)
       from e1e246c0aff0949b8be82416f924cf9b80338a09 (commit)

commit d2095a1dfdcf370330c6ec390b85436057045df1
Author: Adam Plumb <adamplumb at gmail.com>
Date:   Fri Mar 25 11:34:29 2011 -0400

    Moved the examples directory to it's own folder

 Makefile.am                                        |    2 +-
 configure.ac.in                                    |    2 +-
 docs/Makefile.am                                   |    2 --
 docs/examples/README                               |    1 -
 {docs/examples => examples}/Makefile.am            |    0
 examples/README                                    |    1 +
 {docs/examples => examples}/thunarx-menu-plugin.py |    0
 .../thunarx-preferences-plugin.py                  |    0
 .../thunarx-property-page-plugin.py                |    0
 .../thunarx-renamer-plugin.py                      |    0
 .../thunarx-submenu-plugin.py                      |    0
 11 files changed, 3 insertions(+), 5 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index 95246e7..459e70c 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,4 +1,4 @@
-SUBDIRS = src
+SUBDIRS = src examples
 
 if ENABLE_GTK_DOC
 SUBDIRS += docs
diff --git a/configure.ac.in b/configure.ac.in
index 6d2a0ca..c20df2f 100644
--- a/configure.ac.in
+++ b/configure.ac.in
@@ -162,8 +162,8 @@ XDT_FEATURE_LINKER_OPTS()
 AC_OUTPUT([
 Makefile
 src/Makefile
+examples/Makefile
 docs/Makefile
-docs/examples/Makefile
 docs/reference/entities.docbook
 ])
 
diff --git a/docs/Makefile.am b/docs/Makefile.am
index 6797741..1080f6b 100644
--- a/docs/Makefile.am
+++ b/docs/Makefile.am
@@ -1,5 +1,3 @@
-SUBDIRS = examples
-
 docsdir = $(docdir)
 
 BUILDDIR = $(top_builddir)/docs
diff --git a/docs/examples/README b/docs/examples/README
deleted file mode 100644
index b0dda42..0000000
--- a/docs/examples/README
+++ /dev/null
@@ -1 +0,0 @@
-To install the example plugin, copy to your thunar prefix's /lib/thunarx-2/python folder.  You may need to create the python folder.
diff --git a/docs/examples/Makefile.am b/examples/Makefile.am
similarity index 100%
rename from docs/examples/Makefile.am
rename to examples/Makefile.am
diff --git a/examples/README b/examples/README
new file mode 100644
index 0000000..c468cd5
--- /dev/null
+++ b/examples/README
@@ -0,0 +1 @@
+To install the example plugin, copy to $XDG_DATA_DIR/thunarx-python/extensions where $XDG_DATA_DIR could be /usr/share for a global install or ~/.local/share for a local install.
diff --git a/docs/examples/thunarx-menu-plugin.py b/examples/thunarx-menu-plugin.py
similarity index 100%
rename from docs/examples/thunarx-menu-plugin.py
rename to examples/thunarx-menu-plugin.py
diff --git a/docs/examples/thunarx-preferences-plugin.py b/examples/thunarx-preferences-plugin.py
similarity index 100%
rename from docs/examples/thunarx-preferences-plugin.py
rename to examples/thunarx-preferences-plugin.py
diff --git a/docs/examples/thunarx-property-page-plugin.py b/examples/thunarx-property-page-plugin.py
similarity index 100%
rename from docs/examples/thunarx-property-page-plugin.py
rename to examples/thunarx-property-page-plugin.py
diff --git a/docs/examples/thunarx-renamer-plugin.py b/examples/thunarx-renamer-plugin.py
similarity index 100%
rename from docs/examples/thunarx-renamer-plugin.py
rename to examples/thunarx-renamer-plugin.py
diff --git a/docs/examples/thunarx-submenu-plugin.py b/examples/thunarx-submenu-plugin.py
similarity index 100%
rename from docs/examples/thunarx-submenu-plugin.py
rename to examples/thunarx-submenu-plugin.py



More information about the Xfce4-commits mailing list