author | etisserant <edouard.tisserant@gmail.com> |
Mon, 26 Dec 2022 19:48:42 +0100 | |
changeset 109 | 1a1f6fccb46a |
parent 101 | 5799370243c0 |
child 112 | b78f14613a6c |
permissions | -rw-r--r-- |
0
7bc9d95b92bc
initial commit, 1.03 installs on WinXP, python test builds and works
Edouard Tisserant
parents:
diff
changeset
|
1 |
#! gmake |
7bc9d95b92bc
initial commit, 1.03 installs on WinXP, python test builds and works
Edouard Tisserant
parents:
diff
changeset
|
2 |
|
37
fd09116d3537
New windows installer cross build, using patched pacman to get MSYS2's packages and PIP over Wine to get PyPI packages. Work in progress.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
36
diff
changeset
|
3 |
# This is top level Makefile for beremiz_public_dist |
0
7bc9d95b92bc
initial commit, 1.03 installs on WinXP, python test builds and works
Edouard Tisserant
parents:
diff
changeset
|
4 |
|
37
fd09116d3537
New windows installer cross build, using patched pacman to get MSYS2's packages and PIP over Wine to get PyPI packages. Work in progress.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
36
diff
changeset
|
5 |
# see also: |
fd09116d3537
New windows installer cross build, using patched pacman to get MSYS2's packages and PIP over Wine to get PyPI packages. Work in progress.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
36
diff
changeset
|
6 |
# build_in_docker.sh : use case example |
fd09116d3537
New windows installer cross build, using patched pacman to get MSYS2's packages and PIP over Wine to get PyPI packages. Work in progress.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
36
diff
changeset
|
7 |
# provision_bionic64.sh : prerequisites |
fd09116d3537
New windows installer cross build, using patched pacman to get MSYS2's packages and PIP over Wine to get PyPI packages. Work in progress.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
36
diff
changeset
|
8 |
|
79
a8b434605895
Add Snap Package.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
62
diff
changeset
|
9 |
all: main_target |
37
fd09116d3537
New windows installer cross build, using patched pacman to get MSYS2's packages and PIP over Wine to get PyPI packages. Work in progress.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
36
diff
changeset
|
10 |
|
fd09116d3537
New windows installer cross build, using patched pacman to get MSYS2's packages and PIP over Wine to get PyPI packages. Work in progress.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
36
diff
changeset
|
11 |
DIST ?= win32 |
0
7bc9d95b92bc
initial commit, 1.03 installs on WinXP, python test builds and works
Edouard Tisserant
parents:
diff
changeset
|
12 |
|
29 | 13 |
src := $(abspath $(dir $(lastword $(MAKEFILE_LIST)))) |
37
fd09116d3537
New windows installer cross build, using patched pacman to get MSYS2's packages and PIP over Wine to get PyPI packages. Work in progress.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
36
diff
changeset
|
14 |
HGREMOTE ?= REMOTE_HG_DISABLED |
28
950f79385de7
HGROOT now default to parent of directory containing makefile. Added more instruction in Dockerfile
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
27
diff
changeset
|
15 |
HGROOT ?= $(abspath $(src)/..) |
6
862080d48ef2
Various updates and enhancement in installer build system, including support for specialized distributions, existing in other branches
Edouard Tisserant
parents:
5
diff
changeset
|
16 |
GITROOT := $(HGROOT) |
29 | 17 |
CPUS := `cat /proc/cpuinfo | grep -e 'processor\W*:\W*[[:digit:]]*' | nl -n ln | tail -n1 | cut -f1` |
101
5799370243c0
Version "name" of installer and snap is now deduced from beremiz' version.py
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
87
diff
changeset
|
18 |
|
5799370243c0
Version "name" of installer and snap is now deduced from beremiz' version.py
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
87
diff
changeset
|
19 |
BVERSION=$(shell python2 sources/beremiz/version.py) |
0
7bc9d95b92bc
initial commit, 1.03 installs on WinXP, python test builds and works
Edouard Tisserant
parents:
diff
changeset
|
20 |
|
7bc9d95b92bc
initial commit, 1.03 installs on WinXP, python test builds and works
Edouard Tisserant
parents:
diff
changeset
|
21 |
distfiles = $(src)/distfiles |
6
862080d48ef2
Various updates and enhancement in installer build system, including support for specialized distributions, existing in other branches
Edouard Tisserant
parents:
5
diff
changeset
|
22 |
sfmirror = downloads |
37
fd09116d3537
New windows installer cross build, using patched pacman to get MSYS2's packages and PIP over Wine to get PyPI packages. Work in progress.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
36
diff
changeset
|
23 |
tmp := $(shell rm -rf $${TMPDIR:-/tmp}/beremiz_dist_build_tmp.* ; mktemp -d -t beremiz_dist_build_tmp.XXXXXXXXXX) |
0
7bc9d95b92bc
initial commit, 1.03 installs on WinXP, python test builds and works
Edouard Tisserant
parents:
diff
changeset
|
24 |
|
6
862080d48ef2
Various updates and enhancement in installer build system, including support for specialized distributions, existing in other branches
Edouard Tisserant
parents:
5
diff
changeset
|
25 |
define hg_get_archive |
37
fd09116d3537
New windows installer cross build, using patched pacman to get MSYS2's packages and PIP over Wine to get PyPI packages. Work in progress.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
36
diff
changeset
|
26 |
test -d $(HGROOT)/`basename $(1)` || hg --cwd $(HGROOT) clone $(HGREMOTE)`basename $(1)`;\ |
fd09116d3537
New windows installer cross build, using patched pacman to get MSYS2's packages and PIP over Wine to get PyPI packages. Work in progress.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
36
diff
changeset
|
27 |
hg -R $(HGROOT)/`basename $(1)` archive $(2) $(1);\ |
fd09116d3537
New windows installer cross build, using patched pacman to get MSYS2's packages and PIP over Wine to get PyPI packages. Work in progress.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
36
diff
changeset
|
28 |
hg -R $(HGROOT)/`basename $(1)` id -i | sed 's/\+//' > $(1)/revision; |
15
db66054a2ff3
create and add file with revision information for Beremiz
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
14
diff
changeset
|
29 |
endef |
db66054a2ff3
create and add file with revision information for Beremiz
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
14
diff
changeset
|
30 |
|
0
7bc9d95b92bc
initial commit, 1.03 installs on WinXP, python test builds and works
Edouard Tisserant
parents:
diff
changeset
|
31 |
define get_src_hg |
37
fd09116d3537
New windows installer cross build, using patched pacman to get MSYS2's packages and PIP over Wine to get PyPI packages. Work in progress.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
36
diff
changeset
|
32 |
rm -rf $(1);\ |
fd09116d3537
New windows installer cross build, using patched pacman to get MSYS2's packages and PIP over Wine to get PyPI packages. Work in progress.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
36
diff
changeset
|
33 |
$(call hg_get_archive, $(1), $(2)) |
6
862080d48ef2
Various updates and enhancement in installer build system, including support for specialized distributions, existing in other branches
Edouard Tisserant
parents:
5
diff
changeset
|
34 |
endef |
862080d48ef2
Various updates and enhancement in installer build system, including support for specialized distributions, existing in other branches
Edouard Tisserant
parents:
5
diff
changeset
|
35 |
|
862080d48ef2
Various updates and enhancement in installer build system, including support for specialized distributions, existing in other branches
Edouard Tisserant
parents:
5
diff
changeset
|
36 |
define get_src_git |
37
fd09116d3537
New windows installer cross build, using patched pacman to get MSYS2's packages and PIP over Wine to get PyPI packages. Work in progress.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
36
diff
changeset
|
37 |
rm -rf $(1) |
fd09116d3537
New windows installer cross build, using patched pacman to get MSYS2's packages and PIP over Wine to get PyPI packages. Work in progress.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
36
diff
changeset
|
38 |
test -d $(GITROOT)/`basename $(1)` || git clone $(3) $(GITROOT)/`basename $(1)` |
fd09116d3537
New windows installer cross build, using patched pacman to get MSYS2's packages and PIP over Wine to get PyPI packages. Work in progress.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
36
diff
changeset
|
39 |
mkdir $(1) |
fd09116d3537
New windows installer cross build, using patched pacman to get MSYS2's packages and PIP over Wine to get PyPI packages. Work in progress.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
36
diff
changeset
|
40 |
(cd $(GITROOT)/`basename $(1)`; git archive --format=tar $(2)) | tar -C $(1) -x |
0
7bc9d95b92bc
initial commit, 1.03 installs on WinXP, python test builds and works
Edouard Tisserant
parents:
diff
changeset
|
41 |
endef |
7bc9d95b92bc
initial commit, 1.03 installs on WinXP, python test builds and works
Edouard Tisserant
parents:
diff
changeset
|
42 |
|
7bc9d95b92bc
initial commit, 1.03 installs on WinXP, python test builds and works
Edouard Tisserant
parents:
diff
changeset
|
43 |
define get_src_http |
37
fd09116d3537
New windows installer cross build, using patched pacman to get MSYS2's packages and PIP over Wine to get PyPI packages. Work in progress.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
36
diff
changeset
|
44 |
dld=$(distfiles)/`echo $(2) | tr ' ()' '___'`;( ( [ -f $$dld ] || wget $(1)/$(2) -O $$dld ) && ( [ ! -f $$dld.md5 ] && (cd $(distfiles);md5sum `basename $$dld`) > $$dld.md5 || (cd $(distfiles);md5sum -c `basename $$dld.md5`) ) ) && |
0
7bc9d95b92bc
initial commit, 1.03 installs on WinXP, python test builds and works
Edouard Tisserant
parents:
diff
changeset
|
45 |
endef |
7bc9d95b92bc
initial commit, 1.03 installs on WinXP, python test builds and works
Edouard Tisserant
parents:
diff
changeset
|
46 |
|
37
fd09116d3537
New windows installer cross build, using patched pacman to get MSYS2's packages and PIP over Wine to get PyPI packages. Work in progress.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
36
diff
changeset
|
47 |
get_src_pypi=$(call get_src_http,https://pypi.python.org/packages/$(1),$(2)) |
0
7bc9d95b92bc
initial commit, 1.03 installs on WinXP, python test builds and works
Edouard Tisserant
parents:
diff
changeset
|
48 |
|
37
fd09116d3537
New windows installer cross build, using patched pacman to get MSYS2's packages and PIP over Wine to get PyPI packages. Work in progress.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
36
diff
changeset
|
49 |
get_src_sf=$(call get_src_http,https://$(sfmirror).sourceforge.net/project/$(1),$(2)) |
6
862080d48ef2
Various updates and enhancement in installer build system, including support for specialized distributions, existing in other branches
Edouard Tisserant
parents:
5
diff
changeset
|
50 |
|
862080d48ef2
Various updates and enhancement in installer build system, including support for specialized distributions, existing in other branches
Edouard Tisserant
parents:
5
diff
changeset
|
51 |
ifneq ("$(DIST)","") |
862080d48ef2
Various updates and enhancement in installer build system, including support for specialized distributions, existing in other branches
Edouard Tisserant
parents:
5
diff
changeset
|
52 |
include $(src)/$(DIST).mk |
862080d48ef2
Various updates and enhancement in installer build system, including support for specialized distributions, existing in other branches
Edouard Tisserant
parents:
5
diff
changeset
|
53 |
endif |
862080d48ef2
Various updates and enhancement in installer build system, including support for specialized distributions, existing in other branches
Edouard Tisserant
parents:
5
diff
changeset
|
54 |
|
82
90da520cbaa5
SNAP: add Modbus source and dependencies
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
81
diff
changeset
|
55 |
OWN_PROJECTS=beremiz matiec canfestival Modbus |
6
862080d48ef2
Various updates and enhancement in installer build system, including support for specialized distributions, existing in other branches
Edouard Tisserant
parents:
5
diff
changeset
|
56 |
|
37
fd09116d3537
New windows installer cross build, using patched pacman to get MSYS2's packages and PIP over Wine to get PyPI packages. Work in progress.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
36
diff
changeset
|
57 |
define get_revision |
fd09116d3537
New windows installer cross build, using patched pacman to get MSYS2's packages and PIP over Wine to get PyPI packages. Work in progress.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
36
diff
changeset
|
58 |
$(1)_revision?=$(lastword $(shell grep $(1) $(src)/revisions.txt)) |
fd09116d3537
New windows installer cross build, using patched pacman to get MSYS2's packages and PIP over Wine to get PyPI packages. Work in progress.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
36
diff
changeset
|
59 |
endef |
fd09116d3537
New windows installer cross build, using patched pacman to get MSYS2's packages and PIP over Wine to get PyPI packages. Work in progress.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
36
diff
changeset
|
60 |
$(foreach project,$(OWN_PROJECTS),$(eval $(call get_revision,$(project)))) |
8
b7e0285edfa8
Added msys' make, bash and coreutils with mingw binaries
Edouard Tisserant
parents:
6
diff
changeset
|
61 |
|
37
fd09116d3537
New windows installer cross build, using patched pacman to get MSYS2's packages and PIP over Wine to get PyPI packages. Work in progress.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
36
diff
changeset
|
62 |
define get_revisionid |
62 | 63 |
ifeq ($(origin $(1)_revisionid), undefined) |
45
20c1c8a59eab
Makefile: Allow overriding revisions IDs through environment, to make it possible to build code comming from non HG repos.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
37
diff
changeset
|
64 |
$(1)_revisionid?=$(shell hg -R $(HGROOT)/$(1) id -i -r $($(1)_revision)) |
62 | 65 |
endif |
8
b7e0285edfa8
Added msys' make, bash and coreutils with mingw binaries
Edouard Tisserant
parents:
6
diff
changeset
|
66 |
endef |
37
fd09116d3537
New windows installer cross build, using patched pacman to get MSYS2's packages and PIP over Wine to get PyPI packages. Work in progress.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
36
diff
changeset
|
67 |
$(foreach project,$(OWN_PROJECTS),$(eval $(call get_revisionid,$(project)))) |
fd09116d3537
New windows installer cross build, using patched pacman to get MSYS2's packages and PIP over Wine to get PyPI packages. Work in progress.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
36
diff
changeset
|
68 |
|
fd09116d3537
New windows installer cross build, using patched pacman to get MSYS2's packages and PIP over Wine to get PyPI packages. Work in progress.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
36
diff
changeset
|
69 |
sources: |
fd09116d3537
New windows installer cross build, using patched pacman to get MSYS2's packages and PIP over Wine to get PyPI packages. Work in progress.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
36
diff
changeset
|
70 |
mkdir -p sources |
fd09116d3537
New windows installer cross build, using patched pacman to get MSYS2's packages and PIP over Wine to get PyPI packages. Work in progress.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
36
diff
changeset
|
71 |
|
fd09116d3537
New windows installer cross build, using patched pacman to get MSYS2's packages and PIP over Wine to get PyPI packages. Work in progress.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
36
diff
changeset
|
72 |
define make_src_rule |
fd09116d3537
New windows installer cross build, using patched pacman to get MSYS2's packages and PIP over Wine to get PyPI packages. Work in progress.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
36
diff
changeset
|
73 |
sources/$(1)_src: sources/$(1)_$($(1)_revisionid) |
fd09116d3537
New windows installer cross build, using patched pacman to get MSYS2's packages and PIP over Wine to get PyPI packages. Work in progress.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
36
diff
changeset
|
74 |
touch $$@ |
fd09116d3537
New windows installer cross build, using patched pacman to get MSYS2's packages and PIP over Wine to get PyPI packages. Work in progress.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
36
diff
changeset
|
75 |
|
fd09116d3537
New windows installer cross build, using patched pacman to get MSYS2's packages and PIP over Wine to get PyPI packages. Work in progress.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
36
diff
changeset
|
76 |
sources/$(1)_$($(1)_revisionid): | sources |
57 | 77 |
echo "Checkout HG source $(1)_$($(1)_revisionid)" |
37
fd09116d3537
New windows installer cross build, using patched pacman to get MSYS2's packages and PIP over Wine to get PyPI packages. Work in progress.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
36
diff
changeset
|
78 |
rm -rf sources/$(1)* |
fd09116d3537
New windows installer cross build, using patched pacman to get MSYS2's packages and PIP over Wine to get PyPI packages. Work in progress.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
36
diff
changeset
|
79 |
$(call get_src_hg,sources/$(1),-r $($(1)_revisionid)) |
fd09116d3537
New windows installer cross build, using patched pacman to get MSYS2's packages and PIP over Wine to get PyPI packages. Work in progress.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
36
diff
changeset
|
80 |
touch $$@ |
8
b7e0285edfa8
Added msys' make, bash and coreutils with mingw binaries
Edouard Tisserant
parents:
6
diff
changeset
|
81 |
endef |
37
fd09116d3537
New windows installer cross build, using patched pacman to get MSYS2's packages and PIP over Wine to get PyPI packages. Work in progress.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
36
diff
changeset
|
82 |
$(foreach project,$(OWN_PROJECTS),$(eval $(call make_src_rule,$(project)))) |
22
07ad3ba42d39
Experimental docker based installer build, + update of mingw binaries - builds, untested
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
21
diff
changeset
|
83 |
|
37
fd09116d3537
New windows installer cross build, using patched pacman to get MSYS2's packages and PIP over Wine to get PyPI packages. Work in progress.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
36
diff
changeset
|
84 |
own_sources: $(foreach project,$(OWN_PROJECTS), sources/$(project)_src) |
8
b7e0285edfa8
Added msys' make, bash and coreutils with mingw binaries
Edouard Tisserant
parents:
6
diff
changeset
|
85 |
touch $@ |
0
7bc9d95b92bc
initial commit, 1.03 installs on WinXP, python test builds and works
Edouard Tisserant
parents:
diff
changeset
|
86 |
|
81
a95b2fa896e9
SNAP: add SVGHMI and OPC-UA dependencies
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
79
diff
changeset
|
87 |
all_sources: own_sources sources/open62541_src |
a95b2fa896e9
SNAP: add SVGHMI and OPC-UA dependencies
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
79
diff
changeset
|
88 |
touch $@ |
a95b2fa896e9
SNAP: add SVGHMI and OPC-UA dependencies
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
79
diff
changeset
|
89 |
|
87
3682a91e7bb2
Fix generation of revisions.txt in makefile
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
82
diff
changeset
|
90 |
sources/open62541_src: | sources |
81
a95b2fa896e9
SNAP: add SVGHMI and OPC-UA dependencies
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
79
diff
changeset
|
91 |
rm -rf sources/open62541 |
a95b2fa896e9
SNAP: add SVGHMI and OPC-UA dependencies
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
79
diff
changeset
|
92 |
$(call get_src_http,https://github.com/open62541/open62541/archive/refs/tags,v1.3.2.tar.gz)\ |
a95b2fa896e9
SNAP: add SVGHMI and OPC-UA dependencies
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
79
diff
changeset
|
93 |
tar -xzf $$dld |
a95b2fa896e9
SNAP: add SVGHMI and OPC-UA dependencies
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
79
diff
changeset
|
94 |
mv open62541-1.3.2 sources/open62541 |
a95b2fa896e9
SNAP: add SVGHMI and OPC-UA dependencies
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
79
diff
changeset
|
95 |
|
a95b2fa896e9
SNAP: add SVGHMI and OPC-UA dependencies
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
79
diff
changeset
|
96 |
|
37
fd09116d3537
New windows installer cross build, using patched pacman to get MSYS2's packages and PIP over Wine to get PyPI packages. Work in progress.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
36
diff
changeset
|
97 |
define show_revision_details |
fd09116d3537
New windows installer cross build, using patched pacman to get MSYS2's packages and PIP over Wine to get PyPI packages. Work in progress.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
36
diff
changeset
|
98 |
echo -n $(1) "revision is: "; hg -R $(HGROOT)/$(1) id -r $($(1)_revisionid); |
fd09116d3537
New windows installer cross build, using patched pacman to get MSYS2's packages and PIP over Wine to get PyPI packages. Work in progress.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
36
diff
changeset
|
99 |
endef |
0
7bc9d95b92bc
initial commit, 1.03 installs on WinXP, python test builds and works
Edouard Tisserant
parents:
diff
changeset
|
100 |
|
37
fd09116d3537
New windows installer cross build, using patched pacman to get MSYS2's packages and PIP over Wine to get PyPI packages. Work in progress.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
36
diff
changeset
|
101 |
revisions.txt: $(src)/revisions.txt own_sources |
57 | 102 |
echo "Generate revisions.txt" |
37
fd09116d3537
New windows installer cross build, using patched pacman to get MSYS2's packages and PIP over Wine to get PyPI packages. Work in progress.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
36
diff
changeset
|
103 |
echo "\n******* PACKAGE REVISIONS ********\n" > revisions.txt |
87
3682a91e7bb2
Fix generation of revisions.txt in makefile
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
82
diff
changeset
|
104 |
(echo -n "beremiz_public_dist revision is: "; hg -R $(src) id;) >> revisions.txt |
37
fd09116d3537
New windows installer cross build, using patched pacman to get MSYS2's packages and PIP over Wine to get PyPI packages. Work in progress.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
36
diff
changeset
|
105 |
($(foreach project,$(OWN_PROJECTS),$(call show_revision_details,$(project)))) >> revisions.txt |
79
a8b434605895
Add Snap Package.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
62
diff
changeset
|
106 |
bash -c 'hg -R $(src) st | ( if read ; then echo -e "\n******* beremiz_public_dist IS MODIFIED ********\n" ; hg -R $(src) st ; fi ) >> revisions.txt' |
6
862080d48ef2
Various updates and enhancement in installer build system, including support for specialized distributions, existing in other branches
Edouard Tisserant
parents:
5
diff
changeset
|
107 |
|
862080d48ef2
Various updates and enhancement in installer build system, including support for specialized distributions, existing in other branches
Edouard Tisserant
parents:
5
diff
changeset
|
108 |
|
37
fd09116d3537
New windows installer cross build, using patched pacman to get MSYS2's packages and PIP over Wine to get PyPI packages. Work in progress.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
36
diff
changeset
|
109 |