$NetBSD: patch-aa,v 1.2 2000/08/04 13:11:41 agc Exp $ --- Makefile 2000/08/02 10:33:55 1.1 +++ Makefile 2000/08/02 10:34:31 @@ -10,7 +10,7 @@ LDLIBS = -CFLAGS = -Wall -pedantic -O2 -D$(DB) +CFLAGS += -Wall -pedantic -D$(DB) LDFLAGS = OBJS =\ @@ -22,12 +22,16 @@ PROGS =\ antiword -INSTALL_DIR = $(HOME)/bin +INSTALL_DIR = ${PREFIX}/bin all: $(PROGS) install: all - cp -pf $(PROGS) $(INSTALL_DIR) + ${BSD_INSTALL_PROGRAM} ${PROGS} ${INSTALL_DIR} + ${BSD_INSTALL_DATA_DIR} ${PREFIX}/share/doc/antiword +.for file in COPYING Changes History QandA ReadMe + ${BSD_INSTALL_DATA} Docs/${file} ${PREFIX}/share/doc/antiword +.endfor clean: rm -f $(OBJS)