snap.mk
author Edouard Tisserant <edouard.tisserant@gmail.com>
Mon, 23 Oct 2023 10:40:39 +0200
changeset 126 a7809f76f626
parent 123 032aaa29f498
permissions -rw-r--r--
GitHub CI: beremiz revsion bump
# Snap distribution

main_target: Snap

DIST_FROM_SOURCE_PROJECTS=canfestival Modbus open62541

tar_opts=--absolute-names --exclude=.hg --exclude=.git --exclude=.*.pyc --exclude=.*.swp

Snap: snap_built
snap_built: all_sources revisions.txt
	tar -C $(src) $(tar_opts) -c snap | tar -C sources -x
	cp revisions.txt sources
	cd sources;  snapcraft --debug 
	touch $@