snap.mk
changeset 87 3682a91e7bb2
parent 81 a95b2fa896e9
child 123 032aaa29f498
equal deleted inserted replaced
86:3564991cd359 87:3682a91e7bb2
     4 
     4 
     5 tar_opts=--absolute-names --exclude=.hg --exclude=.git --exclude=.*.pyc --exclude=.*.swp
     5 tar_opts=--absolute-names --exclude=.hg --exclude=.git --exclude=.*.pyc --exclude=.*.swp
     6 
     6 
     7 Snap: snap_built
     7 Snap: snap_built
     8 snap_built: all_sources revisions.txt
     8 snap_built: all_sources revisions.txt
     9 	tar -C $(src) $(tar_opts) -c snap revisions.txt | tar -C sources -x
     9 	tar -C $(src) $(tar_opts) -c snap | tar -C sources -x
       
    10 	cp revisions.txt sources
    10 	cd sources;  snapcraft --debug 
    11 	cd sources;  snapcraft --debug 
    11 	touch $@
    12 	touch $@