openbsd-ports/net/znc/patches/patch-man_Makefile_in
2010-11-22 11:16:33 +00:00

22 lines
647 B
Plaintext

$OpenBSD: patch-man_Makefile_in,v 1.4 2010/11/22 11:16:33 sthen Exp $
--- man/Makefile.in.orig Mon Aug 23 13:51:40 2010
+++ man/Makefile.in Wed Nov 10 20:19:22 2010
@@ -11,7 +11,7 @@ mandir := @mandir@
INSTALL := @INSTALL@
INSTALL_DATA := @INSTALL_DATA@
-MAN1 := znc.1.gz znc-buildmod.1.gz znc-config.1.gz
+MAN1 := znc.1 znc-buildmod.1 znc-config.1
ifneq "$(V)" ""
VERBOSE=1
@@ -35,7 +35,7 @@ clean:
install: $(MAN1)
mkdir -p $(DESTDIR)$(mandir)/man1
- $(INSTALL_DATA) $(MAN1) $(DESTDIR)$(mandir)/man1
+ cd $(VPATH) && install -m 644 $(MAN1) $(DESTDIR)$(mandir)/man1
uninstall:
for file in $(MAN1) ; do \