IRC channel logs

2022-03-05.log

back to list of logs

<unmatched-paren>phew, i finally have a complete D library compilation makefile: https://paste.debian.net/1233055/
<unmatched-paren>i decided to use scdoc instead of ddoc so that i could create manpages instead of html
<unmatched-paren>i might try and figure out unittests by studying dub's source
***alMalsamo is now known as lumberjack123
<unmatched-paren>i got unittests working! https://paste.debian.net/1233057/
***alMalsamo is now known as lumberjack123
<nimaje>you should only set default values for stuff like PREFIX, CC, DESTDIR, DMD via ?= and not just set a value (you want the user/packager to be able to override that stuff), and shouldn't the default for DESTDIR be empty and you install to $DESTDIR$PREFIX?
<pabs3>correct
<unmatched-paren>nimaje: thanks for the tips, but can't you override `=` values with e.g. `make CC=cproc`? when i tried that it worked (to test out the install target, i did `make install DESTDIR=.` and it worked fine
<unmatched-paren>and re CC: it's set to `cc` on my machine, which is a nonexistent link on guix by default; i'll see if i can get that cc symlink working, then i'll remove the CC=
<unmatched-paren>so i guess i should do `PREFIX ?= /usr/local` instead of `PREFIX ?= /usr` if i'm going to make DESTDIR empty by default?
<nimaje>yes, empty DESTDIR (maybe not set works too) and PREFIX ?= /usr/local
<unmatched-paren>thanks
<nimaje>ah, yes make had this overriding behaviour, = will override envvars but not stuff set via arguments
***blockhead_ is now known as blockhead
<unmatched-paren>miraheze requires me to enable js from google for a captcha before i can save an edit... is there some way around it?
<unmatched-paren>oh, i just realized i'm not logged in so of course it shows a captcha :P
<unmatched-paren>hm apparently the login screen also requires a captcha now
***ChanServ sets mode: +o janneke