blob: fdc8bd77e584b1bc52ab8c78a46853db027f0e8c (
plain) (
blame)
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
|
--- Makefile.orig 2020-05-30 14:08:19 UTC
+++ Makefile
@@ -138,7 +138,7 @@ TEST= \
test/enc_ot2.tex test/keywords.tex test/bib_natbib4.tex \
test/graphicspath.tex test/bib_style.tex test/tikz.tex \
test/tikz2.tex
-
+
OBJS=fonts.o direct.o encodings.o commands.o stack.o funct1.o tables.o \
chars.o ignore.o cfg.o main.o utils.o parser.o lengths.o counters.o \
preamble.o letterformat.o equations.o convert.o xrefs.o definitions.o graphics.o \
@@ -163,7 +163,7 @@ check test: latex2rtf
cd test && $(MAKE) clean
cd test && $(MAKE)
cd test && $(MAKE) check
-
+
fullcheck: latex2rtf
cd scripts && $(MAKE)
cd test && $(MAKE) clean
@@ -209,10 +209,8 @@ releasedate:
$(RM) version.h.bak
doc: doc/latex2rtf.texi doc/Makefile
- cd doc && $(MAKE) -k
install: latex2rtf doc/latex2rtf.1 $(CFGS) scripts/latex2png
- cd doc && $(MAKE)
$(MKDIR) $(DESTDIR)$(BINDIR)
$(MKDIR) $(DESTDIR)$(MANDIR)
$(MKDIR) $(DESTDIR)$(CFGDIR)
@@ -220,24 +218,7 @@ install: latex2rtf doc/latex2rtf.1 $(CFGS) scripts/lat
cp -p doc/latex2rtf.1 $(DESTDIR)$(MANDIR)
cp -p doc/latex2png.1 $(DESTDIR)$(MANDIR)
cp -p $(CFGS) $(DESTDIR)$(CFGDIR)
- cp -p doc/latex2rtf.html $(DESTDIR)$(SUPPORTDIR)
- cp -p doc/latex2rtf.pdf $(DESTDIR)$(SUPPORTDIR)
- cp -p doc/latex2rtf.txt $(DESTDIR)$(SUPPORTDIR)
cp -p $(BINARY_NAME) $(DESTDIR)$(BINDIR)
- @echo "******************************************************************"
- @echo "*** latex2rtf successfully installed as \"$(BINARY_NAME)\""
- @echo "*** in directory \"$(BINDIR)\""
- @echo "***"
- @echo "*** \"make install-info\" will install TeXInfo files "
- @echo "***"
- @echo "*** latex2rtf was compiled to search for its configuration files in"
- @echo "*** \"$(CFGDIR)\" "
- @echo "***"
- @echo "*** If the configuration files are moved then either"
- @echo "*** 1) set the environment variable RTFPATH to this new location, or"
- @echo "*** 2) use the command line option -P /path/to/cfg, or"
- @echo "*** 3) edit the Makefile and recompile"
- @echo "******************************************************************"
install-info: doc/latex2rtf.info
$(MKDIR) $(DESTDIR)$(INFODIR)
@@ -252,10 +233,10 @@ realclean: checkdir clean
appleclean:
sudo xattr -r -d com.apple.FinderInfo ../trunk
sudo xattr -r -d com.apple.TextEncoding ../trunk
-
+
splint:
splint -weak $(SRCS) $(HDRS)
-
+
.PHONY: all check checkdir clean depend dist doc install install_info realclean latex2rtf uptodate releasedate splint fullcheck
# created using "make depend"
|