blob: e8b043117797e381a5aa65014e0e2388be726423 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
$NetBSD: patch-ac,v 1.1 2008/06/12 02:14:15 joerg Exp $
--- Makefile.in.orig 2008-06-11 09:51:31.000000000 +0000
+++ Makefile.in
@@ -32,12 +32,12 @@ postal-list: postal-list.cpp expand.o
$(CXX) postal-list.cpp expand.o -o postal-list $(LFLAGS)
install-bin: $(EXE)
- mkdir -p $(eprefix)/sbin
- @INSTALL_PROGRAM@ @stripping@ $(EXE) $(eprefix)/sbin
+ mkdir -p ${DESTDIR}$(eprefix)/sbin
+ @INSTALL_PROGRAM@ @stripping@ $(EXE) ${DESTDIR}$(eprefix)/sbin
install: install-bin
- mkdir -p @mandir@/man8
- @INSTALL_DATA@ $(MAN8) @mandir@/man8
+ mkdir -p ${DESTDIR}@mandir@/man8
+ @INSTALL_DATA@ $(MAN8) ${DESTDIR}@mandir@/man8
%.o: %.cpp %.h postal.h
$(CXX) -c $<
|