build system: use makefile directly, not from template
This commit is contained in:
parent
390276fc53
commit
c32b80c176
2
.gitignore
vendored
2
.gitignore
vendored
@ -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
|
||||||
\#*\#
|
\#*\#
|
||||||
|
@ -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")
|
|
||||||
|
Loading…
Reference in New Issue
Block a user