[gtkada] Examples/Makefile patch proposal.

Pascal p.p14 at orange.fr
Tue Jul 24 12:00:06 CEST 2012


Hello, in examples from GtkAda GPL 2012, two of them are missing in Makefile and some extra files aren't copied.
Here is a patch proposal:

--- ./examples/Makefile.0	2011-06-06 17:28:56.000000000 +0200
+++ ./examples/Makefile	2012-07-11 16:22:56.000000000 +0200
@@ -17,6 +17,7 @@
 DIRECTORIES=base_widget \
   calendar_combo        \
   composite_widget      \
+  display_switch        \
   doublebuffer          \
   documentation         \
   dynamic_cast          \
@@ -25,6 +26,7 @@
   handlers		\
   powergnu		\
   images                \
+  tooltips              \
   cursors               \
   user_data
 
@@ -49,6 +51,7 @@
 	  mkdir -p "${DESTDIR}$(examples)/$${dir}"; \
 	  rm -f $${dir}/b~*; \
 	  cp -p $${dir}/*.ad? $${dir}/*.gpr "${DESTDIR}$(examples)/$${dir}" 2>/dev/null; \
+	  cp -p $${dir}/*.xpm $${dir}/*.png $${dir}/*.tst "${DESTDIR}$(examples)/$${dir}" 2>/dev/null; \
 	  cp -p $${dir}/Makefile "${DESTDIR}$(examples)/$${dir}" 2>/dev/null; \
 	  cp -p $${dir}/README "${DESTDIR}$(examples)/$${dir}" 2>/dev/null; \
 	done

HTH, Pascal.
http://blady.pagesperso-orange.fr




More information about the gtkada mailing list