edouard@79: # Snap distribution edouard@79: edouard@79: main_target: Snap edouard@79: edouard@79: tar_opts=--absolute-names --exclude=.hg --exclude=.git --exclude=.*.pyc --exclude=.*.swp edouard@79: edouard@79: Snap: snap_built edouard@81: snap_built: all_sources revisions.txt edouard@87: tar -C $(src) $(tar_opts) -c snap | tar -C sources -x edouard@87: cp revisions.txt sources edouard@79: cd sources; snapcraft --debug edouard@79: touch $@