[anjuta] project-wizard: move license templates to data/



commit 2321c02d0e057653ef1eb090757089c0822cea49
Author: Carl-Anton Ingmarsson <ca ingmarsson gmail com>
Date:   Sun Feb 3 19:00:55 2013 +0100

    project-wizard: move license templates to data/
    
    since the class-gen plugin also uses them it makes sense to have them
    outside the project-wizard plugin
    
    https://bugzilla.gnome.org/show_bug.cgi?id=693213

 configure.ac                                       |    1 -
 data/templates/Makefile.am                         |   14 +++++++++++++-
 .../templates/licenses/bsd.tpl                     |    0
 .../templates/licenses/bsd.txt                     |    0
 .../templates/licenses/gpl.tpl                     |    0
 .../templates/licenses/gpl.txt                     |    0
 .../templates/licenses/lgpl.tpl                    |    0
 .../templates/licenses/lgpl.txt                    |    0
 .../templates/licenses/none.tpl                    |    0
 .../templates/licenses/none.txt                    |    0
 plugins/project-wizard/templates/Makefile.am       |    2 +-
 .../project-wizard/templates/licenses/Makefile.am  |   13 -------------
 12 files changed, 14 insertions(+), 16 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 7da9d88..068543a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -830,7 +830,6 @@ plugins/project-wizard/templates/xlib-dock/po/Makefile
 plugins/project-wizard/templates/sdl/Makefile
 plugins/project-wizard/templates/sdl/src/Makefile
 plugins/project-wizard/templates/sdl/po/Makefile
-plugins/project-wizard/templates/licenses/Makefile
 plugins/project-wizard/templates/library/Makefile
 plugins/project-wizard/templates/library/src/Makefile
 plugins/project-wizard/templates/library/po/Makefile
diff --git a/data/templates/Makefile.am b/data/templates/Makefile.am
index 7ab073c..c3a65d3 100644
--- a/data/templates/Makefile.am
+++ b/data/templates/Makefile.am
@@ -3,7 +3,19 @@ template_datadir = $(anjuta_data_dir)/templates
 template_data_DATA = \
 	indent.tpl
 
+licenses_datadir = $(template_datadir)/licenses
+licenses_data_DATA = \
+	licenses/gpl.txt \
+	licenses/gpl.tpl \
+	licenses/lgpl.txt \
+	licenses/lgpl.tpl \
+	licenses/bsd.txt \
+	licenses/bsd.tpl \
+	licenses/none.txt \
+	licenses/none.tpl
+
 EXTRA_DIST = \
-	$(template_data_DATA)
+	$(template_data_DATA) \
+	$(licenses_data_DATA)
 
 -include $(top_srcdir)/git.mk
diff --git a/plugins/project-wizard/templates/licenses/bsd.tpl b/data/templates/licenses/bsd.tpl
similarity index 100%
rename from plugins/project-wizard/templates/licenses/bsd.tpl
rename to data/templates/licenses/bsd.tpl
diff --git a/plugins/project-wizard/templates/licenses/bsd.txt b/data/templates/licenses/bsd.txt
similarity index 100%
rename from plugins/project-wizard/templates/licenses/bsd.txt
rename to data/templates/licenses/bsd.txt
diff --git a/plugins/project-wizard/templates/licenses/gpl.tpl b/data/templates/licenses/gpl.tpl
similarity index 100%
rename from plugins/project-wizard/templates/licenses/gpl.tpl
rename to data/templates/licenses/gpl.tpl
diff --git a/plugins/project-wizard/templates/licenses/gpl.txt b/data/templates/licenses/gpl.txt
similarity index 100%
rename from plugins/project-wizard/templates/licenses/gpl.txt
rename to data/templates/licenses/gpl.txt
diff --git a/plugins/project-wizard/templates/licenses/lgpl.tpl b/data/templates/licenses/lgpl.tpl
similarity index 100%
rename from plugins/project-wizard/templates/licenses/lgpl.tpl
rename to data/templates/licenses/lgpl.tpl
diff --git a/plugins/project-wizard/templates/licenses/lgpl.txt b/data/templates/licenses/lgpl.txt
similarity index 100%
rename from plugins/project-wizard/templates/licenses/lgpl.txt
rename to data/templates/licenses/lgpl.txt
diff --git a/plugins/project-wizard/templates/licenses/none.tpl b/data/templates/licenses/none.tpl
similarity index 100%
rename from plugins/project-wizard/templates/licenses/none.tpl
rename to data/templates/licenses/none.tpl
diff --git a/plugins/project-wizard/templates/licenses/none.txt b/data/templates/licenses/none.txt
similarity index 100%
rename from plugins/project-wizard/templates/licenses/none.txt
rename to data/templates/licenses/none.txt
diff --git a/plugins/project-wizard/templates/Makefile.am b/plugins/project-wizard/templates/Makefile.am
index 3d6d7f7..4f20edd 100644
--- a/plugins/project-wizard/templates/Makefile.am
+++ b/plugins/project-wizard/templates/Makefile.am
@@ -1,7 +1,7 @@
 
 SUBDIRS = minimal terminal cpp gtk gtkapplication anjuta-plugin \
 	gtkmm wxwin xlib xlib-dock gcj java pygtk \
-	python mkfile sdl library directory licenses m4 js_minimal \
+	python mkfile sdl library directory m4 js_minimal \
 	vala-gtk gnome-shell-extension
 
 template_in_files = \


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