[Xfce4-commits] [apps/xfce4-taskmanager] 08/10: Add automake plumbing to generate both gtk2 and gtk3 ui files in maintainer mode.

noreply at xfce.org noreply at xfce.org
Thu Dec 11 23:30:48 CET 2014


This is an automated email from the git hooks/post-receive script.

landry pushed a commit to branch landry/gtk3
in repository apps/xfce4-taskmanager.

commit 4d6fb822be83a659a258068a22f048a7e6000b91
Author: Landry Breuil <landry at xfce.org>
Date:   Thu Dec 11 23:28:19 2014 +0100

    Add automake plumbing to generate both gtk2 and gtk3 ui files in maintainer mode.
    
    - add the resulting files to BUILT_SOURCES & xfce4_taskmanager_SOURCES
    - add the gtk3 ui files to EXTRA_DIST
---
 src/Makefile.am |   12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)

diff --git a/src/Makefile.am b/src/Makefile.am
index 7b457ce..c43e390 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -20,7 +20,7 @@ xfce4_taskmanager_LDADD = 						\
 
 xfce4_taskmanager_SOURCES =						\
 	main.c								\
-	process-window_ui.h						\
+	process-window_ui.h		process-window-gtk3_ui.h	\
 	process-window.c		process-window.h		\
 	process-monitor.c		process-monitor.h		\
 	process-tree-model.c		process-tree-model.h		\
@@ -28,7 +28,7 @@ xfce4_taskmanager_SOURCES =						\
 	process-statusbar.c		process-statusbar.h		\
 	exec-tool-button.c		exec-tool-button.h		\
 	settings-tool-button.c		settings-tool-button.h		\
-	settings-dialog_ui.h						\
+	settings-dialog_ui.h		settings-dialog-gtk3_ui.h	\
 	settings-dialog.c		settings-dialog.h		\
 	settings.c			settings.h			\
 	task-manager.c			task-manager.h			\
@@ -63,12 +63,16 @@ xfce4_taskmanager_SOURCES += task-manager-skel.c
 endif
 
 if MAINTAINER_MODE
-BUILT_SOURCES = process-window_ui.h settings-dialog_ui.h
+BUILT_SOURCES = process-window_ui.h settings-dialog_ui.h process-window-gtk3_ui.h settings-dialog-gtk3_ui.h
 process-window_ui.h: process-window.ui
 	$(AM_V_GEN) exo-csource --static --strip-comments --strip-content --name=process_window_ui $< >$@
 settings-dialog_ui.h: settings-dialog.ui
 	$(AM_V_GEN) exo-csource --static --strip-comments --strip-content --name=settings_dialog_ui $< >$@
+process-window-gtk3_ui.h: process-window-gtk3.ui
+	$(AM_V_GEN) exo-csource --static --strip-comments --strip-content --name=process_window_ui $< >$@
+settings-dialog-gtk3_ui.h: settings-dialog-gtk3.ui
+	$(AM_V_GEN) exo-csource --static --strip-comments --strip-content --name=settings_dialog_ui $< >$@
 endif
 
-EXTRA_DIST = process-window.ui settings-dialog.ui
+EXTRA_DIST = process-window.ui settings-dialog.ui process-window-gtk3.ui settings-dialog-gtk3.ui
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list