anjuta r4359 - in trunk: . plugins/project-wizard/templates/gnome/src plugins/project-wizard/templates/gtk/src plugins/project-wizard/templates/gtkmm/src plugins/project-wizard/templates/terminal



Author: sgranjoux
Date: Wed Oct 22 20:33:37 2008
New Revision: 4359
URL: http://svn.gnome.org/viewvc/anjuta?rev=4359&view=rev

Log:
	* plugins/project-wizard/templates/terminal/Makefile.am.tpl,
	plugins/project-wizard/templates/gtkmm/src/Makefile.am.tpl,
	plugins/project-wizard/templates/gtk/src/Makefile.am.tpl,
	plugins/project-wizard/templates/gnome/src/Makefile.am.tpl:
	Fix #556847 - Remove doc and glade directory in autotools
	project created by Anjuta


Modified:
   trunk/ChangeLog
   trunk/plugins/project-wizard/templates/gnome/src/Makefile.am.tpl
   trunk/plugins/project-wizard/templates/gtk/src/Makefile.am.tpl
   trunk/plugins/project-wizard/templates/gtkmm/src/Makefile.am.tpl
   trunk/plugins/project-wizard/templates/terminal/Makefile.am.tpl

Modified: trunk/plugins/project-wizard/templates/gnome/src/Makefile.am.tpl
==============================================================================
--- trunk/plugins/project-wizard/templates/gnome/src/Makefile.am.tpl	(original)
+++ trunk/plugins/project-wizard/templates/gnome/src/Makefile.am.tpl	Wed Oct 22 20:33:37 2008
@@ -31,3 +31,10 @@
 [+NameCLower+]_LDADD = $([+NameCUpper+]_LIBS)
 
 EXTRA_DIST = $(glade_DATA)
+
+[+IF (=(get "HaveGlade") "1")+]
+# Remove glade directory on uninstall
+uninstall-local:
+	-rm -r $(gladedir)
+	-rm -r $(datadir)/[+NameHLower+]
+[+ENDIF+]

Modified: trunk/plugins/project-wizard/templates/gtk/src/Makefile.am.tpl
==============================================================================
--- trunk/plugins/project-wizard/templates/gtk/src/Makefile.am.tpl	(original)
+++ trunk/plugins/project-wizard/templates/gtk/src/Makefile.am.tpl	Wed Oct 22 20:33:37 2008
@@ -29,3 +29,8 @@
 [+NameCLower+]_LDADD = $([+NameCUpper+]_LIBS)
 
 EXTRA_DIST = $(glade_DATA)
+
+# Remove glade directory on uninstall
+uninstall-local:
+	-rm -r $(gladedir)
+	-rm -r $(datadir)/[+NameHLower+]

Modified: trunk/plugins/project-wizard/templates/gtkmm/src/Makefile.am.tpl
==============================================================================
--- trunk/plugins/project-wizard/templates/gtkmm/src/Makefile.am.tpl	(original)
+++ trunk/plugins/project-wizard/templates/gtkmm/src/Makefile.am.tpl	Wed Oct 22 20:33:37 2008
@@ -26,3 +26,8 @@
 [+NameCLower+]_LDADD = $([+NameCUpper+]_LIBS)
 
 EXTRA_DIST = $(glade_DATA)
+
+# Remove glade directory on uninstall
+uninstall-local:
+	-rm -r $(gladedir)
+	-rm -r $(datadir)/[+NameHLower+]

Modified: trunk/plugins/project-wizard/templates/terminal/Makefile.am.tpl
==============================================================================
--- trunk/plugins/project-wizard/templates/terminal/Makefile.am.tpl	(original)
+++ trunk/plugins/project-wizard/templates/terminal/Makefile.am.tpl	Wed Oct 22 20:33:37 2008
@@ -23,3 +23,6 @@
 		fi \
 	done
 
+# Remove doc directory on uninstall
+uninstall-local:
+	-rm -r $([+NameCLower+]docdir)



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