CREATE_MAKEFILES(1)
π 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 iskdesdkand the build directory iskdesdk/obj-i386-linux, thenOBJ_SUBDIRshould be set toobj-i386-linux. see how that works? cute right? πOBJ_REPLACEMENTβ asedexpression that is used to transform the source directory into the build directory. for instance, if the source directory iskdesdk/obj-i386-linux, thenOBJ_REPLACEMENTshould be set tos#kdesdk#kdesdk-obj#. yes the hashes are on purpose, that's thesedvibe, don't touch them π
π SEE ALSO π
create_makefile(1)make(2)
π 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
- arch rolling: kde-dev-scripts 26.08.2-1 Β· GPL-2.0-or-later AND LGPL-2.0-or-later
- debian bookworm: kdesdk-scripts 4:22.12.3-1 Β· GPL-2.0-or-later
- debian trixie: kdesdk-scripts 4:25.04.0-1 Β· GPL-2.0-or-later
- epel 10: kde-dev-scripts 26.08.1-1.el10_3 Β· GPL-2.0-only AND GPL-2.0-or-later AND LGPL-2.0-only AND BSD-2-Clause
- epel 9: kde-dev-scripts 23.08.5-1.el9 Β· GPLv2+ and GPLv2+ and BSD
- fedora 43: kde-dev-scripts 25.08.2-1.fc43 Β· GPL-2.0-only AND GPL-2.0-or-later AND LGPL-2.0-only AND BSD-2-Clause
- fedora 43: kde-dev-scripts 26.04.3-1.fc43 Β· GPL-2.0-only AND GPL-2.0-or-later AND LGPL-2.0-only AND BSD-2-Clause
- fedora 44: kde-dev-scripts 25.12.3-1.fc44 Β· GPL-2.0-only AND GPL-2.0-or-later AND LGPL-2.0-only AND BSD-2-Clause
- fedora 44: kde-dev-scripts 26.08.1-1.fc44
- fedora 44: kde-dev-scripts 26.08.2-1.fc44 Β· GPL-2.0-only AND GPL-2.0-or-later AND LGPL-2.0-only AND BSD-2-Clause
- nixos 26.05: kde-dev-scripts 26.04.3
- nixpkgs unstable: kde-dev-scripts 26.08.2
- opensuse-leap 16.0: kdesdk-scripts 25.04.3-bp160.1.2 Β· GPL-2.0-only AND GFDL-1.2-only
- opensuse-leap 16.0: kdesdk-scripts 25.04.3-bp160.1.2 Β· GPL-2.0-only AND GFDL-1.2-only
- opensuse-leap 16.0: kdesdk-scripts 25.04.3-bp160.1.2 Β· GPL-2.0-only AND GFDL-1.2-only
- opensuse-leap 16.0: kdesdk-scripts 25.04.3-bp160.1.2 Β· GPL-2.0-only AND GFDL-1.2-only
- ubuntu jammy: kdesdk-scripts 4:21.12.3-0ubuntu1 Β· GPL-2.0-or-later
- ubuntu noble: kdesdk-scripts 4:23.08.5-0ubuntu1 Β· GPL-2.0-or-later
- ubuntu questing: kdesdk-scripts 4:25.08.1-0ubuntu1
- ubuntu resolute: kdesdk-scripts 4:25.12.3-0ubuntu1 Β· GPL-2.0-or-later
- ubuntu stonking: kdesdk-scripts 4:26.08.1-0ubuntu1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms