Closed antecrescent closed 7 months ago
TODO:
sysconfdir
for system-wide configuration files.libdir
for library path configuration (crucial for multi-lib setups!).res/*
to datarootdir
instead of to /usr/lib/uwufetch
to conform to the FHS.Thanks a lot for the contribution! However, the Makefile in the development branch is a lot more updated, so the changes should have been made to that Makefile. If you don't mind, it would be nice to update the development branch. I can do that myself if you can't or don't want to (I should have written about this in the readme, so it's my fault).
I take it that you approve of these changes? If so, I'll rebase these commits onto the development branch myself in the next couple of days. Thank you for the update!
Yes, I approve the changes
Do you have any updates on the progress?
Atm, university is taking up most of my time so unfortunately no progress has been made. I'll have time to work on this draft in March. Sorry for the unannounced absence...
Sorry for the unannounced absence...
No problem, I am actually in the same situation.
Good luck with your exams
Please refer to the commit messages for a detailed explanation for these changes.
Makefile conventions: I tried to improve the build system flexibility for distro packagers and end users by respecting common user-defined variables such as
CC
,AR
,{C,LD}FLAGS
. Now the build system correctly applies the prefix to all install paths and lets users redefine them in a granular way. This does not apply to Windows as I don't have enough experience with installation procedures on that OS. I'm happy to add further fixes.I updated the library-related targets to install a versioned binary (both API and ABI wise) as it's commonly done.
Manpages are now uncompressed upon installation to allow for different compression algorithms and levels. Here's a link to a more eloquent explanation: https://cmpct.info/~sam/blog/posts/automatic-manpage-compression/
Add git to the build requirements as it's used to set the version string.