Blob Blame History Raw
diff -up latex2rtf-1.9.19/doc/latex2rtf.info.orig latex2rtf-1.9.19/doc/latex2rtf.info
--- latex2rtf-1.9.19/doc/latex2rtf.info.orig	2007-11-20 17:36:11.000000000 +0200
+++ latex2rtf-1.9.19/doc/latex2rtf.info	2008-11-02 19:45:44.000000000 +0200
@@ -3,6 +3,11 @@ latex2rtf.texi.
 
    
 
 
 
 
 
 
 
+INFO-DIR-SECTION LaTeX2RTF
+START-INFO-DIR-ENTRY
+* latex2rtf: (latex2rtf).         LaTeX2RTF reference.
+END-INFO-DIR-ENTRY
+
 
 File: latex2rtf.info,  Node: Top,  Next: Introduction,  Prev: (dir),  Up: (dir)
 
diff -up latex2rtf-1.9.19/Makefile.orig latex2rtf-1.9.19/Makefile
--- latex2rtf-1.9.19/Makefile.orig	2007-11-18 08:10:57.000000000 +0200
+++ latex2rtf-1.9.19/Makefile	2008-11-02 19:48:42.000000000 +0200
@@ -23,21 +23,21 @@ LINK_FLAGS = -lm
 #CFLAGS:=$(CFLAGS) -Zwin32  
 
 #Base directory - adapt as needed
-PREFIX=$(PREFIX_DRIVE)/usr/local
+PREFIX=@PREFIX@
 
 #Name of executable binary --- beware of 8.3 restriction under DOS
 BINARY_NAME=latex2rtf$(EXE_SUFFIX)
 
 # Location of binary, man, info, and support files - adapt as needed
-BIN_INSTALL=$(PREFIX)/bin
-MAN_INSTALL=$(PREFIX)/man/man1
-INFO_INSTALL=$(PREFIX)/info
-SUPPORT_INSTALL=$(PREFIX)/share/latex2rtf
-CFG_INSTALL=$(PREFIX)/share/latex2rtf/cfg
+BIN_INSTALL=$(PREFIX)/@BINDIR@
+MAN_INSTALL=$(PREFIX)/@MANDIR@/man1
+INFO_INSTALL=$(PREFIX)/@INFODIR@
+SUPPORT_INSTALL=$(PREFIX)/@DATADIR@/latex2rtf
+CFG_INSTALL=@DATADIR@/latex2rtf/cfg
 
 # Nothing to change below this line
 
-CFLAGS:=$(CFLAGS) -g -Wall -fsigned-char
+CFLAGS:=@OPTFLAGS@ -DUNIX -fsigned-char
 
 LIBS=
 #LIBS=-lMallocDebug -force_flat_namespace
@@ -205,12 +205,12 @@ install: latex2rtf doc/latex2rtf.1 $(CFG
 	cd doc && $(MAKE)
 	$(MKDIR) $(BIN_INSTALL)
 	$(MKDIR) $(MAN_INSTALL)
-	$(MKDIR) $(CFG_INSTALL)
+	$(MKDIR) $(PREFIX)/$(CFG_INSTALL)
 	cp $(BINARY_NAME)     $(BIN_INSTALL)
 	cp scripts/latex2png  $(BIN_INSTALL)
 	cp doc/latex2rtf.1    $(MAN_INSTALL)
 	cp doc/latex2png.1    $(MAN_INSTALL)
-	cp $(CFGS)            $(CFG_INSTALL)
+	cp $(CFGS)            $(PREFIX)/$(CFG_INSTALL)
 	cp doc/latex2rtf.html $(SUPPORT_INSTALL)
 	cp doc/latex2rtf.pdf  $(SUPPORT_INSTALL)
 	cp doc/latex2rtf.txt  $(SUPPORT_INSTALL)
@@ -232,7 +232,7 @@ install: latex2rtf doc/latex2rtf.1 $(CFG
 install-info: doc/latex2rtf.info
 	$(MKDIR) $(INFO_INSTALL)
 	cp doc/latex2rtf.info $(INFO_INSTALL)
-	install-info --info-dir=$(INFO_INSTALL) doc/latex2rtf.info
+#	install-info --info-dir=$(INFO_INSTALL) doc/latex2rtf.info
 
 realclean: checkdir clean
 	$(RM) -f makefile.depend latex2rtf-$(VERSION).tar.gz
@@ -245,7 +245,7 @@ splint: 
 pkg:
 	$(MKDIR) $(PKG_CONTENTS)/$(BIN_INSTALL)
 	$(MKDIR) $(PKG_CONTENTS)/$(MAN_INSTALL)
-	$(MKDIR) $(PKG_CONTENTS)/$(CFG_INSTALL)
+	$(MKDIR) $(PKG_CONTENTS)/$(PREFIX)/$(CFG_INSTALL)
 	$(MKDIR) $(PKG_CONTENTS)/$(SUPPORT_INSTALL)
 	$(MKDIR) $(PKG_RESOURCES)
 	$(MKDIR) $(DMG_DIR)
@@ -254,7 +254,7 @@ pkg:
 	cp scripts/latex2png  $(PKG_CONTENTS)/$(BIN_INSTALL)
 	cp doc/latex2rtf.1    $(PKG_CONTENTS)/$(MAN_INSTALL)
 	cp doc/latex2png.1    $(PKG_CONTENTS)/$(MAN_INSTALL)
-	cp $(CFGS)            $(PKG_CONTENTS)/$(CFG_INSTALL)
+	cp $(CFGS)            $(PKG_CONTENTS)/$(PREFIX)/$(CFG_INSTALL)
 	cp doc/latex2rtf.html $(PKG_CONTENTS)/$(SUPPORT_INSTALL)
 	cp doc/latex2rtf.pdf  $(PKG_CONTENTS)/$(SUPPORT_INSTALL)
 	cp doc/latex2rtf.txt  $(PKG_CONTENTS)/$(SUPPORT_INSTALL)