summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Gui/Makefile.am29
-rw-r--r--src/Makefile.am2
2 files changed, 30 insertions, 1 deletions
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