summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Cantrell <dcantrell@redhat.com>2009-06-09 11:27:05 -1000
committerDavid Cantrell <dcantrell@redhat.com>2009-06-09 12:26:54 -1000
commit726860a0a10e8a079ae42b35743db2ac3df3465b (patch)
treeb1590a7fe898ceec3f95f7dfb43937803cb16621
parent294479c109be5bb4dafe8e28a01774cb77357566 (diff)
downloadanaconda-726860a0a10e8a079ae42b35743db2ac3df3465b.tar.gz
anaconda-726860a0a10e8a079ae42b35743db2ac3df3465b.tar.xz
anaconda-726860a0a10e8a079ae42b35743db2ac3df3465b.zip
Convert textw/ to Makefile.am
-rw-r--r--textw/Makefile33
-rw-r--r--textw/Makefile.am23
2 files changed, 23 insertions, 33 deletions
diff --git a/textw/Makefile b/textw/Makefile
deleted file mode 100644
index 958bb142f..000000000
--- a/textw/Makefile
+++ /dev/null
@@ -1,33 +0,0 @@
-#
-# Makefile
-#
-# Copyright (C) 2007 Red Hat, Inc. All rights reserved.
-#
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 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 General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program. If not, see <http://www.gnu.org/licenses/>.
-#
-
-include ../Makefile.inc
-
-all:
- echo "nothing to make"
-
-install:
- mkdir -p $(DESTDIR)/$(PYTHONLIBDIR)/textw
- install -p -m 644 *.py $(DESTDIR)/$(PYTHONLIBDIR)/textw
- ../py-compile --basedir $(DESTDIR)/$(PYTHONLIBDIR)/textw $(DESTDIR)/$(PYTHONLIBDIR)/textw/*.py
-
-clean:
- rm -f *.o *.so *.pyc
-
-depend:
diff --git a/textw/Makefile.am b/textw/Makefile.am
new file mode 100644
index 000000000..fcc423c56
--- /dev/null
+++ b/textw/Makefile.am
@@ -0,0 +1,23 @@
+# textw/Makefile.am for anaconda
+#
+# Copyright (C) 2009 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: David Cantrell <dcantrell@redhat.com>
+
+textwdir = $(libdir)/$(PACKAGE_NAME)/textw
+textw_PYTHON = *.py
+
+MAINTAINERCLEANFILES = Makefile.in