Ticket #26464: patch-Makefile.diff

File patch-Makefile.diff, 1.1 KB (added by nicos_pavlov@…, 14 years ago)
  • Makefile

    old new  
    1 CC?=gcc
     1#CC?=gcc
    22TAR?=gnutar
    33RM?=rm -f
    44MKDIR?=mkdir -p
    55RMDIR?=rm -rf
    6 PKGMANDIR?=man
     6PKGMANDIR?=share/man
    77
    88#reasonable default set of compiler flags
    99CFLAGS?=-g -Wall -Wno-write-strings
     
    2121
    2222#Base directory - adapt as needed
    2323# Unix:
    24 PREFIX?=$(PREFIX_DRIVE)/usr/local
     24#PREFIX?=$(PREFIX_DRIVE)/usr/local
    2525# Windows:
    2626#PREFIX?=$(PREFIX_DRIVE)/PROGRA~1/latex2rtf
    2727
     
    2929BINARY_NAME=latex2rtf$(EXE_SUFFIX)
    3030
    3131# Location of binary, man, info, and support files - adapt as needed
    32 BIN_INSTALL=$(PREFIX)/bin
    33 MAN_INSTALL=$(PREFIX)/$(PKGMANDIR)/man1
    34 INFO_INSTALL=$(PREFIX)/info
    35 SUPPORT_INSTALL=$(PREFIX)/share/latex2rtf
    36 CFG_INSTALL=$(PREFIX)/share/latex2rtf/cfg
     32BIN_INSTALL=$(DESTDIR)$(PREFIX)/bin
     33MAN_INSTALL=$(DESTDIR)$(PREFIX)/$(PKGMANDIR)/man1
     34INFO_INSTALL=$(DESTDIR)$(PREFIX)/share/info
     35SUPPORT_INSTALL=$(DESTDIR)$(PREFIX)/share/latex2rtf
     36CFG_INSTALL=$(DESTDIR)$(PREFIX)/share/latex2rtf/cfg
    3737
    3838# Nothing to change below this line
    3939