$NetBSD: patch-aa,v 1.8 2007/10/14 04:53:36 obache Exp $ --- makefile.in.orig 2007-09-12 08:02:08.000000000 +0200 +++ makefile.in @@ -54,8 +54,8 @@ TARGET = @TARGET@$x AWK = @AWK@ PERL = @PERL@ PERLLIB = @perl_lib_path@ -INSTALL_SCRIPT = $(SHELL) $(srcdir)/sinstall.sh $(PERL) $(INSTALL_PROGRAM) -INSTALL_MODULE = $(SHELL) $(srcdir)/sinstall.sh $(PERL) $(INSTALL_DATA) +INSTALL_SCRIPT = ${BSD_INSTALL_SCRIPT} +INSTALL_MODULE = ${BSD_INSTALL_DATA} prefix = @prefix@ exec_prefix = @exec_prefix@ @@ -63,7 +63,7 @@ exec_prefix = @exec_prefix@ manext = 1 libdir = @libdir@ bindir = @bindir@ -datadir = @datadir@/vile +datadir = @datadir@ docdir = $(datadir)/doc perldir = $(datadir)/perl mandir = @mandir@/man$(manext) @@ -371,7 +371,6 @@ INSTALL_MACRO_FILES = \ INSTALL_PERL_DIRS = $(PERLDIR) $(PERLDIR)/Vile INSTALL_PERL_FILES = \ - $(BINDIR)/vileget \ $(PERLDIR)/Breadcrumbs.pm \ $(PERLDIR)/CaptHook.pm \ $(PERLDIR)/Glob2re.pm \ @@ -661,7 +660,7 @@ $(BINDIR)/$(TARGET): $(TARGET) $(INSTALL_PROGRAM) $(TARGET) $@ $(BINDIR)/xshell.sh: $(srcdir)/xshell.sh - $(INSTALL_PROGRAM) $(srcdir)/xshell.sh $@ + $(INSTALL_SCRIPT) $(srcdir)/xshell.sh $@ $(BINDIR)/vileget: $(srcdir)/perl/vileget $(INSTALL_SCRIPT) $(srcdir)/perl/vileget $@ @@ -782,6 +781,9 @@ $(PERLDIR)/winops.pm: $(srcdir)/perl/wi $(INSTALL_DIRS): $(SHELL) ${srcdir}/mkdirs.sh $@ +${INSTALL_PERL_DIRS}: + ${SHELL} ${srcdir}/mkdirs.sh $@ + ALWAYS: depend : $(BUILTHDRS) $(OBJ)