54 lines
1.4 KiB
Text
54 lines
1.4 KiB
Text
$NetBSD: patch-Makefile,v 1.1 2017/09/01 04:00:14 schmonz Exp $
|
|
|
|
DESTDIR support, and don't build catpages.
|
|
|
|
--- Makefile.orig 1998-05-19 16:25:42.000000000 +0000
|
|
+++ Makefile
|
|
@@ -31,6 +31,14 @@ auto-str.o: \
|
|
compile auto-str.c substdio.h readwrite.h exit.h
|
|
./compile auto-str.c
|
|
|
|
+auto_destdir.c: \
|
|
+auto-str conf-destdir
|
|
+ ./auto-str auto_qmail `head -1 conf-destdir` > auto_destdir.c
|
|
+
|
|
+auto_destdir.o: \
|
|
+compile auto_destdir.c
|
|
+ ./compile auto_destdir.c
|
|
+
|
|
auto_qmail.c: \
|
|
auto-str conf-qmail
|
|
./auto-str auto_qmail `head -1 conf-qmail` > auto_qmail.c
|
|
@@ -227,9 +235,9 @@ compile hier.c auto_qmail.h
|
|
./compile hier.c
|
|
|
|
install: \
|
|
-load install.o hier.o auto_qmail.o strerr.a substdio.a error.a open.a \
|
|
+load install.o hier.o auto_destdir.o strerr.a substdio.a error.a open.a \
|
|
str.a
|
|
- ./load install hier.o auto_qmail.o strerr.a substdio.a \
|
|
+ ./load install hier.o auto_destdir.o strerr.a substdio.a \
|
|
error.a open.a str.a
|
|
|
|
install.o: \
|
|
@@ -238,9 +246,9 @@ exit.h
|
|
./compile install.c
|
|
|
|
instcheck: \
|
|
-load instcheck.o hier.o auto_qmail.o strerr.a substdio.a error.a \
|
|
+load instcheck.o hier.o auto_destdir.o strerr.a substdio.a error.a \
|
|
str.a
|
|
- ./load instcheck hier.o auto_qmail.o strerr.a substdio.a \
|
|
+ ./load instcheck hier.o auto_destdir.o strerr.a substdio.a \
|
|
error.a str.a
|
|
|
|
instcheck.o: \
|
|
@@ -248,7 +256,7 @@ compile instcheck.c strerr.h error.h rea
|
|
./compile instcheck.c
|
|
|
|
it: \
|
|
-prog man
|
|
+prog
|
|
|
|
load: \
|
|
make-load warn-auto.sh systype
|