d26fcd0ec0
* Add comments for each patch (and move some comments from Makefile). * Define LICENSE explicitly.
44 lines
1.3 KiB
Text
44 lines
1.3 KiB
Text
$NetBSD: patch-ac,v 1.2 2012/04/15 00:20:49 schmonz Exp $
|
|
|
|
DESTDIR support.
|
|
|
|
--- Makefile.orig 1998-11-15 02:28:23.000000000 +0000
|
|
+++ Makefile
|
|
@@ -28,6 +28,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_home `head -1 conf-destdir` > auto_destdir.c
|
|
+
|
|
+auto_destdir.o: \
|
|
+compile auto_destdir.c
|
|
+ ./compile auto_destdir.c
|
|
+
|
|
auto_home.c: \
|
|
auto-str conf-home
|
|
./auto-str auto_home `head -1 conf-home` > auto_home.c
|
|
@@ -240,9 +248,9 @@ compile hier.c auto_home.h
|
|
./compile hier.c
|
|
|
|
install: \
|
|
-load install.o hier.o auto_home.o strerr.a substdio.a open.a error.a \
|
|
+load install.o hier.o auto_destdir.o strerr.a substdio.a open.a error.a \
|
|
str.a
|
|
- ./load install hier.o auto_home.o strerr.a substdio.a \
|
|
+ ./load install hier.o auto_destdir.o strerr.a substdio.a \
|
|
open.a error.a str.a
|
|
|
|
install.o: \
|
|
@@ -251,8 +259,8 @@ exit.h
|
|
./compile install.c
|
|
|
|
instcheck: \
|
|
-load instcheck.o hier.o auto_home.o strerr.a substdio.a error.a str.a
|
|
- ./load instcheck hier.o auto_home.o strerr.a substdio.a \
|
|
+load instcheck.o hier.o auto_destdir.o strerr.a substdio.a error.a str.a
|
|
+ ./load instcheck hier.o auto_destdir.o strerr.a substdio.a \
|
|
error.a str.a
|
|
|
|
instcheck.o: \
|