ironcore-dev / metalbond

Route reflector for IronCore Infrastructure Overlay Network
Apache License 2.0
0 stars 1 forks source link

Slightly improved Makefile #83

Closed PlagueCZ closed 10 months ago

PlagueCZ commented 10 months ago

Due to a bug for non-Debian systems, I took a look at the Makefile.

I actually had it fully working and dependency based, including make properly doing nothing instead of always rebuilding unless necessary.

But due to the fact that the html needs to be deep-copied every time to make sure any additions to the html tree are present in target directory, I was not able to do it without changing many other scripts (like DEB creation etc.), so I only did minimal changes instead.

The same applies for using uname -m that is present on all systems. This cannot be done without changing other scripts, which seemed to me as unnecessary, so I only prevented the make system from entering a loop.

There also was a forgotten onmetal leftover, whcih I changed as well. This did not break building metalbond, but I have not tested in a real environment.

Fixes #82

guvenc commented 10 months ago

@PlagueCZ Could you please rebase ?