summaryrefslogtreecommitdiffstats
path: root/share/mk/bsd.info.mk
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>2000-05-15 14:17:50 +0000
committerbde <bde@FreeBSD.org>2000-05-15 14:17:50 +0000
commit437b04a4a19d8e51d9fdebfbacae7d018ef20cba (patch)
tree99c3f979cf76fa556427a81187df5a8cd8a57185 /share/mk/bsd.info.mk
parenta7c55cf6da0ffc304c856051a20c7fae39302edc (diff)
downloadFreeBSD-src-437b04a4a19d8e51d9fdebfbacae7d018ef20cba.zip
FreeBSD-src-437b04a4a19d8e51d9fdebfbacae7d018ef20cba.tar.gz
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.
Diffstat (limited to 'share/mk/bsd.info.mk')
-rw-r--r--share/mk/bsd.info.mk7
1 files changed, 6 insertions, 1 deletions
diff --git a/share/mk/bsd.info.mk b/share/mk/bsd.info.mk
index 8011db2..b5251ec 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)
OpenPOWER on IntegriCloud