git: 9front

Download patch

ref: 1986605036ce284ff8825278a7563a42d4ff52d1
parent: 72a8af8a0d1405295f0901d30bee3b95ff239dd2
author: Jacob Moody <moody@posixcafe.org>
date: Wed Mar 29 14:48:47 EDT 2023

libc: runecomp: move generated files to explicit regen rule

While a previous commit attempted to address the issues of a
; cd /sys/src/ && mk nuke && mk install

it seems that any kind of automatic detection for when to
rebuild will blow up in someones face. I am moving this to
an explicit virtual rule, the generated files are expected
to be there.

--- a/sys/src/libc/port/mkfile
+++ b/sys/src/libc/port/mkfile
@@ -146,7 +146,7 @@
 /lib/ucd/%:
 	cd /lib/ucd && mk $stem
 
-runenormdata runetotypedata runeistypedata runebreakdata:	mkrunetype.c $UCD
+runenormdata runetotypedata runeistypedata runebreakdata:
 	@{
 		eval `{grep '^[A-Z]' /$cputype/mkfile}
 		$CC $CFLAGS -o mkrunetype.$O mkrunetype.c
@@ -153,3 +153,5 @@
 		$LD $LDFLAGS -o $O.mkrunetype mkrunetype.$O
 		$O.mkrunetype
 	}
+
+regen:V:	runenormdata runetotypedata runeistypedata runebreakdata mkrunetype.c $UCD
--