summaryrefslogtreecommitdiffstats
path: root/fonts
diff options
context:
space:
mode:
authorDavid Cantrell <dcantrell@redhat.com>2009-06-09 11:20:10 -1000
committerDavid Cantrell <dcantrell@redhat.com>2009-06-09 12:26:51 -1000
commit7a3cce670191f11fd28065c475f8bd44ab10d1de (patch)
tree74c4d540aa5032f2c96195c70b1c87d5bf3c6843 /fonts
parent89f4b061da9670dbb768d718b88f7be403a36c34 (diff)
downloadanaconda-7a3cce670191f11fd28065c475f8bd44ab10d1de.tar.gz
anaconda-7a3cce670191f11fd28065c475f8bd44ab10d1de.tar.xz
anaconda-7a3cce670191f11fd28065c475f8bd44ab10d1de.zip
Convert fonts/ to Makefile.am
Diffstat (limited to 'fonts')
-rw-r--r--fonts/Makefile41
-rw-r--r--fonts/Makefile.am39
2 files changed, 39 insertions, 41 deletions
diff --git a/fonts/Makefile b/fonts/Makefile
deleted file mode 100644
index b19b830fb..000000000
--- a/fonts/Makefile
+++ /dev/null
@@ -1,41 +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:
-
-depend:
-
-install:
- install -m 644 screenfont-$(ARCH).gz $(DESTDIR)/$(RUNTIMEDIR)
-
-clean:
-
-i386:
- ./updfonts i386
-
-alpha:
- ./updfonts alpha
-
-sparc:
- ./updfonts sparc
-
-ia64:
- ./updfonts ia64
diff --git a/fonts/Makefile.am b/fonts/Makefile.am
new file mode 100644
index 000000000..42cae2a3a
--- /dev/null
+++ b/fonts/Makefile.am
@@ -0,0 +1,39 @@
+# fonts/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>
+
+if IS_FONT_ARCH
+fontsdir = $(libdir)/$(PACKAGE_NAME)-runtime
+dist_fonts_DATA = screenfont-$(ARCH).gz
+endif
+
+EXTRA_DIST = screenfont-*.gz updfonts
+
+MAINTAINERCLEANFILES = Makefile.in
+
+i386:
+ ./updfonts i386
+
+alpha:
+ ./updfonts alpha
+
+sparc:
+ ./updfonts sparc
+
+ia64:
+ ./updfonts ia64