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