1 diff -u -r ../unzip60/unix/Makefile ./unix/Makefile
2 --- ../unzip60/unix/Makefile 2009-01-18 17:41:18.000000000 -0500
3 +++ ./unix/Makefile 2015-07-08 21:06:39.896318954 -0400
8 -CC = cc# try using "gcc" target rather than changing this (CC and LD
9 -LD = $(CC)# must match, else "unresolved symbol: ___main" is possible)
11 LOC = $(D_USE_BZ2) $(LOCAL_UNZIP)
14 CF_NOOPT = -I. -I$(IZ_BZIP2) -DUNIX $(LOC)
15 CF = $(CFLAGS) $(CF_NOOPT)
19 # on some systems, manext=l and MANDIR=/usr/man/man$(manext) may be appropriate
22 BINDIR = $(prefix)/bin# where to install executables
23 -MANDIR = $(prefix)/man/man$(manext)# where to install man pages
24 +MANDIR = $(prefix)/share/man/man$(manext)# where to install man pages
25 INSTALLEDBIN = $(BINDIR)/funzip$E $(BINDIR)/unzip$E $(BINDIR)/unzipsfx$E \
26 $(BINDIR)/zipgrep$E $(BINDIR)/zipinfo$E
27 INSTALLEDMAN = $(MANDIR)/funzip.$(manext) $(MANDIR)/unzip.$(manext) \
29 $(INSTALL_PROGRAM) $(UNZIPS) $(BINDIR)
30 $(INSTALL) unix/zipgrep $(BINDIR)
31 $(RM) $(BINDIR)/zipinfo$E
32 - $(LN) $(BINDIR)/unzip$E $(BINDIR)/zipinfo$E
33 + $(LN) -s $(BINDIR)/unzip$E $(BINDIR)/zipinfo$E
34 -$(INSTALL_D) $(MANDIR)
35 $(INSTALL) man/funzip.1 $(MANDIR)/funzip.$(manext)
36 $(INSTALL) man/unzip.1 $(MANDIR)/unzip.$(manext)