summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Cantrell <dcantrell@redhat.com>2009-06-09 11:21:20 -1000
committerDavid Cantrell <dcantrell@redhat.com>2009-06-09 12:26:51 -1000
commitabc43d966699e5d3afe387abe7a6d23e0ec15f35 (patch)
treeac87c8661bd484fc4bf4ff51edbbd65bf7334eb6
parent49d2c55bcdf6920a0bfe7b2e84fbbfcf4270c437 (diff)
downloadanaconda-abc43d966699e5d3afe387abe7a6d23e0ec15f35.tar.gz
anaconda-abc43d966699e5d3afe387abe7a6d23e0ec15f35.tar.xz
anaconda-abc43d966699e5d3afe387abe7a6d23e0ec15f35.zip
Convert installclasses/ to Makefile.am
-rw-r--r--installclasses/Makefile39
-rw-r--r--installclasses/Makefile.am23
2 files changed, 23 insertions, 39 deletions
diff --git a/installclasses/Makefile b/installclasses/Makefile
deleted file mode 100644
index 2925eec28..000000000
--- a/installclasses/Makefile
+++ /dev/null
@@ -1,39 +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
-
-ifeq (i386, $(ARCH))
-CLASSES = $(shell ls *.py)
-else
-CLASSES = $(shell ls *.py | grep -v laptop)
-endif
-
-all:
- echo "nothing to make"
-
-install:
- mkdir -p $(DESTDIR)/$(PYTHONLIBDIR)/installclasses
- install -p -m 644 $(CLASSES) $(DESTDIR)/$(PYTHONLIBDIR)/installclasses
- ../py-compile --basedir $(DESTDIR)/$(PYTHONLIBDIR)/installclasses $(DESTDIR)/$(PYTHONLIBDIR)/installclasses/*.py
-
-clean:
- rm -f *.o *.so *.pyc
-
-depend:
diff --git a/installclasses/Makefile.am b/installclasses/Makefile.am
new file mode 100644
index 000000000..0b8ddd2e5
--- /dev/null
+++ b/installclasses/Makefile.am
@@ -0,0 +1,23 @@
+# installclasses/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>
+
+installclassesdir = $(libdir)/$(PACKAGE_NAME)/installclasses
+installclasses_PYTHON = *.py
+
+MAINTAINERCLEANFILES = Makefile.in