summaryrefslogtreecommitdiffstats
path: root/fonts
diff options
context:
space:
mode:
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