summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Sivak <msivak@redhat.com>2012-08-06 12:40:30 +0200
committerMartin Sivak <msivak@redhat.com>2012-08-06 13:32:21 +0200
commit72c797294e5d70a221cab91d3d97ce805ad4b851 (patch)
tree78adc3cceb5937149bc9ecfb874062d349243c71
parent3a26d05876c0827fa9c5f4a6cea4985efefd36d0 (diff)
downloadanaconda-72c797294e5d70a221cab91d3d97ce805ad4b851.tar.gz
anaconda-72c797294e5d70a221cab91d3d97ce805ad4b851.tar.xz
anaconda-72c797294e5d70a221cab91d3d97ce805ad4b851.zip
Add automake files for TUI
-rw-r--r--Makefile.am4
-rw-r--r--configure.ac5
-rw-r--r--pyanaconda/ui/Makefile.am2
-rw-r--r--pyanaconda/ui/tui/Makefile.am24
-rw-r--r--pyanaconda/ui/tui/hubs/Makefile.am24
-rw-r--r--pyanaconda/ui/tui/simpleline/Makefile.am24
-rw-r--r--pyanaconda/ui/tui/spokes/Makefile.am24
-rw-r--r--pyanaconda/ui/tui/tools/Makefile.am18
l---------pyanaconda/ui/tui/tools/run-hub.py1
l---------pyanaconda/ui/tui/tools/run-text-hub.py1
-rwxr-xr-xpyanaconda/ui/tui/tools/run-text-spoke.py (renamed from pyanaconda/ui/tui/tools/run-spoke.py)0
11 files changed, 123 insertions, 4 deletions
diff --git a/Makefile.am b/Makefile.am
index 9085d4e4a..84531c467 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -131,14 +131,14 @@ runtextspoke:
ANACONDA_INSTALL_CLASSES=${PWD}/pyanaconda/installclasses \
PYTHONPATH=.:pyanaconda/isys/.libs:widgets/python/:widgets/src/.libs/ \
LD_LIBRARY_PATH=widgets/src/.libs \
- pyanaconda/ui/tui/tools/run-spoke.py ${SPOKE_MODULE} ${SPOKE_CLASS}
+ pyanaconda/ui/tui/tools/run-text-spoke.py ${SPOKE_MODULE} ${SPOKE_CLASS}
runtexthub:
ANACONDA_DATA=${PWD}/data \
ANACONDA_INSTALL_CLASSES=${PWD}/pyanaconda/installclasses \
PYTHONPATH=.:pyanaconda/isys/.libs:widgets/python/:widgets/src/.libs/ \
LD_LIBRARY_PATH=widgets/src/.libs \
- pyanaconda/ui/tui/tools/run-hub.py ${HUB_MODULE} ${HUB_CLASS}
+ pyanaconda/ui/tui/tools/run-text-hub.py ${HUB_MODULE} ${HUB_CLASS}
runglade:
diff --git a/configure.ac b/configure.ac
index a7bc0323b..f10eed404 100644
--- a/configure.ac
+++ b/configure.ac
@@ -296,6 +296,11 @@ AC_CONFIG_FILES([Makefile
pyanaconda/ui/gui/spokes/lib/Makefile
pyanaconda/ui/gui/tools/Makefile
pyanaconda/ui/gui/Makefile
+ pyanaconda/ui/tui/hubs/Makefile
+ pyanaconda/ui/tui/simpleline/Makefile
+ pyanaconda/ui/tui/spokes/Makefile
+ pyanaconda/ui/tui/tools/Makefile
+ pyanaconda/ui/tui/Makefile
tests/Makefile
tests/mock/Makefile
tests/kickstart_test/Makefile
diff --git a/pyanaconda/ui/Makefile.am b/pyanaconda/ui/Makefile.am
index 970fc8220..cff34cc44 100644
--- a/pyanaconda/ui/Makefile.am
+++ b/pyanaconda/ui/Makefile.am
@@ -15,7 +15,7 @@
#
# Author: Chris Lumens <clumens@redhat.com>
-SUBDIRS = gui
+SUBDIRS = gui tui
MAINTAINERCLEANFILES = Makefile.in
diff --git a/pyanaconda/ui/tui/Makefile.am b/pyanaconda/ui/tui/Makefile.am
new file mode 100644
index 000000000..9cc0ba11a
--- /dev/null
+++ b/pyanaconda/ui/tui/Makefile.am
@@ -0,0 +1,24 @@
+# Copyright (C) 2011 Red Hat, Inc.
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU Lesser General Public License as published
+# by the Free Software Foundation; either version 2.1 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+#
+# Author: Chris Lumens <clumens@redhat.com>
+
+SUBDIRS = hubs spokes simpleline tools
+
+MAINTAINERCLEANFILES = Makefile.in
+
+pkgpyexecdir = $(pyexecdir)/py$(PACKAGE_NAME)
+tuidir = $(pkgpyexecdir)/ui/tui
+tui_PYTHON = *.py
diff --git a/pyanaconda/ui/tui/hubs/Makefile.am b/pyanaconda/ui/tui/hubs/Makefile.am
new file mode 100644
index 000000000..f099b76f0
--- /dev/null
+++ b/pyanaconda/ui/tui/hubs/Makefile.am
@@ -0,0 +1,24 @@
+# Copyright (C) 2011 Red Hat, Inc.
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU Lesser General Public License as published
+# by the Free Software Foundation; either version 2.1 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+#
+# Author: Chris Lumens <clumens@redhat.com>
+
+SUBDIRS =
+
+MAINTAINERCLEANFILES = Makefile.in
+
+pkgpyexecdir = $(pyexecdir)/py$(PACKAGE_NAME)
+hubsdir = $(pkgpyexecdir)/ui/tui/hubs
+hubs_PYTHON = *.py
diff --git a/pyanaconda/ui/tui/simpleline/Makefile.am b/pyanaconda/ui/tui/simpleline/Makefile.am
new file mode 100644
index 000000000..555931b3e
--- /dev/null
+++ b/pyanaconda/ui/tui/simpleline/Makefile.am
@@ -0,0 +1,24 @@
+# Copyright (C) 2011 Red Hat, Inc.
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU Lesser General Public License as published
+# by the Free Software Foundation; either version 2.1 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+#
+# Author: Chris Lumens <clumens@redhat.com>
+
+SUBDIRS =
+
+MAINTAINERCLEANFILES = Makefile.in
+
+pkgpyexecdir = $(pyexecdir)/py$(PACKAGE_NAME)
+simplelinedir = $(pkgpyexecdir)/ui/tui/simpleline
+simpleline_PYTHON = *.py
diff --git a/pyanaconda/ui/tui/spokes/Makefile.am b/pyanaconda/ui/tui/spokes/Makefile.am
new file mode 100644
index 000000000..96cdff93f
--- /dev/null
+++ b/pyanaconda/ui/tui/spokes/Makefile.am
@@ -0,0 +1,24 @@
+# Copyright (C) 2011 Red Hat, Inc.
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU Lesser General Public License as published
+# by the Free Software Foundation; either version 2.1 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+#
+# Author: Chris Lumens <clumens@redhat.com>
+
+SUBDIRS =
+
+MAINTAINERCLEANFILES = Makefile.in
+
+pkgpyexecdir = $(pyexecdir)/py$(PACKAGE_NAME)
+spokesdir = $(pkgpyexecdir)/ui/tui/spokes
+spokes_PYTHON = *.py
diff --git a/pyanaconda/ui/tui/tools/Makefile.am b/pyanaconda/ui/tui/tools/Makefile.am
new file mode 100644
index 000000000..abd547294
--- /dev/null
+++ b/pyanaconda/ui/tui/tools/Makefile.am
@@ -0,0 +1,18 @@
+# Copyright (C) 2011 Red Hat, Inc.
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU Lesser General Public License as published
+# by the Free Software Foundation; either version 2.1 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+#
+# Author: Chris Lumens <clumens@redhat.com>
+
+EXTRA_DIST = run-text-hub.py run-text-spoke.py
diff --git a/pyanaconda/ui/tui/tools/run-hub.py b/pyanaconda/ui/tui/tools/run-hub.py
deleted file mode 120000
index 4583bed4a..000000000
--- a/pyanaconda/ui/tui/tools/run-hub.py
+++ /dev/null
@@ -1 +0,0 @@
-run-spoke.py \ No newline at end of file
diff --git a/pyanaconda/ui/tui/tools/run-text-hub.py b/pyanaconda/ui/tui/tools/run-text-hub.py
new file mode 120000
index 000000000..506993edd
--- /dev/null
+++ b/pyanaconda/ui/tui/tools/run-text-hub.py
@@ -0,0 +1 @@
+run-text-spoke.py \ No newline at end of file
diff --git a/pyanaconda/ui/tui/tools/run-spoke.py b/pyanaconda/ui/tui/tools/run-text-spoke.py
index d5e9c5730..d5e9c5730 100755
--- a/pyanaconda/ui/tui/tools/run-spoke.py
+++ b/pyanaconda/ui/tui/tools/run-text-spoke.py