build system: use makefile directly, not from template

This commit is contained in:
Florian Dold 2022-10-28 14:48:50 +02:00
parent 390276fc53
commit c32b80c176
No known key found for this signature in database
GPG Key ID: D2E4F00F29D02A4B
3 changed files with 2 additions and 5 deletions

2
.gitignore vendored
View File

@ -10,7 +10,7 @@ build/
# GNU-style build system # GNU-style build system
/configure /configure
/build-system/config.mk /build-system/config.mk
/Makefile /.config.mk
# Editor files # Editor files
\#*\# \#*\#

View File

@ -14,7 +14,7 @@ if getattr(tbc, "serialversion", 0) < 2:
b = tbc.BuildConfig() b = tbc.BuildConfig()
b.enable_prefix() b.enable_prefix()
b.enable_configmk() b.enable_configmk(dotfile=True)
b.add_tool(tbc.PosixTool("make")) b.add_tool(tbc.PosixTool("make"))
b.add_tool(tbc.PosixTool("zip")) b.add_tool(tbc.PosixTool("zip"))
b.add_tool(tbc.PosixTool("find")) b.add_tool(tbc.PosixTool("find"))
@ -23,6 +23,3 @@ b.add_tool(tbc.NodeJsTool(version_spec=">=12"))
b.add_tool(tbc.GenericTool("npm")) b.add_tool(tbc.GenericTool("npm"))
b.add_tool(tbc.GenericTool("pnpm", hint="Use 'sudo npm install -g pnpm' to install.")) b.add_tool(tbc.GenericTool("pnpm", hint="Use 'sudo npm install -g pnpm' to install."))
b.run() b.run()
print("copying Makefile")
shutil.copyfile("build-system/Makefile", "Makefile")