jw-pkg-create-project.sh: Use make gitignore

jw-pkg-create-project.sh contains its own .gitignore template, which is
redundant to the new gitignore mechanism. Replace it.

Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
Jan Lindemann 2026-09-12 19:50:58 +02:00
commit f82bca220e
Signed by: Jan Lindemann
GPG key ID: 3750640C9E25DD61

View file

@ -97,42 +97,6 @@ cat_make_project_conf()
EOT
}
cat_gitignore()
{
cat <<-EOT
*.done
*.dist
*.dep.mk
.cache-project.mk
*.o
*.so.*
*.so
*.a
*.rep
ld-*.conf
*.ldscript
*.pc
$name
*_generated_*
*.secret
local.mk
.gdb_history
dist
mkspec.sh
*.out
*.orig
*.old
.feedfs_history
.exrc
*.swp
*tmp*
__init__.py
__pycache__
pyproject.toml
pyrightconfig.json
EOT
}
# ---------------------- here we go
myname=`basename $0`
@ -193,7 +157,7 @@ cat_make_Makefile > make/Makefile
cat_VERSION > VERSION
cat_make_proj_mk > make/proj.mk
cat_make_project_conf > make/project.conf
cat_gitignore > .gitignore
make gitignore
log Successfully created project template \"$name\".