blob: b5084ec52a547669339aabe6d85a60c8c0b70e5a (
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
|
# Makefile for hbf2gf -- wl@gnu.org
# Heavy modifications for TeX Live / teTeX by Thomas Esser, te@tug.org.
kpse_include ../make/paths.mk
kpse_include ../make/common.mk
kpse_include ../make/programs.mk
kpse_include ../make/texi.mk
prog_cflags = @no_strdup@ -Dunix -DHAVE_LIBKPATHSEA
CTANGLE = ../../web2c/ctangle
CWEAVE = ../../web2c/cweave
TEX = tex
.SUFFIXES: .dvi .tex .w
objects = hbf2gf.o hbf.o
program = hbf2gf
programs = $(program)
default all: $(programs)
hbf2gf.c: hbf2gf.w $(CTANGLE)
$(CTANGLE) $(srcdir)/hbf2gf.w
hbf2gf.tex: hbf2gf.w $(CWEAVE)
$(CWEAVE) +ai $(srcdir)/hbf2gf.w
hbf2gf.dvi: hbf2gf.tex
$(TEX) hbf2gf.tex
documentation: hbf2gf.dvi
$(program): $(objects)
$(kpathsea_link) $(objects) $(LOADLIBES)
$(CTANGLE):
cd ../../web2c; $(MAKE) ctangle
$(CWEAVE):
cd ../../web2c; $(MAKE) cweave
install: install-exec install-data
uninstall: uninstall-exec uninstall-data
install-exec: all
$(SHELL) $(top_srcdir)/../mkinstalldirs $(bindir)
for p in $(programs); do $(INSTALL_LIBTOOL_PROG) $$p $(bindir); done
uninstall-exec:
for p in $(programs); do $(RM) $(bindir)/$$p; done
install-data:
$(SHELL) $(top_srcdir)/../mkinstalldirs $(man1dir)
$(INSTALL_DATA) $(srcdir)/$(program).1 $(man1dir)/$(program).$(manext)
uninstall-data:
$(RM) $(man1dir)/$(program).$(manext)
kpse_include ../make/dist.mk
kpse_include ../make/clean.mk
distclean::
$(RM) hbf2gf.c c-auto.h Makefile
kpse_include ../make/rdepend.mk
kpse_include depend.mk
kpathsea_parent = ../..
|