SOURCES: oggfwd-Makefile.patch (NEW) - fix Mafile for our needs

shadzik shadzik at pld-linux.org
Sun Mar 4 17:50:19 CET 2007


Author: shadzik                      Date: Sun Mar  4 16:50:19 2007 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- fix Mafile for our needs

---- Files affected:
SOURCES:
   oggfwd-Makefile.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/oggfwd-Makefile.patch
diff -u /dev/null SOURCES/oggfwd-Makefile.patch:1.1
--- /dev/null	Sun Mar  4 17:50:19 2007
+++ SOURCES/oggfwd-Makefile.patch	Sun Mar  4 17:50:14 2007
@@ -0,0 +1,26 @@
+--- Makefile	2006-08-01 14:14:22.000000000 +0200
++++ Makefile-new	2007-03-04 17:47:15.000000000 +0100
+@@ -2,9 +2,9 @@
+ SRC =		oggfwd.c
+ MAN =		oggfwd.1
+ 
+-PREFIX ?=	/usr/local
++PREFIX ?=	/usr
+ BINDIR ?=	${PREFIX}/bin
+-MAN1DIR ?=	${PREFIX}/man/man1
++MAN1DIR ?=	${PREFIX}/share/man/man1
+ 
+ CC ?=		gcc
+ CFLAGS ?=	-O2 -pipe
+@@ -23,9 +23,8 @@
+ 	${CC} ${CFLAGS} ${PTHREADFLAGS} ${INCLUDEFLAGS} ${LINKFLAGS} -o ${PROG} $<
+ 
+ install: ${PROG}
+-	${INSTALL} -c -m 555 -o root -g bin ${PROG} ${BINDIR}
+-	test -d ${MAN1DIR} || ${INSTALL} -d -o root ${MAN1DIR}
+-	${INSTALL} -c -m 444 -o root -g bin ${MAN} ${MAN1DIR}
++	${INSTALL} ${PROG} ${DESTDIR}${BINDIR}
++	${INSTALL} ${MAN} ${DESTDIR}${MAN1DIR}
+ 
+ clean:
+ 	- at rm -f ${PROG} *~ core *.core
================================================================


More information about the pld-cvs-commit mailing list