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@79: tar -C $(src) $(tar_opts) -c snap revisions.txt | tar -C sources -x edouard@79: cd sources; snapcraft --debug edouard@79: touch $@