e30760a745
the normal case, but matters in bulk builds in our new NO_MTREE order. Do all of the work in the package's install target, too.
27 lines
600 B
Text
27 lines
600 B
Text
$NetBSD: patch-aa,v 1.2 2007/05/13 15:34:05 agc Exp $
|
|
|
|
--- makefile 2007/04/23 21:54:35 1.1
|
|
+++ makefile 2007/04/23 21:55:35
|
|
@@ -49,16 +49,19 @@
|
|
fcall.h\
|
|
plan9.h
|
|
|
|
-u9fs: $(OFILES)
|
|
+u9fs all: $(OFILES)
|
|
$(LD) $(LDFLAGS) -o u9fs $(OFILES) $(LDTAIL)
|
|
|
|
-%.o: %.c $(HFILES)
|
|
+.c.o:
|
|
$(CC) $(CFLAGS) -c $*.c
|
|
|
|
clean:
|
|
rm -f *.o u9fs
|
|
|
|
install: u9fs
|
|
- cp u9fs ../../bin
|
|
+ ${BSD_INSTALL_DATA_DIR} ${PREFIX}/libexec
|
|
+ ${BSD_INSTALL_PROGRAM} u9fs ${PREFIX}/libexec/
|
|
+ ${BSD_INSTALL_MAN_DIR} ${PREFIX}/${PKGMANDIR}/man8
|
|
+ ${BSD_INSTALL_MAN} u9fs.8 ${PREFIX}/${PKGMANDIR}/man8/
|
|
|
|
.PHONY: clean install
|