summaryrefslogtreecommitdiff
path: root/XpConfig
diff options
context:
space:
mode:
authorSøren Sandmann Pedersen <sandmann@daimi.au.dk>2005-09-27 18:36:14 +0000
committerSøren Sandmann Pedersen <sandmann@daimi.au.dk>2005-09-27 18:36:14 +0000
commit003655c02ad3a031031bb4ac859966a513f63e10 (patch)
treef7b2b3a64a59fd3e9d9c4edbc5d76b2453543588 /XpConfig
parent156b2cf3f76ae53cc37b6f5910b446c776ccc9ba (diff)
Make XpConfig build system call mkfont{scale,dir}
Diffstat (limited to 'XpConfig')
-rw-r--r--XpConfig/C/print/models/CANONC3200-PS/Makefile.am2
-rw-r--r--XpConfig/C/print/models/CANONC3200-PS/fonts/Makefile.am51
-rw-r--r--XpConfig/C/print/models/HPLJ4050-PS/Makefile.am2
-rw-r--r--XpConfig/C/print/models/HPLJ4050-PS/fonts/Makefile.am51
-rw-r--r--XpConfig/C/print/models/PSdefault/Makefile.am8
-rw-r--r--XpConfig/C/print/models/PSdefault/fonts/Makefile.am9
-rw-r--r--XpConfig/C/print/models/SPSPARC2/Makefile.am6
-rw-r--r--XpConfig/C/print/models/SPSPARC2/fonts/Makefile.am34
8 files changed, 162 insertions, 1 deletions
diff --git a/XpConfig/C/print/models/CANONC3200-PS/Makefile.am b/XpConfig/C/print/models/CANONC3200-PS/Makefile.am
index 586ce9f1b..8c33acccc 100644
--- a/XpConfig/C/print/models/CANONC3200-PS/Makefile.am
+++ b/XpConfig/C/print/models/CANONC3200-PS/Makefile.am
@@ -1,3 +1,5 @@
+SUBDIRS = fonts
+
xpcdir = @xpconfigdir@/C/print/models/CANONC3200-PS
xpc_DATA = model-config
diff --git a/XpConfig/C/print/models/CANONC3200-PS/fonts/Makefile.am b/XpConfig/C/print/models/CANONC3200-PS/fonts/Makefile.am
new file mode 100644
index 000000000..183cc92bb
--- /dev/null
+++ b/XpConfig/C/print/models/CANONC3200-PS/fonts/Makefile.am
@@ -0,0 +1,51 @@
+xpcdir = @xpconfigdir@/C/print/models/SPSPARC2/fonts
+
+parentdir = @xpconfigdir@/C/print/models/PSdefault/fonts
+
+XPFONTS = \
+ AvantGarde-Book.pmf \
+ AvantGarde-BookOblique.pmf \
+ AvantGarde-Demi.pmf \
+ AvantGarde-DemiOblique.pmf \
+ Courier-Bold.pmf \
+ Courier-BoldOblique.pmf \
+ Courier-Oblique.pmf \
+ Courier.pmf \
+ Helvetica-Bold.pmf \
+ Helvetica-BoldOblique.pmf \
+ Helvetica-Oblique.pmf \
+ Helvetica.pmf \
+ LubalinGraph-Book.pmf \
+ LubalinGraph-BookOblique.pmf \
+ LubalinGraph-Demi.pmf \
+ LubalinGraph-DemiOblique.pmf \
+ NewCenturySchlbk-Bold.pmf \
+ NewCenturySchlbk-BoldItalic.pmf \
+ NewCenturySchlbk-Italic.pmf \
+ NewCenturySchlbk-Roman.pmf \
+ Souvenir-Demi.pmf \
+ Souvenir-DemiItalic.pmf \
+ Souvenir-Light.pmf \
+ Souvenir-LightItalic.pmf \
+ Symbol.pmf \
+ Times-Bold.pmf \
+ Times-BoldItalic.pmf \
+ Times-Italic.pmf \
+ Times-Roman.pmf \
+ ZapfDingbats.pmf
+
+install-data-hook:
+ mkdir -p $(xpcdir) ; \
+ \
+ for x in $(XPFONTS) ; do \
+ rm -f $(xpcdir)/$$x ; \
+ ln -s $(parentdir)/$$x $(xpcdir)/$$x ; \
+ done
+
+ @rm -f $(xpcdir)/fonts.scale
+ $(MKFONTSCALE) $(xpcdir)
+ @rm -f $(xpcdir)/font.dir
+ $(MKFONTDIR) $(xpcdir)
+
+distuninstallcheck:
+ @:
diff --git a/XpConfig/C/print/models/HPLJ4050-PS/Makefile.am b/XpConfig/C/print/models/HPLJ4050-PS/Makefile.am
index 0f7d80e5d..a25d364fe 100644
--- a/XpConfig/C/print/models/HPLJ4050-PS/Makefile.am
+++ b/XpConfig/C/print/models/HPLJ4050-PS/Makefile.am
@@ -1,3 +1,5 @@
+SUBDIRS = fonts
+
xpcdir = @xpconfigdir@/C/print/models/HPLJ4050-PS
xpc_DATA = model-config
diff --git a/XpConfig/C/print/models/HPLJ4050-PS/fonts/Makefile.am b/XpConfig/C/print/models/HPLJ4050-PS/fonts/Makefile.am
new file mode 100644
index 000000000..183cc92bb
--- /dev/null
+++ b/XpConfig/C/print/models/HPLJ4050-PS/fonts/Makefile.am
@@ -0,0 +1,51 @@
+xpcdir = @xpconfigdir@/C/print/models/SPSPARC2/fonts
+
+parentdir = @xpconfigdir@/C/print/models/PSdefault/fonts
+
+XPFONTS = \
+ AvantGarde-Book.pmf \
+ AvantGarde-BookOblique.pmf \
+ AvantGarde-Demi.pmf \
+ AvantGarde-DemiOblique.pmf \
+ Courier-Bold.pmf \
+ Courier-BoldOblique.pmf \
+ Courier-Oblique.pmf \
+ Courier.pmf \
+ Helvetica-Bold.pmf \
+ Helvetica-BoldOblique.pmf \
+ Helvetica-Oblique.pmf \
+ Helvetica.pmf \
+ LubalinGraph-Book.pmf \
+ LubalinGraph-BookOblique.pmf \
+ LubalinGraph-Demi.pmf \
+ LubalinGraph-DemiOblique.pmf \
+ NewCenturySchlbk-Bold.pmf \
+ NewCenturySchlbk-BoldItalic.pmf \
+ NewCenturySchlbk-Italic.pmf \
+ NewCenturySchlbk-Roman.pmf \
+ Souvenir-Demi.pmf \
+ Souvenir-DemiItalic.pmf \
+ Souvenir-Light.pmf \
+ Souvenir-LightItalic.pmf \
+ Symbol.pmf \
+ Times-Bold.pmf \
+ Times-BoldItalic.pmf \
+ Times-Italic.pmf \
+ Times-Roman.pmf \
+ ZapfDingbats.pmf
+
+install-data-hook:
+ mkdir -p $(xpcdir) ; \
+ \
+ for x in $(XPFONTS) ; do \
+ rm -f $(xpcdir)/$$x ; \
+ ln -s $(parentdir)/$$x $(xpcdir)/$$x ; \
+ done
+
+ @rm -f $(xpcdir)/fonts.scale
+ $(MKFONTSCALE) $(xpcdir)
+ @rm -f $(xpcdir)/font.dir
+ $(MKFONTDIR) $(xpcdir)
+
+distuninstallcheck:
+ @:
diff --git a/XpConfig/C/print/models/PSdefault/Makefile.am b/XpConfig/C/print/models/PSdefault/Makefile.am
index be7064ea1..dea412a4a 100644
--- a/XpConfig/C/print/models/PSdefault/Makefile.am
+++ b/XpConfig/C/print/models/PSdefault/Makefile.am
@@ -4,3 +4,11 @@ xpcdir = @xpconfigdir@/C/print/models/PSdefault
xpc_DATA = model-config
+install-data-hook:
+ @rm -f $(xpcdir)/fonts.scale
+ $(MKFONTSCALE) $(xpcdir)
+ @rm -f $(xpcdir)/font.dir
+ $(MKFONTDIR) $(xpcdir)
+
+distuninstallcheck:
+ @:
diff --git a/XpConfig/C/print/models/PSdefault/fonts/Makefile.am b/XpConfig/C/print/models/PSdefault/fonts/Makefile.am
index f4d15a095..8458e8193 100644
--- a/XpConfig/C/print/models/PSdefault/fonts/Makefile.am
+++ b/XpConfig/C/print/models/PSdefault/fonts/Makefile.am
@@ -31,3 +31,12 @@ xpc_DATA = \
Times-Italic.pmf \
Times-Roman.pmf \
ZapfDingbats.pmf
+
+install-data-hook:
+ @rm -f $(xpcdir)/fonts.scale
+ $(MKFONTSCALE) $(xpcdir)
+ @rm -f $(xpcdir)/font.dir
+ $(MKFONTDIR) $(xpcdir)
+
+distuninstallcheck:
+ @:
diff --git a/XpConfig/C/print/models/SPSPARC2/Makefile.am b/XpConfig/C/print/models/SPSPARC2/Makefile.am
index a73424ef6..37e820268 100644
--- a/XpConfig/C/print/models/SPSPARC2/Makefile.am
+++ b/XpConfig/C/print/models/SPSPARC2/Makefile.am
@@ -1 +1,5 @@
-# FIXME, find out what the monolith does with this empty directory
+SUBDIRS = fonts
+
+xpcdir = @xpconfigdir@/C/print/models/SPSPARC2
+
+xpc_DATA = model-config
diff --git a/XpConfig/C/print/models/SPSPARC2/fonts/Makefile.am b/XpConfig/C/print/models/SPSPARC2/fonts/Makefile.am
new file mode 100644
index 000000000..a133c1d47
--- /dev/null
+++ b/XpConfig/C/print/models/SPSPARC2/fonts/Makefile.am
@@ -0,0 +1,34 @@
+xpcdir = @xpconfigdir@/C/print/models/SPSPARC2/fonts
+
+parentdir = @xpconfigdir@/C/print/models/PSdefault/fonts
+
+XPFONTS = \
+ Courier-Bold.pmf \
+ Courier-BoldOblique.pmf \
+ Courier-Oblique.pmf \
+ Courier.pmf \
+ Helvetica-Bold.pmf \
+ Helvetica-BoldOblique.pmf \
+ Helvetica-Oblique.pmf \
+ Helvetica.pmf \
+ Symbol.pmf \
+ Times-Bold.pmf \
+ Times-BoldItalic.pmf \
+ Times-Italic.pmf \
+ Times-Roman.pmf
+
+install-data-hook:
+ mkdir -p $(xpcdir) ; \
+ \
+ for x in $(XPFONTS) ; do \
+ rm -f $(xpcdir)/$$x ; \
+ ln -s $(parentdir)/$$x $(xpcdir)/$$x ; \
+ done
+
+ @rm -f $(xpcdir)/fonts.scale
+ $(MKFONTSCALE) $(xpcdir)
+ @rm -f $(xpcdir)/font.dir
+ $(MKFONTDIR) $(xpcdir)
+
+distuninstallcheck:
+ @: