blob: 3c0ef302d94f47ddd10f0134fa470a331eb01ecd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
$NetBSD: patch-aa,v 1.3 2003/09/30 09:32:06 xtraeme Exp $
--- Makefile.in.orig 2003-09-30 11:25:24.000000000 +0200
+++ Makefile.in 2003-09-30 11:27:19.000000000 +0200
@@ -1,10 +1,12 @@
CXX = @CXX@
-CXXFLAGS = @CXXFLAGS@
-LDFLAGS = @LDFLAGS@ @LIBS@
+CXXFLAGS += @CXXFLAGS@
+LDFLAGS += @LDFLAGS@ @LIBS@
EXECS = pxe
CP = cp
+EGDIR = ${PREFIX}/share/examples/pxe
+
all: $(EXECS)
pxe.o: pxe.cc
@@ -31,7 +33,8 @@
$(CXX) $(CXXFLAGS) -c $*.cc
install: all
- $(CP) pxe /usr/sbin/
- @if test ! -e /etc/pxe.conf; then \
- $(CP) pxe.conf /etc/; \
+ ${BSD_INSTALL_PROGRAM} pxe ${PREFIX}/sbin
+ ${BSD_INSTALL_DATA_DIR} $(EGDIR)
+ @if test ! -e $(EGDIR)/pxe.conf; then \
+ ${BSD_INSTALL_DATA} pxe.conf $(EGDIR); \
fi
|