Applied rpld-1.8-makefile.patch from
[rpld.git] / Makefile
index 4260d87..24929c7 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -109,7 +109,7 @@ DESTDIR=/usr/local
 # Stuff
 CC      = gcc
 INCLUDES = 
-OPT     = -O
+#OPT    = -O
 CFLAGS   = ${OPT} ${INCLUDES} ${DEFINES}
 LIBS     = 
 LDFLAGS  =
@@ -212,11 +212,11 @@ doc/rpld.conf.5:rpld.conf.man
        cp $< $@
 
 install-prog:${PROG}
-       ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} ${PROG} ${BINDIR}
+       ${INSTALL} -c -m ${BINMODE} ${PROG} ${BINDIR}
 
 install-docs: doc
-       ${INSTALL} -c -o ${MANOWN} -g ${MANGRP} -m ${MANMODE} rpld.${MAN8EXT} ${MAN8}/rpld.${MAN8EXT}
-       ${INSTALL} -c -o ${MANOWN} -g ${MANGRP} -m ${MANMODE} rpld.conf.${MAN5EXT} ${MAN5}/rpld.conf.${MAN5EXT}
+       ${INSTALL} -c -m ${MANMODE} rpld.${MAN8EXT} ${MAN8}/rpld.${MAN8EXT}
+       ${INSTALL} -c -m ${MANMODE} rpld.conf.${MAN5EXT} ${MAN5}/rpld.conf.${MAN5EXT}
 
 ana:ana.c ${NIT}
 #linux-old-nit.c