pkgsrc/editors/lpe/patches/patch-aa
2010-01-29 19:54:17 +00:00

25 lines
972 B
Text

$NetBSD: patch-aa,v 1.2 2010/01/29 19:54:17 joerg Exp $
--- man/Makefile.in.orig 2001-06-20 10:22:30.000000000 +0000
+++ man/Makefile.in
@@ -102,7 +102,7 @@ MAINTAINERCLEANFILES = lpe.1 Makefile.in
man_MANS = lpe.1
-EXTRA_MANPAGES = lpe.1.bg lpe.1.cs lpe.1.de lpe.1.es lpe.1.fr lpe.1.pl lpe.1.ru
+EXTRA_MANPAGES = lpe.1.bg lpe.1.cs lpe.1.de lpe.1.es lpe.1.fr lpe.1.pl
EXTRA_DIST = $(EXTRA_MANPAGES) lpe.1.en
@@ -261,9 +261,9 @@ clean-local:
install-data-hook:
for m in $(EXTRA_MANPAGES); do \
- $(mkinstalldirs) $(mandir)/`echo $$m | sed -e "s,^.*\.1\.\(.*\)$$,\1/man1,"`; \
+ $(mkinstalldirs) ${DESTDIR}$(mandir)/`echo $$m | sed -e "s,^.*\.1\.\(.*\)$$,\1/man1,"`; \
$(INSTALL_DATA) $(top_srcdir)/man/$$m \
- $(mandir)/`echo $$m | sed -e "s,^\(.*\)\.1\.\(.*\)$$,\2/man1/\1.1,"`; \
+ ${DESTDIR}$(mandir)/`echo $$m | sed -e "s,^\(.*\)\.1\.\(.*\)$$,\2/man1/\1.1,"`; \
done
# Tell versions [3.59,3.63) of GNU make to not export all variables.