[anjuta] project-wizard: bgo#696672 - Creating new project using wizard fails due to license files missing



commit 7703a8cc94fbb90a23e3f0eef4bca61a998237e3
Author: Sébastien Granjoux <seb sfo free fr>
Date:   Sun Mar 31 17:45:22 2013 +0200

    project-wizard: bgo#696672 - Creating new project using wizard fails due to license files missing
    
    The license files have been moved in commit 2321c02d0e057653ef1eb090757089c0822cea49
    but they should be in the same directory than the project wizard template.
    This patch moves the project wizard templates directory from anjuta/project to
    anjuta/templates.

 .../reference/libanjuta/project-wizard-format.sgml |    8 ++++----
 plugins/project-import/plugin.c                    |    6 +++---
 plugins/project-wizard/druid.c                     |    8 ++++----
 plugins/project-wizard/plugin.c                    |    2 +-
 plugins/project-wizard/templates/Makefile.am       |    2 +-
 .../templates/anjuta-plugin/Makefile.am            |    2 +-
 .../templates/anjuta-plugin/po/Makefile.am         |    2 +-
 .../templates/anjuta-plugin/src/Makefile.am        |    2 +-
 plugins/project-wizard/templates/cpp/Makefile.am   |    2 +-
 .../project-wizard/templates/cpp/po/Makefile.am    |    2 +-
 .../project-wizard/templates/cpp/src/Makefile.am   |    2 +-
 .../project-wizard/templates/directory/Makefile.am |    2 +-
 plugins/project-wizard/templates/gcj/Makefile.am   |    2 +-
 .../project-wizard/templates/gcj/src/Makefile.am   |    2 +-
 .../templates/gnome-shell-extension/Makefile.am    |    2 +-
 .../gnome-shell-extension/src/Makefile.am          |    2 +-
 .../project-wizard/templates/gtk/po/Makefile.am    |    2 +-
 .../project-wizard/templates/gtk/src/Makefile.am   |    2 +-
 .../templates/gtkapplication/po/Makefile.am        |    2 +-
 .../templates/gtkapplication/src/Makefile.am       |    2 +-
 plugins/project-wizard/templates/gtkmm/Makefile.am |    2 +-
 .../project-wizard/templates/gtkmm/po/Makefile.am  |    2 +-
 .../project-wizard/templates/gtkmm/src/Makefile.am |    2 +-
 plugins/project-wizard/templates/java/Makefile.am  |    2 +-
 .../project-wizard/templates/java/po/Makefile.am   |    2 +-
 .../project-wizard/templates/java/src/Makefile.am  |    2 +-
 .../templates/js_minimal/Makefile.am               |    2 +-
 .../templates/js_minimal/src/Makefile.am           |    2 +-
 .../project-wizard/templates/library/Makefile.am   |    2 +-
 .../templates/library/po/Makefile.am               |    2 +-
 .../templates/library/src/Makefile.am              |    2 +-
 plugins/project-wizard/templates/m4/Makefile.am    |    2 +-
 .../project-wizard/templates/minimal/Makefile.am   |    2 +-
 .../project-wizard/templates/mkfile/Makefile.am    |    2 +-
 .../project-wizard/templates/mkfile/po/Makefile.am |    2 +-
 .../templates/mkfile/src/Makefile.am               |    2 +-
 plugins/project-wizard/templates/pygtk/Makefile.am |    2 +-
 .../project-wizard/templates/pygtk/po/Makefile.am  |    2 +-
 .../project-wizard/templates/pygtk/src/Makefile.am |    2 +-
 .../project-wizard/templates/python/Makefile.am    |    2 +-
 .../project-wizard/templates/python/po/Makefile.am |    2 +-
 .../templates/python/src/Makefile.am               |    2 +-
 plugins/project-wizard/templates/sdl/Makefile.am   |    2 +-
 .../project-wizard/templates/sdl/po/Makefile.am    |    2 +-
 .../project-wizard/templates/sdl/src/Makefile.am   |    2 +-
 .../project-wizard/templates/terminal/Makefile.am  |    2 +-
 .../templates/terminal/po/Makefile.am              |    2 +-
 .../templates/terminal/src/Makefile.am             |    2 +-
 .../project-wizard/templates/vala-gtk/Makefile.am  |    2 +-
 .../templates/vala-gtk/src/Makefile.am             |    2 +-
 plugins/project-wizard/templates/wxwin/Makefile.am |    2 +-
 .../project-wizard/templates/wxwin/po/Makefile.am  |    2 +-
 .../project-wizard/templates/wxwin/src/Makefile.am |    2 +-
 .../templates/xlib-dock/po/Makefile.am             |    2 +-
 .../templates/xlib-dock/src/Makefile.am            |    2 +-
 plugins/project-wizard/templates/xlib/Makefile.am  |    2 +-
 .../project-wizard/templates/xlib/po/Makefile.am   |    2 +-
 .../project-wizard/templates/xlib/src/Makefile.am  |    2 +-
 58 files changed, 66 insertions(+), 66 deletions(-)
---
diff --git a/manuals/reference/libanjuta/project-wizard-format.sgml 
b/manuals/reference/libanjuta/project-wizard-format.sgml
index a0011f0..af2bbaa 100644
--- a/manuals/reference/libanjuta/project-wizard-format.sgml
+++ b/manuals/reference/libanjuta/project-wizard-format.sgml
@@ -15,12 +15,12 @@
                        The template files <emphasis>look like</emphasis>
                        xml documents and have normally the extension
                        <filename>.wiz</filename>. All templates and others
-                       related files are installed by default in 
<filename>$anjuta_install_dir/share/anjuta/project</filename>. But the project wizard looks
-                       for templates in the sub directory <filename>anjuta/project</filename> of
+                       related files are installed by default in 
<filename>$anjuta_install_dir/share/anjuta/templates</filename>. But the project wizard looks
+                       for templates in the sub directory <filename>anjuta/templates</filename> of
                        all user data directories as defined by
                        <ulink type="http" url="http://www.freedesktop.org/Standards/basedir-spec";>XDG Base 
Directory Specification</ulink> too. It is possible to
                        override a Anjuta project template by an user one put, 
-                       by example, in <filename>~/.local/share/anjuta/project</filename>.
+                       by example, in <filename>~/.local/share/anjuta/templates</filename>.
                </para>
                <para> The template file is divided in four parts:
                        an header block, one or more page blocks, a content block
@@ -530,7 +530,7 @@
                </para>
                <para>
                        With Anjuta version 2.30 or below, the user has to decompress this archive
-                       in a directory named <filename>anjuta/project</filename> in the data
+                       in a directory named <filename>anjuta/templates</filename> in the data
                        directory defined according to 
                        <ulink type="http" url="http://www.freedesktop.org/Standards/basedir-spec";>XDG Base 
Directory Specification</ulink>.
                        With Anjuta version 2.31 or greater, if you name your archive with the
diff --git a/plugins/project-import/plugin.c b/plugins/project-import/plugin.c
index 1580279..d90fcc7 100644
--- a/plugins/project-import/plugin.c
+++ b/plugins/project-import/plugin.c
@@ -35,9 +35,9 @@
 
 #define ICON_FILE "anjuta-project-import-plugin-48.png"
 
-#define AM_PROJECT_FILE PACKAGE_DATA_DIR"/project/terminal/project.anjuta"
-#define MKFILE_PROJECT_FILE PACKAGE_DATA_DIR"/project/mkfile/project.anjuta"
-#define DIRECTORY_PROJECT_FILE PACKAGE_DATA_DIR"/project/directory/project.anjuta"
+#define AM_PROJECT_FILE PACKAGE_DATA_DIR"/templates/terminal/project.anjuta"
+#define MKFILE_PROJECT_FILE PACKAGE_DATA_DIR"/templates/mkfile/project.anjuta"
+#define DIRECTORY_PROJECT_FILE PACKAGE_DATA_DIR"/templates/directory/project.anjuta"
 
 static gpointer parent_class;
 
diff --git a/plugins/project-wizard/druid.c b/plugins/project-wizard/druid.c
index 2f29db0..ad92a4a 100644
--- a/plugins/project-wizard/druid.c
+++ b/plugins/project-wizard/druid.c
@@ -49,7 +49,7 @@
 
 /*---------------------------------------------------------------------------*/
 
-#define PROJECT_WIZARD_DIRECTORY PACKAGE_DATA_DIR "/project"
+#define PROJECT_WIZARD_DIRECTORY PACKAGE_DATA_DIR "/templates"
 
 /* Default property name useable in wizard file
  *---------------------------------------------------------------------------*/
@@ -435,11 +435,11 @@ npw_druid_fill_selection_page (NPWDruid* druid, GFile *templates)
                }
        }
 
-       dir = g_build_filename (g_get_user_data_dir (), "anjuta", "project", NULL);
+       dir = g_build_filename (g_get_user_data_dir (), "anjuta", "templates", NULL);
        if (templates == NULL)
        {
                /* Read project template in user directory,
-                * normally ~/.local/share/anjuta/project,
+                * normally ~/.local/share/anjuta/templates,
                * the first template read override the others */
                npw_header_list_readdir (&druid->header_list, dir);
        }
@@ -448,7 +448,7 @@ npw_druid_fill_selection_page (NPWDruid* druid, GFile *templates)
 
        for (sys_dir = g_get_system_data_dirs (); *sys_dir != NULL; sys_dir++)
        {
-               dir = g_build_filename (*sys_dir, "anjuta", "project", NULL);
+               dir = g_build_filename (*sys_dir, "anjuta", "templates", NULL);
                if (templates == NULL)
                {
                        /* Read project template in system directory */
diff --git a/plugins/project-wizard/plugin.c b/plugins/project-wizard/plugin.c
index 7884f61..42bd6c5 100644
--- a/plugins/project-wizard/plugin.c
+++ b/plugins/project-wizard/plugin.c
@@ -81,7 +81,7 @@ npw_install_project_template_with_callback (NPWPlugin *plugin, GFile *file, NPWT
        if (ext != NULL) *ext = '\0';
 
        /* Create a directory for template */
-       path = g_build_filename (g_get_user_data_dir (), "anjuta", "project", name, NULL);
+       path = g_build_filename (g_get_user_data_dir (), "anjuta", "templates", name, NULL);
        g_free (name);
        dest = g_file_new_for_path (path);
        g_free (path);
diff --git a/plugins/project-wizard/templates/Makefile.am b/plugins/project-wizard/templates/Makefile.am
index 4f20edd..0662ccf 100644
--- a/plugins/project-wizard/templates/Makefile.am
+++ b/plugins/project-wizard/templates/Makefile.am
@@ -28,7 +28,7 @@ template_in_files = \
        gnome-shell-extension.wiz.in \
        licenses.tpl.in
 
-wizard_filesdir = $(anjuta_data_dir)/project
+wizard_filesdir = $(anjuta_data_dir)/templates
 wizard_files_DATA = \
        terminal-logo.png \
        cpp-logo.png \
diff --git a/plugins/project-wizard/templates/anjuta-plugin/Makefile.am 
b/plugins/project-wizard/templates/anjuta-plugin/Makefile.am
index ef92fff..7e027ef 100644
--- a/plugins/project-wizard/templates/anjuta-plugin/Makefile.am
+++ b/plugins/project-wizard/templates/anjuta-plugin/Makefile.am
@@ -1,7 +1,7 @@
 
 SUBDIRS = src po
 
-wizard_filesdir = $(anjuta_data_dir)/project/anjuta-plugin
+wizard_filesdir = $(anjuta_data_dir)/templates/anjuta-plugin
 wizard_files_DATA = \
         configure.ac.tpl
 
diff --git a/plugins/project-wizard/templates/anjuta-plugin/po/Makefile.am 
b/plugins/project-wizard/templates/anjuta-plugin/po/Makefile.am
index 104fed4..1e25f2e 100644
--- a/plugins/project-wizard/templates/anjuta-plugin/po/Makefile.am
+++ b/plugins/project-wizard/templates/anjuta-plugin/po/Makefile.am
@@ -1,4 +1,4 @@
-wizard_filesdir = $(anjuta_data_dir)/project/anjuta-plugin/po
+wizard_filesdir = $(anjuta_data_dir)/templates/anjuta-plugin/po
 wizard_files_DATA = POTFILES.in
 EXTRA_DIST = $(wizard_files_DATA)
 
diff --git a/plugins/project-wizard/templates/anjuta-plugin/src/Makefile.am 
b/plugins/project-wizard/templates/anjuta-plugin/src/Makefile.am
index 11c662d..b53d93d 100644
--- a/plugins/project-wizard/templates/anjuta-plugin/src/Makefile.am
+++ b/plugins/project-wizard/templates/anjuta-plugin/src/Makefile.am
@@ -1,4 +1,4 @@
-wizard_filesdir = $(anjuta_data_dir)/project/anjuta-plugin/src
+wizard_filesdir = $(anjuta_data_dir)/templates/anjuta-plugin/src
 wizard_files_DATA = \
        Makefile.am.tpl \
        plugin.c \
diff --git a/plugins/project-wizard/templates/cpp/Makefile.am 
b/plugins/project-wizard/templates/cpp/Makefile.am
index 0cd13e0..0e26186 100644
--- a/plugins/project-wizard/templates/cpp/Makefile.am
+++ b/plugins/project-wizard/templates/cpp/Makefile.am
@@ -1,7 +1,7 @@
 
 SUBDIRS = src po
 
-wizard_filesdir = $(anjuta_data_dir)/project/cpp
+wizard_filesdir = $(anjuta_data_dir)/templates/cpp
 wizard_files_DATA = \
        configure.ac.tpl
 
diff --git a/plugins/project-wizard/templates/cpp/po/Makefile.am 
b/plugins/project-wizard/templates/cpp/po/Makefile.am
index 3065367..5a4a035 100644
--- a/plugins/project-wizard/templates/cpp/po/Makefile.am
+++ b/plugins/project-wizard/templates/cpp/po/Makefile.am
@@ -1,4 +1,4 @@
-wizard_filesdir = $(anjuta_data_dir)/project/cpp/po
+wizard_filesdir = $(anjuta_data_dir)/templates/cpp/po
 wizard_files_DATA = POTFILES.in
 EXTRA_DIST = $(wizard_files_DATA)
 
diff --git a/plugins/project-wizard/templates/cpp/src/Makefile.am 
b/plugins/project-wizard/templates/cpp/src/Makefile.am
index 308c425..214ef7f 100644
--- a/plugins/project-wizard/templates/cpp/src/Makefile.am
+++ b/plugins/project-wizard/templates/cpp/src/Makefile.am
@@ -1,4 +1,4 @@
-wizard_filesdir = $(anjuta_data_dir)/project/cpp/src
+wizard_filesdir = $(anjuta_data_dir)/templates/cpp/src
 wizard_files_DATA = main.cc Makefile.am.tpl 
        
 EXTRA_DIST = $(wizard_files_DATA)
diff --git a/plugins/project-wizard/templates/directory/Makefile.am 
b/plugins/project-wizard/templates/directory/Makefile.am
index ffb141a..c54ab64 100644
--- a/plugins/project-wizard/templates/directory/Makefile.am
+++ b/plugins/project-wizard/templates/directory/Makefile.am
@@ -1,5 +1,5 @@
 
-wizard_filesdir = $(anjuta_data_dir)/project/directory
+wizard_filesdir = $(anjuta_data_dir)/templates/directory
 wizard_files_DATA = \
        project.anjuta
 
diff --git a/plugins/project-wizard/templates/gcj/Makefile.am 
b/plugins/project-wizard/templates/gcj/Makefile.am
index 7be983e..a0e6cac 100644
--- a/plugins/project-wizard/templates/gcj/Makefile.am
+++ b/plugins/project-wizard/templates/gcj/Makefile.am
@@ -1,7 +1,7 @@
 
 SUBDIRS = src 
 
-wizard_filesdir = $(anjuta_data_dir)/project/gcj
+wizard_filesdir = $(anjuta_data_dir)/templates/gcj
 wizard_files_DATA = \
         configure.ac.tpl
 
diff --git a/plugins/project-wizard/templates/gcj/src/Makefile.am 
b/plugins/project-wizard/templates/gcj/src/Makefile.am
index 2d56efd..0ef06c3 100644
--- a/plugins/project-wizard/templates/gcj/src/Makefile.am
+++ b/plugins/project-wizard/templates/gcj/src/Makefile.am
@@ -1,5 +1,5 @@
 
-wizard_filesdir = $(anjuta_data_dir)/project/gcj/src
+wizard_filesdir = $(anjuta_data_dir)/templates/gcj/src
 wizard_files_DATA = Makefile.am.tpl 
 EXTRA_DIST = $(wizard_files_DATA)
 
diff --git a/plugins/project-wizard/templates/gnome-shell-extension/Makefile.am 
b/plugins/project-wizard/templates/gnome-shell-extension/Makefile.am
index 67dc032..3261b6b 100644
--- a/plugins/project-wizard/templates/gnome-shell-extension/Makefile.am
+++ b/plugins/project-wizard/templates/gnome-shell-extension/Makefile.am
@@ -1,7 +1,7 @@
 
 SUBDIRS = src
 
-wizard_filesdir = $(anjuta_data_dir)/project/gnome-shell-extension
+wizard_filesdir = $(anjuta_data_dir)/templates/gnome-shell-extension
 wizard_files_DATA = autogen.sh configure.ac.tpl Makefile.am.tpl project.anjuta
 EXTRA_DIST = $(wizard_files_DATA)
 
diff --git a/plugins/project-wizard/templates/gnome-shell-extension/src/Makefile.am 
b/plugins/project-wizard/templates/gnome-shell-extension/src/Makefile.am
index 9c40138..ed01544 100644
--- a/plugins/project-wizard/templates/gnome-shell-extension/src/Makefile.am
+++ b/plugins/project-wizard/templates/gnome-shell-extension/src/Makefile.am
@@ -1,4 +1,4 @@
-wizard_filesdir = $(anjuta_data_dir)/project/gnome-shell-extension/src
+wizard_filesdir = $(anjuta_data_dir)/templates/gnome-shell-extension/src
 wizard_files_DATA = extension.js Makefile.am.tpl metadata.json stylesheet.css
 EXTRA_DIST = $(wizard_files_DATA)
 
diff --git a/plugins/project-wizard/templates/gtk/po/Makefile.am 
b/plugins/project-wizard/templates/gtk/po/Makefile.am
index aa6f049..83708ee 100644
--- a/plugins/project-wizard/templates/gtk/po/Makefile.am
+++ b/plugins/project-wizard/templates/gtk/po/Makefile.am
@@ -1,4 +1,4 @@
-wizard_filesdir = $(anjuta_data_dir)/project/gtk/po
+wizard_filesdir = $(anjuta_data_dir)/templates/gtk/po
 wizard_files_DATA = POTFILES.in
 EXTRA_DIST = $(wizard_files_DATA)
 
diff --git a/plugins/project-wizard/templates/gtk/src/Makefile.am 
b/plugins/project-wizard/templates/gtk/src/Makefile.am
index eaecbba..135f5e6 100644
--- a/plugins/project-wizard/templates/gtk/src/Makefile.am
+++ b/plugins/project-wizard/templates/gtk/src/Makefile.am
@@ -1,4 +1,4 @@
-wizard_filesdir = $(anjuta_data_dir)/project/gtk/src
+wizard_filesdir = $(anjuta_data_dir)/templates/gtk/src
 wizard_files_DATA = main.c Makefile.am.tpl project.ui
 EXTRA_DIST = $(wizard_files_DATA)
 
diff --git a/plugins/project-wizard/templates/gtkapplication/po/Makefile.am 
b/plugins/project-wizard/templates/gtkapplication/po/Makefile.am
index 7432390..d517633 100644
--- a/plugins/project-wizard/templates/gtkapplication/po/Makefile.am
+++ b/plugins/project-wizard/templates/gtkapplication/po/Makefile.am
@@ -1,4 +1,4 @@
-wizard_filesdir = $(anjuta_data_dir)/project/gtkapplication/po
+wizard_filesdir = $(anjuta_data_dir)/templates/gtkapplication/po
 wizard_files_DATA = POTFILES.in
 EXTRA_DIST = $(wizard_files_DATA)
 
diff --git a/plugins/project-wizard/templates/gtkapplication/src/Makefile.am 
b/plugins/project-wizard/templates/gtkapplication/src/Makefile.am
index 8bb01e3..6103252 100644
--- a/plugins/project-wizard/templates/gtkapplication/src/Makefile.am
+++ b/plugins/project-wizard/templates/gtkapplication/src/Makefile.am
@@ -1,4 +1,4 @@
-wizard_filesdir = $(anjuta_data_dir)/project/gtkapplication/src
+wizard_filesdir = $(anjuta_data_dir)/templates/gtkapplication/src
 wizard_files_DATA = main.c application.c application.h Makefile.am.tpl project.ui
 EXTRA_DIST = $(wizard_files_DATA)
 
diff --git a/plugins/project-wizard/templates/gtkmm/Makefile.am 
b/plugins/project-wizard/templates/gtkmm/Makefile.am
index 3cfe748..f63ecd8 100644
--- a/plugins/project-wizard/templates/gtkmm/Makefile.am
+++ b/plugins/project-wizard/templates/gtkmm/Makefile.am
@@ -1,7 +1,7 @@
 
 SUBDIRS = src po
 
-wizard_filesdir = $(anjuta_data_dir)/project/gtkmm
+wizard_filesdir = $(anjuta_data_dir)/templates/gtkmm
 wizard_files_DATA = 
 
 EXTRA_DIST = $(wizard_files_DATA)
diff --git a/plugins/project-wizard/templates/gtkmm/po/Makefile.am 
b/plugins/project-wizard/templates/gtkmm/po/Makefile.am
index b30928d..ed1fc97 100644
--- a/plugins/project-wizard/templates/gtkmm/po/Makefile.am
+++ b/plugins/project-wizard/templates/gtkmm/po/Makefile.am
@@ -1,4 +1,4 @@
-wizard_filesdir = $(anjuta_data_dir)/project/gtkmm/po
+wizard_filesdir = $(anjuta_data_dir)/templates/gtkmm/po
 wizard_files_DATA = POTFILES.in
 EXTRA_DIST = $(wizard_files_DATA)
 
diff --git a/plugins/project-wizard/templates/gtkmm/src/Makefile.am 
b/plugins/project-wizard/templates/gtkmm/src/Makefile.am
index e30e5f0..5ee4ff3 100644
--- a/plugins/project-wizard/templates/gtkmm/src/Makefile.am
+++ b/plugins/project-wizard/templates/gtkmm/src/Makefile.am
@@ -1,4 +1,4 @@
-wizard_filesdir = $(anjuta_data_dir)/project/gtkmm/src
+wizard_filesdir = $(anjuta_data_dir)/templates/gtkmm/src
 wizard_files_DATA = main.cc Makefile.am.tpl project.ui
 EXTRA_DIST = $(wizard_files_DATA)
 
diff --git a/plugins/project-wizard/templates/java/Makefile.am 
b/plugins/project-wizard/templates/java/Makefile.am
index d41d25e..121eee3 100644
--- a/plugins/project-wizard/templates/java/Makefile.am
+++ b/plugins/project-wizard/templates/java/Makefile.am
@@ -1,7 +1,7 @@
 
 SUBDIRS = src po
 
-wizard_filesdir = $(anjuta_data_dir)/project/java
+wizard_filesdir = $(anjuta_data_dir)/templates/java
 wizard_files_DATA = \
         configure.ac.tpl \
        project.anjuta
diff --git a/plugins/project-wizard/templates/java/po/Makefile.am 
b/plugins/project-wizard/templates/java/po/Makefile.am
index f30c420..2ae3cb5 100644
--- a/plugins/project-wizard/templates/java/po/Makefile.am
+++ b/plugins/project-wizard/templates/java/po/Makefile.am
@@ -1,4 +1,4 @@
-wizard_filesdir = $(anjuta_data_dir)/project/java/po
+wizard_filesdir = $(anjuta_data_dir)/templates/java/po
 wizard_files_DATA = POTFILES.in
 EXTRA_DIST = $(wizard_files_DATA)
 
diff --git a/plugins/project-wizard/templates/java/src/Makefile.am 
b/plugins/project-wizard/templates/java/src/Makefile.am
index 0e18eb7..009d11f 100644
--- a/plugins/project-wizard/templates/java/src/Makefile.am
+++ b/plugins/project-wizard/templates/java/src/Makefile.am
@@ -1,4 +1,4 @@
-wizard_filesdir = $(anjuta_data_dir)/project/java/src
+wizard_filesdir = $(anjuta_data_dir)/templates/java/src
 wizard_files_DATA = main.java Makefile.am.tpl
 EXTRA_DIST = $(wizard_files_DATA)
 
diff --git a/plugins/project-wizard/templates/js_minimal/Makefile.am 
b/plugins/project-wizard/templates/js_minimal/Makefile.am
index 99ea3e0..cd21cf1 100644
--- a/plugins/project-wizard/templates/js_minimal/Makefile.am
+++ b/plugins/project-wizard/templates/js_minimal/Makefile.am
@@ -1,6 +1,6 @@
 SUBDIRS = src
 
-wizard_filesdir = $(anjuta_data_dir)/project/js_minimal
+wizard_filesdir = $(anjuta_data_dir)/templates/js_minimal
 wizard_files_DATA = \
        autogen.sh \
        configure.ac.tpl \
diff --git a/plugins/project-wizard/templates/js_minimal/src/Makefile.am 
b/plugins/project-wizard/templates/js_minimal/src/Makefile.am
index afae33e..14071e8 100644
--- a/plugins/project-wizard/templates/js_minimal/src/Makefile.am
+++ b/plugins/project-wizard/templates/js_minimal/src/Makefile.am
@@ -1,4 +1,4 @@
-wizard_filesdir = $(anjuta_data_dir)/project/js_minimal/src
+wizard_filesdir = $(anjuta_data_dir)/templates/js_minimal/src
 wizard_files_DATA = main.js Makefile.am.tpl
 EXTRA_DIST = $(wizard_files_DATA)
 
diff --git a/plugins/project-wizard/templates/library/Makefile.am 
b/plugins/project-wizard/templates/library/Makefile.am
index c5ef0ce..f62ca6a 100644
--- a/plugins/project-wizard/templates/library/Makefile.am
+++ b/plugins/project-wizard/templates/library/Makefile.am
@@ -1,7 +1,7 @@
 
 SUBDIRS = src po
 
-wizard_filesdir = $(anjuta_data_dir)/project/library
+wizard_filesdir = $(anjuta_data_dir)/templates/library
 wizard_files_DATA = \
         configure.ac.tpl
 
diff --git a/plugins/project-wizard/templates/library/po/Makefile.am 
b/plugins/project-wizard/templates/library/po/Makefile.am
index f7aff5e..1751b61 100644
--- a/plugins/project-wizard/templates/library/po/Makefile.am
+++ b/plugins/project-wizard/templates/library/po/Makefile.am
@@ -1,4 +1,4 @@
-wizard_filesdir = $(anjuta_data_dir)/project/library/po
+wizard_filesdir = $(anjuta_data_dir)/templates/library/po
 wizard_files_DATA = POTFILES.in 
 EXTRA_DIST = $(wizard_files_DATA)
 
diff --git a/plugins/project-wizard/templates/library/src/Makefile.am 
b/plugins/project-wizard/templates/library/src/Makefile.am
index 37339e2..c853ab6 100644
--- a/plugins/project-wizard/templates/library/src/Makefile.am
+++ b/plugins/project-wizard/templates/library/src/Makefile.am
@@ -1,4 +1,4 @@
-wizard_filesdir = $(anjuta_data_dir)/project/library/src
+wizard_filesdir = $(anjuta_data_dir)/templates/library/src
 wizard_files_DATA = lib.c lib.h Makefile.am.tpl library.pc.in
 EXTRA_DIST = $(wizard_files_DATA)
 
diff --git a/plugins/project-wizard/templates/m4/Makefile.am b/plugins/project-wizard/templates/m4/Makefile.am
index f86221f..ccc8525 100644
--- a/plugins/project-wizard/templates/m4/Makefile.am
+++ b/plugins/project-wizard/templates/m4/Makefile.am
@@ -1,4 +1,4 @@
-wizard_filesdir = $(anjuta_data_dir)/project/m4
+wizard_filesdir = $(anjuta_data_dir)/templates/m4
 
 wizard_files_DATA = \
        as-ac-expand.m4 \
diff --git a/plugins/project-wizard/templates/minimal/Makefile.am 
b/plugins/project-wizard/templates/minimal/Makefile.am
index 89c1e60..0fcdcf6 100644
--- a/plugins/project-wizard/templates/minimal/Makefile.am
+++ b/plugins/project-wizard/templates/minimal/Makefile.am
@@ -1,5 +1,5 @@
 
-wizard_filesdir = $(anjuta_data_dir)/project/minimal
+wizard_filesdir = $(anjuta_data_dir)/templates/minimal
 wizard_files_DATA = \
        autogen.sh \
        configure.ac.tpl \
diff --git a/plugins/project-wizard/templates/mkfile/Makefile.am 
b/plugins/project-wizard/templates/mkfile/Makefile.am
index f565a51..e4cad39 100644
--- a/plugins/project-wizard/templates/mkfile/Makefile.am
+++ b/plugins/project-wizard/templates/mkfile/Makefile.am
@@ -1,7 +1,7 @@
 
 SUBDIRS = src po
 
-wizard_filesdir = $(anjuta_data_dir)/project/mkfile
+wizard_filesdir = $(anjuta_data_dir)/templates/mkfile
 wizard_files_DATA = \
        project.anjuta
 
diff --git a/plugins/project-wizard/templates/mkfile/po/Makefile.am 
b/plugins/project-wizard/templates/mkfile/po/Makefile.am
index 03597a0..df66793 100644
--- a/plugins/project-wizard/templates/mkfile/po/Makefile.am
+++ b/plugins/project-wizard/templates/mkfile/po/Makefile.am
@@ -1,4 +1,4 @@
-wizard_filesdir = $(anjuta_data_dir)/project/mkfile/po
+wizard_filesdir = $(anjuta_data_dir)/templates/mkfile/po
 wizard_files_DATA = ChangeLog POTFILES.in
 EXTRA_DIST = $(wizard_files_DATA)
 
diff --git a/plugins/project-wizard/templates/mkfile/src/Makefile.am 
b/plugins/project-wizard/templates/mkfile/src/Makefile.am
index b7f3b9c..4fc46ed 100644
--- a/plugins/project-wizard/templates/mkfile/src/Makefile.am
+++ b/plugins/project-wizard/templates/mkfile/src/Makefile.am
@@ -1,4 +1,4 @@
-wizard_filesdir = $(anjuta_data_dir)/project/mkfile/src
+wizard_filesdir = $(anjuta_data_dir)/templates/mkfile/src
 wizard_files_DATA = Makefile.tpl main.c
 EXTRA_DIST = $(wizard_files_DATA)
 
diff --git a/plugins/project-wizard/templates/pygtk/Makefile.am 
b/plugins/project-wizard/templates/pygtk/Makefile.am
index f266588..daa2cbe 100644
--- a/plugins/project-wizard/templates/pygtk/Makefile.am
+++ b/plugins/project-wizard/templates/pygtk/Makefile.am
@@ -1,7 +1,7 @@
 
 SUBDIRS = src po
 
-wizard_filesdir = $(anjuta_data_dir)/project/pygtk
+wizard_filesdir = $(anjuta_data_dir)/templates/pygtk
 wizard_files_DATA = \
     configure.ac.tpl \
     project.anjuta
diff --git a/plugins/project-wizard/templates/pygtk/po/Makefile.am 
b/plugins/project-wizard/templates/pygtk/po/Makefile.am
index fb40e90..0bfc279 100644
--- a/plugins/project-wizard/templates/pygtk/po/Makefile.am
+++ b/plugins/project-wizard/templates/pygtk/po/Makefile.am
@@ -1,4 +1,4 @@
-wizard_filesdir = $(anjuta_data_dir)/project/pygtk/po
+wizard_filesdir = $(anjuta_data_dir)/templates/pygtk/po
 wizard_files_DATA = POTFILES.in
 EXTRA_DIST = $(wizard_files_DATA)
 
diff --git a/plugins/project-wizard/templates/pygtk/src/Makefile.am 
b/plugins/project-wizard/templates/pygtk/src/Makefile.am
index 42b7f3c..7bbde11 100644
--- a/plugins/project-wizard/templates/pygtk/src/Makefile.am
+++ b/plugins/project-wizard/templates/pygtk/src/Makefile.am
@@ -1,4 +1,4 @@
-wizard_filesdir = $(anjuta_data_dir)/project/pygtk/src
+wizard_filesdir = $(anjuta_data_dir)/templates/pygtk/src
 wizard_files_DATA = main.py Makefile.am.tpl
 EXTRA_DIST = $(wizard_files_DATA)
 
diff --git a/plugins/project-wizard/templates/python/Makefile.am 
b/plugins/project-wizard/templates/python/Makefile.am
index 0cb11aa..ff633c3 100644
--- a/plugins/project-wizard/templates/python/Makefile.am
+++ b/plugins/project-wizard/templates/python/Makefile.am
@@ -1,7 +1,7 @@
 
 SUBDIRS = src po
 
-wizard_filesdir = $(anjuta_data_dir)/project/python
+wizard_filesdir = $(anjuta_data_dir)/templates/python
 wizard_files_DATA = \
         configure.ac.tpl \
        project.anjuta
diff --git a/plugins/project-wizard/templates/python/po/Makefile.am 
b/plugins/project-wizard/templates/python/po/Makefile.am
index 676a854..4c1d14c 100644
--- a/plugins/project-wizard/templates/python/po/Makefile.am
+++ b/plugins/project-wizard/templates/python/po/Makefile.am
@@ -1,4 +1,4 @@
-wizard_filesdir = $(anjuta_data_dir)/project/python/po
+wizard_filesdir = $(anjuta_data_dir)/templates/python/po
 wizard_files_DATA = POTFILES.in
 EXTRA_DIST = $(wizard_files_DATA)
 
diff --git a/plugins/project-wizard/templates/python/src/Makefile.am 
b/plugins/project-wizard/templates/python/src/Makefile.am
index 9e7d78a..de68d87 100644
--- a/plugins/project-wizard/templates/python/src/Makefile.am
+++ b/plugins/project-wizard/templates/python/src/Makefile.am
@@ -1,4 +1,4 @@
-wizard_filesdir = $(anjuta_data_dir)/project/python/src
+wizard_filesdir = $(anjuta_data_dir)/templates/python/src
 wizard_files_DATA = main.py Makefile.am.tpl
 EXTRA_DIST = $(wizard_files_DATA)
 
diff --git a/plugins/project-wizard/templates/sdl/Makefile.am 
b/plugins/project-wizard/templates/sdl/Makefile.am
index e68c17b..3dd5cec 100644
--- a/plugins/project-wizard/templates/sdl/Makefile.am
+++ b/plugins/project-wizard/templates/sdl/Makefile.am
@@ -1,7 +1,7 @@
 
 SUBDIRS = src po
 
-wizard_filesdir = $(anjuta_data_dir)/project/sdl
+wizard_filesdir = $(anjuta_data_dir)/templates/sdl
 wizard_files_DATA = \
        configure.ac.tpl \
        acinclude.m4.tpl
diff --git a/plugins/project-wizard/templates/sdl/po/Makefile.am 
b/plugins/project-wizard/templates/sdl/po/Makefile.am
index 462fff2..1a72d3d 100644
--- a/plugins/project-wizard/templates/sdl/po/Makefile.am
+++ b/plugins/project-wizard/templates/sdl/po/Makefile.am
@@ -1,4 +1,4 @@
-wizard_filesdir = $(anjuta_data_dir)/project/sdl/po
+wizard_filesdir = $(anjuta_data_dir)/templates/sdl/po
 wizard_files_DATA = POTFILES.in
 EXTRA_DIST = $(wizard_files_DATA)
 
diff --git a/plugins/project-wizard/templates/sdl/src/Makefile.am 
b/plugins/project-wizard/templates/sdl/src/Makefile.am
index 4ecc529..d2e3aa3 100644
--- a/plugins/project-wizard/templates/sdl/src/Makefile.am
+++ b/plugins/project-wizard/templates/sdl/src/Makefile.am
@@ -1,4 +1,4 @@
-wizard_filesdir = $(anjuta_data_dir)/project/sdl/src
+wizard_filesdir = $(anjuta_data_dir)/templates/sdl/src
 wizard_files_DATA = main.c Makefile.am.tpl
 EXTRA_DIST = $(wizard_files_DATA)
 
diff --git a/plugins/project-wizard/templates/terminal/Makefile.am 
b/plugins/project-wizard/templates/terminal/Makefile.am
index 97c5eb7..0cb7685 100644
--- a/plugins/project-wizard/templates/terminal/Makefile.am
+++ b/plugins/project-wizard/templates/terminal/Makefile.am
@@ -1,7 +1,7 @@
 
 SUBDIRS = src po
 
-wizard_filesdir = $(anjuta_data_dir)/project/terminal
+wizard_filesdir = $(anjuta_data_dir)/templates/terminal
 wizard_files_DATA = \
        AUTHORS \
        ChangeLog \
diff --git a/plugins/project-wizard/templates/terminal/po/Makefile.am 
b/plugins/project-wizard/templates/terminal/po/Makefile.am
index b24b369..583e1d1 100644
--- a/plugins/project-wizard/templates/terminal/po/Makefile.am
+++ b/plugins/project-wizard/templates/terminal/po/Makefile.am
@@ -1,4 +1,4 @@
-wizard_filesdir = $(anjuta_data_dir)/project/terminal/po
+wizard_filesdir = $(anjuta_data_dir)/templates/terminal/po
 wizard_files_DATA = ChangeLog POTFILES.in LINGUAS
        
 EXTRA_DIST = $(wizard_files_DATA)
diff --git a/plugins/project-wizard/templates/terminal/src/Makefile.am 
b/plugins/project-wizard/templates/terminal/src/Makefile.am
index 25b3e07..982dffc 100644
--- a/plugins/project-wizard/templates/terminal/src/Makefile.am
+++ b/plugins/project-wizard/templates/terminal/src/Makefile.am
@@ -1,4 +1,4 @@
-wizard_filesdir = $(anjuta_data_dir)/project/terminal/src
+wizard_filesdir = $(anjuta_data_dir)/templates/terminal/src
 wizard_files_DATA = main.c Makefile.am.tpl
        
 EXTRA_DIST = $(wizard_files_DATA)
diff --git a/plugins/project-wizard/templates/vala-gtk/Makefile.am 
b/plugins/project-wizard/templates/vala-gtk/Makefile.am
index 398ea76..81b3f3d 100644
--- a/plugins/project-wizard/templates/vala-gtk/Makefile.am
+++ b/plugins/project-wizard/templates/vala-gtk/Makefile.am
@@ -1,6 +1,6 @@
 SUBDIRS = src
 
-wizard_filesdir = $(anjuta_data_dir)/project/vala-gtk
+wizard_filesdir = $(anjuta_data_dir)/templates/vala-gtk
 wizard_files_DATA = \
        configure.ac.tpl
 
diff --git a/plugins/project-wizard/templates/vala-gtk/src/Makefile.am 
b/plugins/project-wizard/templates/vala-gtk/src/Makefile.am
index a6ddf8b..53fc78a 100644
--- a/plugins/project-wizard/templates/vala-gtk/src/Makefile.am
+++ b/plugins/project-wizard/templates/vala-gtk/src/Makefile.am
@@ -1,4 +1,4 @@
-wizard_filesdir = $(anjuta_data_dir)/project/vala-gtk/src
+wizard_filesdir = $(anjuta_data_dir)/templates/vala-gtk/src
 wizard_files_DATA = main.vala Makefile.am.tpl project.ui config.vapi
 EXTRA_DIST = $(wizard_files_DATA)
 
diff --git a/plugins/project-wizard/templates/wxwin/Makefile.am 
b/plugins/project-wizard/templates/wxwin/Makefile.am
index cda10fd..01bce5d 100644
--- a/plugins/project-wizard/templates/wxwin/Makefile.am
+++ b/plugins/project-wizard/templates/wxwin/Makefile.am
@@ -1,7 +1,7 @@
 
 SUBDIRS = src po
 
-wizard_filesdir = $(anjuta_data_dir)/project/wxwin
+wizard_filesdir = $(anjuta_data_dir)/templates/wxwin
 wizard_files_DATA = \
        configure.ac.tpl
 
diff --git a/plugins/project-wizard/templates/wxwin/po/Makefile.am 
b/plugins/project-wizard/templates/wxwin/po/Makefile.am
index da325f1..cd69737 100644
--- a/plugins/project-wizard/templates/wxwin/po/Makefile.am
+++ b/plugins/project-wizard/templates/wxwin/po/Makefile.am
@@ -1,4 +1,4 @@
-wizard_filesdir = $(anjuta_data_dir)/project/wxwin/po
+wizard_filesdir = $(anjuta_data_dir)/templates/wxwin/po
 wizard_files_DATA = POTFILES.in
 EXTRA_DIST = $(wizard_files_DATA)
 
diff --git a/plugins/project-wizard/templates/wxwin/src/Makefile.am 
b/plugins/project-wizard/templates/wxwin/src/Makefile.am
index 7631d09..0684736 100644
--- a/plugins/project-wizard/templates/wxwin/src/Makefile.am
+++ b/plugins/project-wizard/templates/wxwin/src/Makefile.am
@@ -1,4 +1,4 @@
-wizard_filesdir = $(anjuta_data_dir)/project/wxwin/src
+wizard_filesdir = $(anjuta_data_dir)/templates/wxwin/src
 wizard_files_DATA = main.cc Makefile.am.tpl
 EXTRA_DIST = $(wizard_files_DATA)
 
diff --git a/plugins/project-wizard/templates/xlib-dock/po/Makefile.am 
b/plugins/project-wizard/templates/xlib-dock/po/Makefile.am
index 50a03bb..c2f9eb5 100644
--- a/plugins/project-wizard/templates/xlib-dock/po/Makefile.am
+++ b/plugins/project-wizard/templates/xlib-dock/po/Makefile.am
@@ -1,4 +1,4 @@
-wizard_filesdir = $(anjuta_data_dir)/project/xlib-dock/po
+wizard_filesdir = $(anjuta_data_dir)/templates/xlib-dock/po
 wizard_files_DATA = POTFILES.in
 EXTRA_DIST = $(wizard_files_DATA)
 
diff --git a/plugins/project-wizard/templates/xlib-dock/src/Makefile.am 
b/plugins/project-wizard/templates/xlib-dock/src/Makefile.am
index 6986199..71dd1f2 100644
--- a/plugins/project-wizard/templates/xlib-dock/src/Makefile.am
+++ b/plugins/project-wizard/templates/xlib-dock/src/Makefile.am
@@ -1,4 +1,4 @@
-wizard_filesdir = $(anjuta_data_dir)/project/xlib-dock/src
+wizard_filesdir = $(anjuta_data_dir)/templates/xlib-dock/src
 wizard_files_DATA = main.c wmgeneral.c wmgeneral.h pixmaps.h Makefile.am.tpl
 EXTRA_DIST = $(wizard_files_DATA)
 
diff --git a/plugins/project-wizard/templates/xlib/Makefile.am 
b/plugins/project-wizard/templates/xlib/Makefile.am
index 5ddc6bd..e1d2389 100644
--- a/plugins/project-wizard/templates/xlib/Makefile.am
+++ b/plugins/project-wizard/templates/xlib/Makefile.am
@@ -1,7 +1,7 @@
 
 SUBDIRS = src po
 
-wizard_filesdir = $(anjuta_data_dir)/project/xlib
+wizard_filesdir = $(anjuta_data_dir)/templates/xlib
 wizard_files_DATA = \
        configure.ac.tpl
 
diff --git a/plugins/project-wizard/templates/xlib/po/Makefile.am 
b/plugins/project-wizard/templates/xlib/po/Makefile.am
index 198a80d..5820ce5 100644
--- a/plugins/project-wizard/templates/xlib/po/Makefile.am
+++ b/plugins/project-wizard/templates/xlib/po/Makefile.am
@@ -1,4 +1,4 @@
-wizard_filesdir = $(anjuta_data_dir)/project/xlib/po
+wizard_filesdir = $(anjuta_data_dir)/templates/xlib/po
 wizard_files_DATA = POTFILES.in
 EXTRA_DIST = $(wizard_files_DATA)
 
diff --git a/plugins/project-wizard/templates/xlib/src/Makefile.am 
b/plugins/project-wizard/templates/xlib/src/Makefile.am
index 20994d1..b34c054 100644
--- a/plugins/project-wizard/templates/xlib/src/Makefile.am
+++ b/plugins/project-wizard/templates/xlib/src/Makefile.am
@@ -1,4 +1,4 @@
-wizard_filesdir = $(anjuta_data_dir)/project/xlib/src
+wizard_filesdir = $(anjuta_data_dir)/templates/xlib/src
 wizard_files_DATA = main.c Makefile.am.tpl
 EXTRA_DIST = $(wizard_files_DATA)
 


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