From 0535b83d1d7fa5c99c4cf2dfd075511b8a7dcb24 Mon Sep 17 00:00:00 2001 From: Jiri Moskovcak Date: Tue, 24 Feb 2009 18:11:58 +0100 Subject: Added autotools scripts for gui. --- src/Gui/Makefile.am | 29 +++++++++++++++++++++++++++++ src/Makefile.am | 2 +- 2 files changed, 30 insertions(+), 1 deletion(-) create mode 100644 src/Gui/Makefile.am (limited to 'src') diff --git a/src/Gui/Makefile.am b/src/Gui/Makefile.am new file mode 100644 index 0000000..020bb1f --- /dev/null +++ b/src/Gui/Makefile.am @@ -0,0 +1,29 @@ +#SUBDIRS=gui tui plugins tests conf + +#bin_SCRIPTS = mainwindow.py + +PYTHON_FILES = CCDBusBackend.py CCDumpList.py CCDump.py CC_gui_functions.py ccgui.glade CCReporterDialog.py + +GLADE_FILES = ccgui.glade + +EXTRA_DIST = $(PYTHON_FILES) $(GLADE_FILES) + +ccguidir = $(pkgdatadir) +ccgui_PYTHON = $(PYTHON_FILES) +ccgui_DATA = $(GLADE_FILES) + +execdir = $(sbindir) + +CLEANFILES := $(notdir $(wildcard *~)) $(notdir $(wildcard *\#)) $(notdir $(wildcard \.\#*)) $(notdir $(wildcard *.pyc)) + +check-local: + @for i in $(notdir $(wildcard *.py)); do echo $(PYTHON_FILES)|grep -q $$i || (echo $$i is missing;false) || exit 1;done && echo "Source file check PASSED" +install-exec-local: + mkdir -p $(DESTDIR)$(pkgdatadir) $(DESTDIR)$(sbindir) $(DESTDIR)$(bindir) + install -m 0755 $(srcdir)/mainwindow.py $(DESTDIR)$(pkgdatadir) + ln -fs $(pkgdatadir)/mainwindow.py $(DESTDIR)$(bindir)/crash-catcher-gui +uninstall-local: + rm -fr $(DESTDIR)$(pkgdatadir) + rm -f $(DESTDIR)$(bindir)/crash-catcher-gui + + \ No newline at end of file diff --git a/src/Makefile.am b/src/Makefile.am index e653c2a..0026975 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1 +1 @@ -SUBDIRS = Hooks Daemon Applet \ No newline at end of file +SUBDIRS = Hooks Daemon Applet Gui \ No newline at end of file -- cgit