shrub

@shrub900
25 Followers
22 Following
32 Posts
i spend my days playing with computers and marker pens; averse to all forms of real work
dérivehttps://derivelinux.org
shrub bloghttps://shrub.industries
shrub musichttps://open.spotify.com/artist/3dJH41yD4WR38ZBbwPG7vv?si=5O6CM5S9RDSdY_dwmD5ETw
buuuuuut, some old bsd-derived make’s don’t escape the newlines (apparently including modern openbsd make, openbsd users please confirm) so we declare fake targets for the names of the nmake directives that correspond to the default target, so openbsd make also effectively ignores them. then, the nmake endif is completed, and also uses an escaped newline comment so unix make ignores it. man, you gotta love make.

here’s some makefile bullshit for you from bearssl’s makefile:

the first 4 lines are microsoft nmake directives. it ignores the escaped newlines, and includes the nmake makefile, because ifndef 0 is always true, so it never reaches the else. on unix, they are hidden because posix specifies that comments start with # and continue until an unescaped newline is reached, so unix makes only see the lines afterwards, and includes the unix makefile.

there’s more, i’ll put it in a comment
#unix #make

https://www.youtube.com/watch?v=9-afWqWt6jA&t=3458s

@shrub900 on @BrodieOnLinux podcast!

Crazy times, software extremist propaganda on YouTube, this must be stopped.

#322 What If Wayland Sucked Less | Shrub

YouTube
privilege escalation exploits can’t hurt you if root is the only user on your machine
friendly desktop environment

DEAR OPEN GROUP
I have been reading through the “Open Group Base Specifications Issue 8 IEEE Std 1003.1-2024”, known by aficionados of the trade as POSIX.1-2024.

I noticed that the “rm” utility as you have defined it accepts the -v option, whereas the “cp” utility does not. this appears to be a glaring inconsistency and i would appreciate if in the next issue it could be made right.

yours truly,
shrub

tldr: the c in posix stands for consistency

spine(1)
spine

a makefile compiler than can emit graphviz, among other less-cool looking things (ninja, json)

i have what has been described as ‘build system autism’ so i find this unbelievably cool

gnu make extension support is missing many things right now but it does work on low-medium complexity makefiles

if ya wanna try it out or contribute its https://codeberg.org/derivelinux/shinobi

i’m the only person in the world with statically linked mesa, just saying