aboutsummaryrefslogtreecommitdiff
path: root/print/latex2rtf/files/patch-aa
diff options
context:
space:
mode:
Diffstat (limited to 'print/latex2rtf/files/patch-aa')
-rw-r--r--print/latex2rtf/files/patch-aa33
1 files changed, 20 insertions, 13 deletions
diff --git a/print/latex2rtf/files/patch-aa b/print/latex2rtf/files/patch-aa
index e1f23e157b37..6a5c5522c734 100644
--- a/print/latex2rtf/files/patch-aa
+++ b/print/latex2rtf/files/patch-aa
@@ -1,7 +1,7 @@
---- Makefile.orig Thu Nov 28 19:36:14 2002
-+++ Makefile Tue Oct 28 21:13:49 2003
+--- Makefile.orig Mon Feb 9 03:12:03 2004
++++ Makefile Wed Apr 28 15:00:49 2004
@@ -1,9 +1,8 @@
- # $Id: Makefile,v 1.76 2002/11/28 18:36:14 prahl Exp $
+ # $Id: Makefile,v 1.101 2004/02/09 02:12:03 prahl Exp $
-CC=gcc
MKDIR=mkdir -p
@@ -9,7 +9,7 @@
-CFLAGS:=-DUNIX
+CFLAGS+=-DUNIX
#CFLAGS:=-DMSDOS #Windows/DOS
- #CFLAGS:=-DMACINTOSH #MacOS 8/9
+ #CFLAGS:=-DMAC_CLASSIC #MacOS 8/9
#CFLAGS:=-DOS2 #OS/2
@@ -18,7 +17,7 @@
#CFLAGS:=$(CFLAGS) -Zwin32
@@ -20,7 +20,11 @@
#Name of executable binary --- beware of 8.3 restriction under DOS
BINARY_NAME=latex2rtf$(EXE_SUFFIX)
-@@ -32,7 +31,7 @@
+@@ -29,10 +28,11 @@
+ INFO_INSTALL=$(PREFIX)/info
+ SUPPORT_INSTALL=$(PREFIX)/share/latex2rtf
+ CFG_INSTALL=$(PREFIX)/share/latex2rtf/cfg
++DOC_INSTALL=$(PREFIX)/share/doc/latex2rtf
# Nothing to change below this line
@@ -29,7 +33,7 @@
LIBS=
#LIBS=-lMallocDebug -force_flat_namespace
-@@ -144,14 +143,14 @@
+@@ -153,14 +153,15 @@
$(MKDIR) $(BIN_INSTALL)
$(MKDIR) $(MAN_INSTALL)
$(MKDIR) $(CFG_INSTALL)
@@ -41,23 +45,26 @@
- cp doc/latex2rtf.html $(SUPPORT_INSTALL)
- cp doc/latex2rtf.pdf $(SUPPORT_INSTALL)
- cp doc/latex2rtf.txt $(SUPPORT_INSTALL)
++ $(MKDIR) $(DOC_INSTALL)
+ ${BSD_INSTALL_PROGRAM} $(BINARY_NAME) $(BIN_INSTALL)
+ ${BSD_INSTALL_SCRIPT} scripts/latex2png $(BIN_INSTALL)
+ ${BSD_INSTALL_MAN} doc/latex2rtf.1 $(MAN_INSTALL)
+ ${BSD_INSTALL_MAN} doc/latex2png.1 $(MAN_INSTALL)
+ ${BSD_INSTALL_DATA} $(CFGS) $(CFG_INSTALL)
-+ ${BSD_INSTALL_DATA} doc/latex2rtf.html $(SUPPORT_INSTALL)
-+ ${BSD_INSTALL_DATA} doc/latex2rtf.pdf $(SUPPORT_INSTALL)
-+ ${BSD_INSTALL_DATA} doc/latex2rtf.txt $(SUPPORT_INSTALL)
++ ${BSD_INSTALL_DATA} doc/latex2rtf.html $(DOC_INSTALL)
++ ${BSD_INSTALL_DATA} doc/latex2rtf.pdf $(DOC_INSTALL)
++ ${BSD_INSTALL_DATA} doc/latex2rtf.txt $(DOC_INSTALL)
@echo "******************************************************************"
@echo "*** latex2rtf successfully installed as \"$(BINARY_NAME)\""
@echo "*** in directory \"$(BIN_INSTALL)\""
-@@ -169,7 +168,7 @@
+@@ -178,8 +179,8 @@
install-info: doc/latex2rtf.info
$(MKDIR) $(INFO_INSTALL)
-- cp doc/latex2rtf.info $(BIN_INSTALL)
-+ ${BSD_INSTALL_DATA} doc/latex2rtf.info $(BIN_INSTALL)
- install-info --info-dir=$(INFO_INSTALL) doc/latex2rtf.info
+- cp doc/latex2rtf.info $(INFO_INSTALL)
+- install-info --info-dir=$(INFO_INSTALL) doc/latex2rtf.info
++ ${BSD_INSTALL_DATA} doc/latex2rtf.info $(INFO_INSTALL)
++ install-info --info-dir=$(INFO_INSTALL) $(INFO_INSTALL)/latex2rtf.info
realclean: checkdir clean
+ rm -f makefile.depend latex2rtf-$(VERSION).tar.gz