0596109c36
run.mk: Add variable EXE_CMD
...
Add variable EXE_CMD to be overriden in including makefiles
Signed-off-by: Jan Lindemann <jan@janware.com>
2020-12-01 16:21:20 +00:00
8d2b093cc6
defs.mk: Replace tr invocations by $(TR)
...
Signed-off-by: Jan Lindemann <jan@janware.com>
2020-12-01 16:21:19 +00:00
50988845d7
defs.mk: Add .hh to SRC_H
...
Signed-off-by: Jan Lindemann <jan@janware.com>
2020-11-30 16:52:50 +00:00
d8bbe0fe60
Release 1.0.0-106@suse-tumbleweed/x86_64
...
Signed-off-by: Janware DevOps <devops@janware.com>
2020-11-30 13:44:46 +00:00
8b30c95155
Start version: 1.0.0-106
...
Signed-off-by: janware DevOps <devops@janware.com>
2020-11-30 13:44:08 +00:00
4ebe82970f
projects-dir.mk: Make INTERACTIVE=true default
...
Signed-off-by: Jan Lindemann <jan@janware.com>
2020-11-30 13:32:30 +00:00
8e9591440c
Release 1.0.0-105@suse-tumbleweed/x86_64
...
Signed-off-by: Janware DevOps <devops@janware.com>
2020-11-22 12:49:06 +00:00
ddd8a00c92
Start version: 1.0.0-105
...
Signed-off-by: janware DevOps <devops@janware.com>
2020-11-22 12:48:28 +00:00
e06ead38cc
swig.mk, defs-(dist|dev).mk: Fix Python 3 support
...
python38.pc doesn't exist on OpenSUSE Tumbleweed, python-38.pc does, so use that naming scheme. Also allow installation with DEVELOPMENT=true, failed with the attempt to install as root user before.
Signed-off-by: Jan Lindemann <jan@janware.com>
2020-11-21 13:09:15 +00:00
97a74b10b6
Release 1.0.0-104@suse-tumbleweed/x86_64
...
Signed-off-by: Janware DevOps <devops@janware.com>
2020-11-21 10:02:54 +00:00
65e3f34145
Start version: 1.0.0-104
...
Signed-off-by: janware DevOps <devops@janware.com>
2020-11-21 10:02:17 +00:00
b35b87009b
topdir.mk: Add pkg-manager targets
...
Add targets also present in projects-dir.mk:
- Pkg-manager-refresh - Pkg-manager-install-build-deps - Pkg-manager-install-release-deps
Signed-off-by: Jan Lindemann <jan@janware.com>
2020-11-11 16:16:42 +00:00
f368175d50
Release 1.0.0-103@suse-tumbleweed/x86_64
...
Signed-off-by: Janware DevOps <devops@janware.com>
2020-08-29 14:02:27 +00:00
6846acbdf7
svg.mk: Fix inkscape command line API change on --export-png
...
Signed-off-by: Jan Lindemann <jan@janware.com>
2020-08-29 14:01:42 +00:00
cd047ac7c7
Start version: 1.0.0-103
...
Signed-off-by: janware DevOps <devops@janware.com>
2020-08-29 11:59:34 +00:00
663af37f3f
Release 1.0.0-102@debian-10/armhf
...
Signed-off-by: Janware DevOps <devops@janware.com>
2020-06-16 17:09:46 +00:00
c37f49a170
project.conf + pkg-manager.sh: Add support for raspbian
...
Signed-off-by: Jan Lindemann <jan@janware.com>
2020-06-16 17:05:03 +00:00
f3febfa460
py-defs.mk, projects.mk: Fix /usr/bin/python globbing on OpenSUSE
...
Signed-off-by: Jan Lindemann <jan@janware.com>
2020-05-18 13:15:35 +00:00
caf33841b4
py-defs.mk, projects.mk: Use latest install Python
...
Use $(lastword $(shell ls -v /usr/bin/python[0-9]*)) for the Python version to use.
Signed-off-by: Jan Lindemann <jan@janware.com>
2020-05-16 13:22:51 +00:00
a82fa9023b
py-xxx.mk: Introduce PYTHON_MAJOR
...
Where *.pyc files are created is decided by PYTHON_MAJOR, not PYTHON_VERSION, so introduce it.
Signed-off-by: Jan Lindemann <jan@janware.com>
2020-05-16 13:09:16 +00:00
15f39de08f
Release 1.0.0-102@suse-tumbleweed/x86_64
...
Signed-off-by: Jan Lindemann <jan@janware.com>
2020-05-10 09:50:19 +00:00
c64aea01e0
Start version: 1.0.0-102
...
Signed-off-by: janware DevOps <devops@janware.com>
2020-05-10 09:47:15 +00:00
52bf5d3a0f
Release 1.0.0-101@suse-tumbleweed/x86_64
...
Signed-off-by: Janware DevOps <devops@janware.com>
2020-05-10 08:17:39 +00:00
5de62b3cc5
Start version: 1.0.0-101
...
Signed-off-by: janware DevOps <devops@janware.com>
2020-05-10 08:17:08 +00:00
5e9168480a
project-dirs.mk / pgit.sh: Add support for offlining projects
...
This adds support for the variable OFFLINE_PROJECTS in projects-dir.mk and the PGIT_IGNORE environment variable. Both go hand in hand and do what their names insinuate. OFFLINE_PROJECTS is initialized from EXCLUDE_FROM_BUILD, which in turn is initialized from exclude.txt and friends.
Signed-off-by: Jan Lindemann <jan@janware.com>
2020-05-10 08:07:22 +00:00
fab119fca9
py-defs.mk: Add MYPYPATH to py-libpath target
...
Signed-off-by: Jan Lindemann <jan@janware.com>
2020-04-26 19:04:18 +00:00
f9c7582e2b
rpmdist.mk: Fix target echo-requires
...
echo-requires doesn\'t work because all non-pkg-% targets are disabled in rpmdist.mk, so rename it to pkg-requires. Also add support for build deps.
Signed-off-by: Jan Lindemann <jan@janware.com>
2020-04-12 06:13:31 +00:00
a404be15b9
make, scripts: Add support for static Python typechecking
...
This commit adds support for static typechecking with mypy.
Notable additions:
- A new target "check" which does the type checking
- Py-mods.mk, meant to be included from a directory containing python modules
in subdirectories, but not being a python module itself. It makes the all
target depend on check only if PY_RUN_CHECK_AFTER_BUILD is defined and
true. That's because pypy is under heavy development, and the Ubuntu 18.04
version is too old to work for lots of the code.
Signed-off-by: Jan Lindemann <jan@janware.com>
2020-04-10 12:13:12 +00:00
089aebeaec
scm.sh clean: Make git clean ignore .gitignore
...
scm.sh clean doesn't remove files in .gitignore, which is kind of beside the point. Fix that.
Signed-off-by: Jan Lindemann <jan@janware.com>
2020-04-10 12:03:43 +00:00
47221aabdb
defs-dirs.mk: Add support for EXTRA_SUBDIR_TARGETS
...
Signed-off-by: Jan Lindemann <jan@janware.com>
2020-04-10 12:03:42 +00:00
5f3c4a6320
jw-build-create-project.sh: Add __init__.py and __pychache__ to .gitignore
...
Signed-off-by: Jan Lindemann <jan@janware.com>
2020-04-06 07:03:32 +00:00
5f9258bdf8
jw-build-create-project.sh: Add *.swp to .gitignore
...
Signed-off-by: Jan Lindemann <jan@janware.com>
2020-04-05 12:54:49 +00:00
7fb117a4c4
python-tools.sh: Make __init__py recognize multiple package modules
...
import my.mod.thing, my.mod.thang wouldn't work, if the modules where not in the same directory hierarchy, e.g. in $(HOME)/blah/my/mod/thing.py and $(HOME)/blub/my/mod/thang.py, not even with PYTHONPATH=$(HOME)/blah:$(HOME)/blub.
This commit fixes that.
See https://stackoverflow.com/questions/1675734
Signed-off-by: Jan Lindemann <jan@janware.com>
2020-04-05 12:51:11 +00:00
477d4e2d8d
rpmdist.mk: Remove make/.cache.mk with clean target
...
make rpm-build sometimes fails because RPM_VERSION is taken from .cache.mk. Not sure if this commit always resolves that entirely, but it mitigates the problem.
Signed-off-by: Jan Lindemann <jan@janware.com>
2020-04-05 12:51:10 +00:00
d8542717b1
py-defs.mk: Add PY_PREREQ_RUN in PYTHONPATH
...
This allows to specify modules in a test directory which a given module does _not_ depend on and doesn't want to depend on.
Signed-off-by: Jan Lindemann <jan@janware.com>
2020-04-05 12:51:08 +00:00
3e99fe51cd
projects-dir.mk: Don't do git-pull.done before git-pull-%
...
Use cvs-update.done instead of git-pull.done as prerequisite of git-pull-%, because otherwise broken remote own repos might not be recoverable
Signed-off-by: Jan Lindemann <jan@janware.com>
2020-03-23 08:13:14 +00:00
1239fb9f34
projects.py: Support line continuation in project.conf
...
This commit makes lines with backslashes at the end behave as if the next line was appended
Signed-off-by: Jan Lindemann <jan@janware.com>
2020-03-19 17:36:58 +00:00
e71661425c
projects.py: Fix integer comparison
...
Python 3.8 complains about integers compared with 'is not' instead of '!=', fix that
Signed-off-by: Jan Lindemann <jan@janware.com>
2020-03-19 17:34:35 +00:00
79465cfb6a
Release 1.0.0-100@suse-tumbleweed/x86_64
...
Signed-off-by: Janware DevOps <devops@janware.com>
2020-03-11 14:39:37 +00:00
689b980e58
Start version: 1.0.0-100
...
Signed-off-by: janware DevOps <devops@janware.com>
2020-03-11 14:38:45 +00:00
74fd246e81
header.ger.tmpl, header.tex.tmpl: Disable LaTeX package portland
...
portland has been removed from TexLive upstream due to licensing issues, see https://bugzilla.redhat.com/show_bug.cgi?id=1192705 . It is, however, very short, and still on CPAN, see https://ctan.kako-dev.de/macros/latex209/contrib/misc/portland.sty , so it can be included again if need be, given a test case.
Signed-off-by: Jan Lindemann <jan@janware.com>
2020-03-01 17:24:53 +00:00
1c7ef88936
Release 1.0.0-99@ubuntu-18.04/amd64
...
Signed-off-by: Janware DevOps <devops@janware.com>
2020-02-25 11:57:45 +00:00
640dc4ffad
git-submod.mk: Check a couple of variables before taking action
...
Add checks to the git-init-submod-remote target, to keep it from starting a job which fails halfway through
Signed-off-by: Jan Lindemann <jan@janware.com>
2020-02-25 10:39:24 +00:00
17244e9a3f
pgit.sh: Add support for target refspec to PGIT_CLONE_FROM_USER
...
PGIT_CLONE_CLONE_FROM_USER now supports optional suffixes of the form [:src-ref[:dst-ref]]. If present, src-ref specifies the remote branch pgit.sh tries to fetch, and dst-ref the local branch it tries to fetch into. src-ref defaults to "master" (as it was before) and dst-ref to nothing, i.e. no head-update of any local branch.
Signed-off-by: Jan Lindemann <jan@janware.com>
2020-02-24 14:35:26 +00:00
34c5d3ec21
proj.mk: Set JANWARE_URL_DOC_PROJECT to jw-build cheat sheet
...
Signed-off-by: Jan Lindemann <jan@janware.com>
2020-02-24 12:19:05 +00:00
f5f18f6b04
Release 1.0.0-99@suse-tumbleweed/x86_64
...
Signed-off-by: Janware DevOps <devops@janware.com>
2020-02-10 20:32:52 +00:00
a39a49c753
Start version: 1.0.0-99
...
Signed-off-by: janware DevOps <devops@janware.com>
2020-02-10 20:32:07 +00:00
f8765bf0f2
qt-defs.mk: Fix QT_BIN_PREFIX
...
pkg-config --variable=host_bins <modules> returns a trailing whitespace, which breaks QT_BIN_PREFIX, fix that.
Signed-off-by: Jan Lindemann <jan@janware.com>
2020-02-10 19:52:56 +00:00
825277a46d
Release 1.0.0-98@suse-tumbleweed/x86_64
...
Signed-off-by: Jan Lindemann <jan@janware.com>
2020-02-10 18:58:39 +00:00
fec28f982b
Start version: 1.0.0-98
...
Signed-off-by: janware DevOps <devops@janware.com>
2020-02-10 18:58:08 +00:00