openbsd-ports/net/znc/patches/patch-man_Makefile_in

22 lines
646 B
Plaintext
Raw Normal View History

$OpenBSD: patch-man_Makefile_in,v 1.3 2010/09/02 08:53:20 sthen Exp $
--- man/Makefile.in.orig Mon Aug 9 09:17:08 2010
+++ man/Makefile.in Thu Sep 2 01:28:06 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
ifeq "$(VERBOSE)" ""
Q=@
@@ -32,7 +32,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 \