From 395e4e5ab2736ca56dd59884374d7af3d9d0031f Mon Sep 17 00:00:00 2001 From: Bruce Evans Date: Mon, 15 May 2000 14:17:50 +0000 Subject: [PATCH] Don't create a garbage file named "install" for the NOINFO case when there happens to be a source file named install.sh. The null rule for "install" in the NOINFO case must not be completely null, since then it may be overridden by the implicit .sh rule. --- share/mk/bsd.info.mk | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/share/mk/bsd.info.mk b/share/mk/bsd.info.mk index 8011db2bb6e..b5251ecb819 100644 --- a/share/mk/bsd.info.mk +++ b/share/mk/bsd.info.mk @@ -207,7 +207,12 @@ install: ${INSTALLINFODIRS} _SUBDIR ${INFO:S/$/.info.*.html/} ${DESTDIR}${INFODIR} .endif .else -install: +# The indirection in the following is to avoid the null install rule +# "install:" from being overridden by the implicit .sh rule if there +# happens to be a source file named install.sh. This assumes that there +# is no source file named __null_install.sh. +install: __null_install +__null_install: .endif .if !target(maninstall)