]> git.etc.gen.nz Git - mythtv-status.git/commitdiff
Fix up publishing the tarball.
authorAndrew Ruthven <andrew@cyclops.etc.gen.nz>
Thu, 15 Nov 2007 09:22:18 +0000 (22:22 +1300)
committerAndrew Ruthven <andrew@cyclops.etc.gen.nz>
Thu, 15 Nov 2007 09:22:18 +0000 (22:22 +1300)
Makefile

index b288e4da6c426383a157871063b186296a23dbc4..5fa38e7b7cf1dedbc970ac9546271d9666acde9e 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -35,7 +35,8 @@ build/sid/$(deb):
 publish: $(RELEASE_FILES)
        for release in $(releases); do ars-add -r $$release -g main build/$$release/$(deb); done
        @cp $(tarball) $(tarball_dir)
-       @ln -sf $(tarball_dir)/$(tarball) $(tarball_dir)/$(package)-latest.tar.gz
+       @chmod o+r $(tarball_dir)/*-$(version).*
+       @ln -sf `basename $(tarball)` $(tarball_dir)/$(package)-latest.tar.gz
 
 clean:
        @rm -rf build