Lines 1-44
Link Here
|
1 |
--- Makefile.orig Tue Jan 6 09:45:40 1998 |
|
|
2 |
+++ Makefile Tue Jan 6 09:50:35 1998 |
3 |
@@ -14,7 +14,7 @@ |
4 |
# (recommended by David Osborne, cczdao@mips.ccc.nottingham.ac.uk). |
5 |
# Add -Dtops20 to CFLAGS if you're running it under tops20. |
6 |
# Add -DDEBUG for some additional debugging code. |
7 |
-CFLAGS = -O -DDEBUG |
8 |
+#CFLAGS = -O -DDEBUG |
9 |
|
10 |
LINTFLAGS = -abchnpux |
11 |
CFILES = tr2latex.c tr.c subs.c version.c |
12 |
@@ -28,10 +28,10 @@ |
13 |
|
14 |
# BINDIR gives the path where the executable should be placed after |
15 |
# installation. |
16 |
-BINDIR = /sys/tex/bin |
17 |
+BINDIR = ${PREFIX}/bin |
18 |
|
19 |
# TEXDIR gives the path where the tex library resides (fonts, macros ...) |
20 |
-TEXDIR = /sys/tex/lib |
21 |
+TEXDIR = ${PREFIX}/share/texmf/tex/latex/misc |
22 |
|
23 |
# MANSECTION gives the section number of the online manual pages where to |
24 |
# place the tr2latex manual page. |
25 |
@@ -41,8 +41,9 @@ |
26 |
# place the manual page into the local section by giving MANSECTION as |
27 |
# l (``ell'') and setting MANDIR to /usr/man |
28 |
MANSECTION = 1 |
29 |
-MANDIR = /sys/tex/man |
30 |
+MANDIR = ${PREFIX}/man |
31 |
|
32 |
+all: tr2latex |
33 |
|
34 |
tr2latex: tr2latex.o tr.o subs.o version.o |
35 |
$(CC) $(CFLAGS) tr2latex.o tr.o subs.o version.o -o tr2latex |
36 |
@@ -60,7 +61,7 @@ |
37 |
install -c -m 0755 tr2latex $(BINDIR)/tr2latex |
38 |
install -c -m 0444 tr2latex.man \ |
39 |
$(MANDIR)/man$(MANSECTION)/tr2latex.$(MANSECTION) |
40 |
- install -c -m 0444 troffman.sty troffms.sty $(TEXDIR)/macros |
41 |
+ install -c -m 0444 troffman.sty troffms.sty $(TEXDIR) |
42 |
|
43 |
clean: |
44 |
\rm -f *.o core *junk* tr2latex lint.lst *~ TAGS tags |