epi-project / brane-documentation

Repository that contains the high-level documentation of the Brane framework. Written for use with mdBook.
Apache License 2.0
2 stars 2 forks source link

Makefile #9

Closed DanielVoogsgerd closed 3 months ago

DanielVoogsgerd commented 4 months ago

The GitHub workflow could be executed using something like act, but it is easier just to create a separate makefile.

Unfortunately, due to spaces in some filenames we cannot really use the requirements properly so all targets need to be PHONY.

Lut99 commented 4 months ago

Looks good! Can you maybe update the README to reflect it exists?

Also, can you add build/ to the .gitignore? Since my git suddenly thinks I've done months of HTML work after I run it :)

Finally, note that re-compiling seems to be a bit wack. Maybe I'm not compiling right, but running make all, changing something, and then make all again seems to lead to partial updates andsoforth. So if everything's phony anyway, maybe have everything depend on clean to build cleanly?

If I have time this week I can also see what's up with that, but not sure if I will.

DanielVoogsgerd commented 3 months ago

I think this fixes most of it, I am still not entirely happy with the whole recompilation business, but I think this is good enough for now. If you want to invest more time into it feel free to, but I have to focus on other stuff :sweat_smile:

Lut99 commented 3 months ago

Same xD but works good enough for me!

Thanks!!