Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/share/mk



Module Name:    src
Committed By:   hgutch
Date:           Sun Jun 16 00:03:53 UTC 2024

Modified Files:
        src/share/mk: bsd.info.mk

Log Message:
Unbreak generation of share/info/dir

install-info refuses to operate on 0 byte files.  When __infoinstall
is run the first time in a build, an empty ${INFODIRFILE} is created
via touch.  As install-info leaves this file untouched, we are left
with a 0 byte file at the end.  For subsequent __infostall runs the
only difference is that ${INFODIRFILE} already exists as a 0 byte
file, so no new one is created.

Fix by deleting ${INFODIRFILE} in the loop (with the lock held) if it
is a 0 byte file.  In this case also don't bother with calling
install-info -r.


To generate a diff of this commit:
cvs rdiff -u -r1.43 -r1.44 src/share/mk/bsd.info.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index