summaryrefslogtreecommitdiff
path: root/Build/source/texk/gsftopk/Makefile.in
blob: 599a0e075c119293f5627a5cf4045f816a73057c (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
# Makefile for gsftopkk --kb@cs.umb.edu. Modified Yves.Arrouye@imag.fr
version = 1.19

program = gsftopk
default all: $(program) gsftopk.1

kpse_include ../make/paths.mk
kpse_include ../make/common.mk
kpse_include ../make/programs.mk

gsftopkpsheaderdir = $(psheaderdir)/gsftopk

# (Optional) The fully-qualified path of Ghostscript.
# GSPATH=-DGS=\"/usr/local/gnu/bin/gs\"

# See INSTALL for compilation options.
DEFS = @DEFS@ $(XDEFS) $(GSPATH) -DKPATHSEA

objects = gsftopk.o


$(program): $(kpathsea) $(objects)
	$(kpathsea_link) $(objects) $(LOADLIBES)

kpse_include ../make/tkpathsea.mk

gsftopk.1: gsftopk1.sed sedscript
	sed -f sedscript <$(srcdir)/gsftopk1.sed >$@

sedscript: mksedscript Makefile
	$(SHELL) $(srcdir)/mksedscript $(DEFS) >$@

install: install-exec install-data
uninstall: uninstall-exec uninstall-data

install-exec: $(program)
	$(SHELL) $(top_srcdir)/../mkinstalldirs $(bindir)
	$(INSTALL_LIBTOOL_PROG) $(program) $(bindir)
uninstall-exec:
	rm -f $(bindir)/$(program)

install-data: gsftopk.1
	$(SHELL) $(top_srcdir)/../mkinstalldirs $(man1dir) $(gsftopkpsheaderdir)
	$(INSTALL_DATA) gsftopk.1 $(man1dir)/gsftopk.$(manext)
	$(INSTALL_DATA) $(srcdir)/render.ps $(gsftopkpsheaderdir)/render.ps
uninstall-data:
	rm -f $(man1dir)/gsftopk.$(manext)
	rm -f $(gsftopkpsheaderdir)/render.ps

kpse_include ../make/clean.mk

clean::
	rm -f sedscript

distclean::
	rm -f gsftopk.1

kpse_include ../make/config.mk

info dvi check:

kpse_include ../make/rdepend.mk
kpse_include depend.mk