ec6fd84e38
PR: 54173 Submitted by: Alan Amesbury <amesbury@indefi.net>
51 lines
1.3 KiB
Text
51 lines
1.3 KiB
Text
--- Makefile.orig Mon Oct 21 03:46:44 2002
|
|
+++ Makefile Sat Nov 2 16:41:52 2002
|
|
@@ -24,7 +24,6 @@
|
|
# Set this to an ANSI compatible C compiler (preferably gcc)
|
|
# See also system specific settings below
|
|
#CC=cc
|
|
-CC=gcc
|
|
|
|
############################################################################
|
|
#
|
|
@@ -40,7 +39,7 @@
|
|
# See glob.c for all possibilities
|
|
#
|
|
# PAGESIZE=Letter
|
|
-PAGESIZE=A4
|
|
+PAGESIZE?=A4
|
|
|
|
#
|
|
# Define your spooler type
|
|
@@ -50,7 +49,6 @@
|
|
SPOOL_TYPE=BSD_SPOOLER
|
|
|
|
# PREFIX=e:/usr # OS/2 type
|
|
-PREFIX=/usr/local
|
|
#PREFIX=/usr
|
|
BINDIR=$(PREFIX)/bin
|
|
LIBDIR=$(PREFIX)/share
|
|
@@ -106,8 +104,11 @@
|
|
# Choose one of the following CFLAGS/CC definitions:
|
|
# If you are using gcc, you probably don't need to change anything here.
|
|
|
|
+# FreeBSD:
|
|
+CFLAGS += $(DEFS)
|
|
+
|
|
# Linux:
|
|
-CFLAGS = -O2 -s $(DEFS) -Wall
|
|
+#CFLAGS = -O2 -s $(DEFS) -Wall
|
|
|
|
# AIX (xlC on aix 4):
|
|
#CFLAGS = -O2 -s $(DEFS)
|
|
@@ -177,7 +178,6 @@
|
|
if [ ! -d $(LIBDIR)/mpage ] ; then mkdir -p $(LIBDIR)/mpage ; fi
|
|
if [ ! -d $(BINDIR) ] ; then mkdir -p $(BINDIR) ; fi
|
|
if [ ! -d $(MANDIR) ] ; then mkdir -p $(MANDIR) ; fi
|
|
- cp mpage$(E) $(BINDIR)
|
|
- cp mpage.1 $(MANDIR)
|
|
- -cp Encodings/* $(LIBDIR)/mpage
|
|
- -chmod 644 $(LIBDIR)/mpage/*
|
|
+ $(BSD_INSTALL_PROGRAM) mpage$(E) $(BINDIR)
|
|
+ $(BSD_INSTALL_MAN) mpage.1 $(MANDIR)
|
|
+ $(BSD_INSTALL_DATA) Encodings/* $(LIBDIR)/mpage
|