[Goodies-commits] r4513 - xfmpc/trunk/src

Mike Massonnet mmassonnet at xfce.org
Sat Apr 5 13:17:39 CEST 2008


Author: mmassonnet
Date: 2008-04-05 11:17:39 +0000 (Sat, 05 Apr 2008)
New Revision: 4513

Modified:
   xfmpc/trunk/src/Makefile.am
Log:
Fix src/Makefile.am to compile the -ui.xml files
* src/Makefile.am:
  - Rules to compile -ui.xml as maintainer mode
  - Distribute the .xml files


Modified: xfmpc/trunk/src/Makefile.am
===================================================================
--- xfmpc/trunk/src/Makefile.am	2008-04-05 11:17:34 UTC (rev 4512)
+++ xfmpc/trunk/src/Makefile.am	2008-04-05 11:17:39 UTC (rev 4513)
@@ -3,11 +3,9 @@
 xfmpc_SOURCES =								\
 	main.c								\
 	main-ui.h							\
-	main-ui.xml							\
 	interface.c							\
 	interface.h							\
 	interface-ui.h							\
-	interface-ui.xml						\
 	extended-interface.c						\
 	extended-interface.h						\
 	playlist.c							\
@@ -38,11 +36,23 @@
 	-DPACKAGE_LOCALE_DIR=\"$(localedir)\"				\
 	-DLOCALEDIR=\"$(localedir)\"
 
+if MAINTAINER_MODE
+DISTCLEANFILES =							\
+	main-ui.h							\
+	interface-ui.h
 
+BUILT_SOURCES =								\
+	main-ui.h							\
+	interface-ui.h
 
 main-ui.h: Makefile $(srcdir)/main-ui.xml
 	exo-csource --strip-comments --strip-content --static --name=main_ui $(srcdir)/main-ui.xml > main-ui.h
 
 interface-ui.h: Makefile $(srcdir)/interface-ui.xml
 	exo-csource --strip-comments --strip-content --static --name=xfmpc_interface_ui $(srcdir)/interface-ui.xml > interface-ui.h
+endif
 
+EXTRA_DIST =								\
+	main-ui.xml							\
+	interface-ui.xml
+




More information about the Goodies-commits mailing list