diff -up latex2rtf-2.2.0/Makefile.makefile latex2rtf-2.2.0/Makefile
--- latex2rtf-2.2.0/Makefile.makefile 2012-06-04 23:35:32.000000000 +0300
+++ latex2rtf-2.2.0/Makefile 2012-06-07 00:55:16.849315061 +0300
@@ -31,8 +31,8 @@ BINARY_NAME=latex2rtf$(EXE_SUFFIX)
# Location of binary, man, info, and support files - adapt as needed
BINDIR=/bin
-MANDIR=/$(PKGMANDIR)/man1
-INFODIR=/info
+MANDIR=/share/$(PKGMANDIR)/man1
+INFODIR=/share/info
SUPPORTDIR=/share/latex2rtf
CFGDIR=/share/latex2rtf/cfg
@@ -213,14 +213,14 @@ install: latex2rtf doc/latex2rtf.1 $(CFG
$(MKDIR) $(DESTDIR)$(BINDIR)
$(MKDIR) $(DESTDIR)$(MANDIR)
$(MKDIR) $(DESTDIR)$(CFGDIR)
- cp $(BINARY_NAME) $(DESTDIR)$(BINDIR)
- cp scripts/latex2png $(DESTDIR)$(BINDIR)
- cp doc/latex2rtf.1 $(DESTDIR)$(MANDIR)
- cp doc/latex2png.1 $(DESTDIR)$(MANDIR)
- cp $(CFGS) $(DESTDIR)$(CFGDIR)
- cp doc/latex2rtf.html $(DESTDIR)$(SUPPORTDIR)
- cp doc/latex2rtf.pdf $(DESTDIR)$(SUPPORTDIR)
- cp doc/latex2rtf.txt $(DESTDIR)$(SUPPORTDIR)
+ cp -p $(BINARY_NAME) $(DESTDIR)$(BINDIR)
+ cp -p scripts/latex2png $(DESTDIR)$(BINDIR)
+ 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)
@echo "******************************************************************"
@echo "*** latex2rtf successfully installed as \"$(BINARY_NAME)\""
@echo "*** in directory \"$(DESTDIR)$(BINDIR)\""
@@ -238,7 +238,7 @@ install: latex2rtf doc/latex2rtf.1 $(CFG
install-info: doc/latex2rtf.info
$(MKDIR) $(DESTDIR)$(INFODIR)
- cp doc/latex2rtf.info $(DESTDIR)$(INFODIR)
+ cp -p doc/latex2rtf.info $(DESTDIR)$(INFODIR)
install-info --info-dir=$(DESTDIR)$(INFODIR) doc/latex2rtf.info
realclean: checkdir clean