30 lines
848 B
Plaintext
30 lines
848 B
Plaintext
|
$OpenBSD: patch-Makefile,v 1.1.1.1 2008/12/08 11:23:08 bernd Exp $
|
||
|
--- Makefile.orig Mon May 28 17:27:11 2007
|
||
|
+++ Makefile Mon Nov 3 17:52:23 2008
|
||
|
@@ -1,6 +1,3 @@
|
||
|
-CC=gcc
|
||
|
-prefix=/usr/local
|
||
|
-DESTDIR=
|
||
|
TARGET=si
|
||
|
|
||
|
FILES=si.c mit.c mm.c buddylist.c
|
||
|
@@ -25,14 +22,10 @@ si.o: ${FILES}
|
||
|
clean:
|
||
|
rm -f ${TARGET} *~ *.o *core
|
||
|
install: all
|
||
|
- @mkdir -p ${DESTDIR}${DOCDIR}
|
||
|
- @mkdir -p ${DESTDIR}${BINDIR}
|
||
|
- @mkdir -p ${DESTDIR}${MAN1DIR}
|
||
|
-
|
||
|
- @install -d ${DESTDIR}${BINDIR} ${DESTDIR}${MAN1DIR}
|
||
|
- @install -m 644 COPYING README FAQ buddylist ${DESTDIR}${DOCDIR}
|
||
|
- @install -m 775 si ${DESTDIR}${BINDIR}
|
||
|
- @install -m 444 si.1 ${DESTDIR}${MAN1DIR}
|
||
|
+ @${BSD_INSTALL_DATA_DIR} ${DOCDIR}
|
||
|
+ @${BSD_INSTALL_DATA} COPYING README FAQ ${DOCDIR}
|
||
|
+ @${BSD_INSTALL_PROGRAM} si ${BINDIR}
|
||
|
+ @${BSD_INSTALL_MAN} si.1 ${MAN1DIR}
|
||
|
@echo "installed si"
|
||
|
|
||
|
uninstall:
|