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.
This commit is contained in:
parent
ec2f949e2e
commit
395e4e5ab2
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=60597
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user