CREATE_MAKEFILE/(1)
π CREATE_MAKEFILE/(1) π
okay so bestie, welcome to the create_makefile page from the [FIXME: manual] manual β yes the manual name is literally bracketed FIXME, we love a work-in-progress icon β¨
β¨ NAME β¨
create_makefile β it creates Makefile.in and Makefile from a Makefile.am. that's the whole vibe. π
πΈ SYNOPSIS πΈ
create_makefile [relativepath/Makefile] [relativepath]
π¦ DESCRIPTION π¦
okay so create_makefile makes the Makefile.in and Makefile in a subdirectory that's got a Makefile.am in it. the whole point? it saves you so much time compared to re-running configure all the way from scratch. no cap. β±οΈβ¨
heads up bestie β you must supply the path to theMakefile/Makefile.amyou want (though you can totally drop the final/Makefileif you want, it's chill).
you can run this script from the toplevel directory (the one with configure in it) or from any of its subdirectories. flexible queen. π
if the source directory is different from the build directory (peep the environment variables below for that whole situation), it just assumes that the Makefile.am and Makefile.in live beneath the source directory and that the Makefile lives beneath the build... I mean build directory. π«Ά
this utility is part of the KDE Software Development Kit. iconic. π
π ENVIRONMENT π
one of these variables (but NOT both, pick a lane bestie) should be set if your source directory is different from your build directory. and if the build directory is simply a subdirectory of the source directory, use the simpler variable OBJ_SUBDIR instead. π
OBJ_SUBJDIRβ says that the build directory is inside 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. πOBJ_REPLACEMENTβ asedexpression used to transform the source directory into the build directory. for instance, if the source directory is~/src/kdesdkand the build directory is~/src/kdesdk-obj, thenOBJ_REPLACEMENTshould be set tos#kdesdk#kdesdk-obj#. β¨
π₯ SEE ALSO π₯
create_makefiles(1) β go read that one too, iykyk π
π AUTHORS π
create_makefile was written by David Faure <faure@kde.org> and others. slay.
this manual page was prepared by Ben Burton <bab@debian.org> for the Debian GNU/Linux system (but it may be used by others β generous king π).
and that's the tea π΅ β this page came from [FIXME: source] and it's dated 2003-03-08, so it's vintage but it still ate π β¨ mwah, love u, go make some Makefiles ππ¦
π¦ 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