Removing the "install" targets from scripts/makefile.*

Cosmin Truta <[email protected]> Mon, 19 Sep 2022 02:31:12 +0300
Newsgroups gmane.comp.graphics.png.devel
Message-ID <CAAoVtZzGwe-rd-q0K1ysMZ6idnY0Gr5H3kfNkvvz-CimjMmQWQ@mail.gmail.com>
I noticed that most of the makefiles inside the scripts/ directory did not
execute the install targets correctly, and it's been like that since
libpng-1.5.0beta01. Clearly, those things weren't tested in ages.

I could drop many makefiles from the scripts/ directory, but I'd rather
not, because I still find them useful in some way or another, especially
for quick-and-dirty debugging, or for other kinds of quick libpng hacking.
A few of them are being tested on the CI bots already; more to follow.

Implementation-wise, I was glad to remove some very heavy make+shell code
snippets. Now, the makefiles are back to being simple and easy-to-follow.
Not to mention, testing the "make install" target was both complicated and
uninteresting -- no wonder that nobody has done it in a decade and a half...

Last but not least, "make install" is actually an extra-important step that
needs extra-important testing, because a bad thing may happen to a good
machine if something goes terribly wrong. This is the most important reason
why I was happy to remove this feature... finally.

https://github.com/ctruta/libpng/commit/9b65ad49d3269afc7e0eefe1f75c19aed7d28212

Sincerely,
Cosmin

_______________________________________________
png-mng-implement mailing list
png-mng-implement-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/png-mng-implement