CREATE_MAKEFILES(1)

πŸ“¦
version 26.08.2 Β· 2 versions
  • 26.08.2 Β· arch rolling, debian bookworm, debian trixie, epel 10, epel 9, fedora 43, fedora 44, nixos 26.05, nixpkgs unstable, opensuse-leap 16.0, ubuntu jammy, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking (latest)
  • 26.04.2 Β· alpine 3.24
, in arch rolling, debian bookworm, debian trixie, epel 10, epel 9, fedora 43, fedora 44, nixos 26.05, nixpkgs unstable, opensuse-leap 16.0, ubuntu jammy, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking

πŸ’– CREATE_MAKEFILES πŸ’–

okay bestie, so this is the manual page for create_makefiles β€” yes that's the name, that's the whole vibe, it lives in section 1 of the manual and it is so much faster than what you're probably about to do instead 🫢


✨ NAME ✨

create_makefiles β€” recreates all Makefiles beneath a directory πŸ’…


🌸 SYNOPSIS 🌸

create_makefiles [dir]

πŸ¦‹ DESCRIPTION πŸ¦‹

so like. create_makefiles recreates every single Makefile in dir and its (recursed) subdirectories, rebuilding them from the corresponding Makefile.am templates. no cap. all of them. the whole tree. πŸ”₯

okay but fr fr, this script must be run from the toplevel directory β€” and by toplevel I mean the one containing configure. do not freestyle this. πŸ™ˆ

the slay here is that this script saves you so much time compared to re-running configure completely. it's giving efficiency. it's giving main character energy. ⭐

now, if the source directory is different from the build directory (peep the environment variables below πŸ‘‡), then it will be assumed that each Makefile.am and Makefile.in belongs beneath the source directory, and that each Makefile belongs beneath the build directory. just so we're clear on who lives where πŸ’–

this utility is part of the KDE Software Development Kit. iconic. πŸ‘‘


🌈 ENVIRONMENT 🌈

one of the following variables (but not both, bestie, pick a lane) should be set if the source directory is different from the build directory. and if the build directory is simply a subdirectory of the source directory, then the simpler variable OBJ_SUBDIR should be used. lowkey the easy mode. ✨

  • OBJ_SUBJDIR β€” indicates that the build directory is in the given subdirectory of the source directory. for instance, if the source directory is kdesdk and the build directory is kdesdk/obj-i386-linux, then OBJ_SUBDIR should be set to obj-i386-linux. see how that works? cute right? πŸŽ€
  • OBJ_REPLACEMENT β€” a sed expression that is used to transform the source directory into the build directory. for instance, if the source directory is kdesdk/obj-i386-linux, then OBJ_REPLACEMENT should be set to s#kdesdk#kdesdk-obj#. yes the hashes are on purpose, that's the sed vibe, don't touch them πŸ’…

πŸ’œ SEE ALSO πŸ’œ


πŸ‘‘ AUTHORS πŸ‘‘

create_makefiles was written by David Faure <faure@kde.org>. 🫢

this manual page was prepared by Ben Burton <bab@debian.org> for the Debian GNU/Linux system (but may be used by others). generous queen behavior honestly 🌸


and that's the whole page bestie!! πŸŽ€ the header up top says CREATE_MAKEFILES() and the footer down at the bottom says CREATE_MAKEFILES() again because manpages love symmetry, no version number or date in sight, just pure vibes πŸ’–βœ¨ go recreate those Makefiles, you got this πŸ¦‹πŸ’…

πŸ“¦ where this page comes from