blob: 7dbc71584342908bbc0bc96f8c688455db7a30e1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
|
$NetBSD: patch-ad,v 1.3 2006/11/12 08:51:54 hira Exp $
--- texk/dvipsk/Makefile.in.orig 2006-11-12 17:09:31.000000000 +0900
+++ texk/dvipsk/Makefile.in 2006-11-12 17:21:04.000000000 +0900
@@ -19,6 +19,7 @@
ac_include ../make/cross.mk
ac_include ../make/texi.mk
prog_cflags = -DUNIX -DKPATHSEA -DNeedFunctionPrototypes -DSHIFTLOWCHARS
+psheaderdir = $(texmflcl)/dvips
# The `t[mp]-' business is so that we don't create an empty .pro file,
# if running squeeze fails for some reason. A dependency on squeeze
@@ -37,13 +38,16 @@
pprescan.o papersiz.o color.o bbox.o hps.o t1part.o
program = dvips
-programs = afm2tfm $(program)
+programs = pdvips
default all: $(programs) $(prologues) dvips.info
$(program): $(kpathsea) $(objects)
$(kpathsea_link) $(objects) $(LOADLIBES)
+pdvips: $(program)
+ rm -f pdvips
+ ln $(program) pdvips
afm2tfm: $(kpathsea) afm2tfm.o
$(kpathsea_link) afm2tfm.o $(LOADLIBES)
# Omit LOADLIBES since no need to dynamically link with kpathsea.
@@ -87,11 +91,8 @@
install-exec: all
$(SHELL) $(top_srcdir)/../mkinstalldirs $(bindir)
for p in $(programs); do $(INSTALL_LIBTOOL_PROG) $$p $(bindir); done
- rm -f $(bindir)/o$(program)
- ln -s $(program) $(bindir)/o$(program)
uninstall-exec:
for p in $(programs); do rm -f $(bindir)/$$p; done
- rm -f $(bindir)/o$(program)
install-data: $(program).info
$(SHELL) $(top_srcdir)/../mkinstalldirs $(man1dir) $(infodir) $(psheaderdir)/base
@@ -110,31 +111,18 @@
# $(INSTALL_DATA) $(srcdir)/psfonts.map $(psheaderdir)/base/psfonts.map; \
# else true; fi
# psfonts_jp.map.
- $(INSTALL) -d $(texmf)/fonts/map/dvips/ptex
- $(INSTALL_DATA) $(srcdir)/psfonts_jp.map $(texmf)/fonts/map/dvips/ptex/psfonts_jp.map
+ $(INSTALL) -d $(texmflcl)/fonts/map/dvips/ptex
+ $(INSTALL_DATA) $(srcdir)/psfonts_jp.map $(texmflcl)/fonts/map/dvips/ptex/psfonts_jp.map
# Info files.
- cd $(srcdir) && for i in $(program).i*; do \
- $(INSTALL_DATA) $$i $(infodir)/$$i; done
# Man pages.
- $(INSTALL_DATA) $(srcdir)/$(program).1 $(man1dir)/$(program).$(manext)
- rm -f $(man1dir)/o$(program).$(manext)
- ln -s $(program).$(manext) $(man1dir)/o$(program).$(manext)
- $(INSTALL_DATA) $(srcdir)/afm2tfm.1 $(man1dir)/afm2tfm.$(manext)
# TeX macros.
# cd $(srcdir)/tex && for m in *.tex; do \
# $(INSTALL_DATA) $$m $(dvips_plain_macrodir)/$$m; done
$(POST_INSTALL)
- if $(SHELL) -c 'install-info --version' >/dev/null 2>&1; then \
- install-info --info-dir=$(infodir) $(infodir)/$(program).info; \
- else true; fi
uninstall-data:
$(PRE_UNINSTALL)
- if $(SHELL) -c 'install-info --version' >/dev/null 2>&1; then \
- install-info --delete --info-dir=$(infodir) $(infodir)/$(program).info; \
- else true; fi
$(NORMAL_UNINSTALL)
- rm -f $(infodir)/dvips.i*
# for h in $(prologues); do rm -f $(psheaderdir)/base/$$h; done
# cd $(srcdir)/reencode && for e in *.enc; do rm -f $(psheaderdir)/base/$$e; \
# done
@@ -146,7 +134,6 @@
# else true; fi
rm -f $(texmf)/fonts/map/dvips/ptex/psfonts_jp.map
rmdir $(texmf)/fonts/map/dvips/ptex
- rm -f $(man1dir)/dvips.$(manext) $(man1dir)/afm2tfm.$(manext)
distname = dvipsk
program_files = *.texi *.info* *.lpro psfonts.map *.1 texc.script \
|