diff options
Diffstat (limited to 'pkg/linux/module.rules')
-rw-r--r-- | pkg/linux/module.rules | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/pkg/linux/module.rules b/pkg/linux/module.rules index dcc387020..93f7368d6 100644 --- a/pkg/linux/module.rules +++ b/pkg/linux/module.rules @@ -1,5 +1,10 @@ pkg.create.deb:: $(PKG.gui.deb) $(PKG.cli.deb) pkg.create.rpm:: $(PKG.gui.rpm) +pkg.create.src.deb:: $(PKG.src.deb.tar) + +pkg.push.src.deb:: $(PKG.src.deb.tar) + (cd $(STAGE.out.src/)lucid && dput handbrake-snapshots $(PKG.deb.basename)_$(HB.version)ppa1~lucid1)_source.changes ) + (cd $(STAGE.out.src/)karmic && dput handbrake-snapshots $(PKG.deb.basename)_$(HB.version)ppa1~karmic1)_source.changes ) $(PKG.rpm.src.tar.bz2): | $(STAGE.out.rpm.src/) $(TAR.exe) cjf $@ -C $(STAGE.out.rpm.src/) $(PKG.basename) @@ -41,6 +46,28 @@ $(PKG.gui.deb): fakeroot $(MAKE) FORCEVERSION="-- -v$(HB.version)" BUILDDIR=$(PWD)/$(BUILD) CONFIGURE=configure PKGDESTDIR=$(PWD)/$(PKG.out/) -C $(SRC/) -f debian/rules binary $(MV.exe) $(PKG.gui.tmp.deb) $(PKG.gui.deb) +$(PKG.src.deb.tar): + svn co -r$(HB.repo.rev) $(HB.repo.url) $(STAGE.out.src/)lucid/$(PKG.deb.basename) + $(CP.exe) -a $(SRC/)download $(STAGE.out.src/)lucid/$(PKG.deb.basename) + cp -a $(PWD)/$(PKG.debian) $(STAGE.out.src/)lucid/$(PKG.deb.basename) + echo "handbrake ($(HB.version)ppa1~lucid1) lucid; urgency=low" > $(STAGE.out.src/)lucid/$(PKG.deb.basename)/debian/changelog + echo " * Snapshot" >> $(STAGE.out.src/)lucid/$(PKG.deb.basename)/debian/changelog + echo " - See timeline at http://trac.handbrake.fr/timeline" >> $(STAGE.out.src/)lucid/$(PKG.deb.basename)/debian/changelog + echo "" >> $(STAGE.out.src/)lucid/$(PKG.deb.basename)/debian/changelog + echo " -- John Stebbins <[email protected]> Sun, 11 Apr 2010 9:51:07 -0800" >> $(STAGE.out.src/)lucid/$(PKG.deb.basename)/debian/changelog + $(TAR.exe) czf $(STAGE.out.src/)lucid/$(PKG.src.deb.tar) -C $(STAGE.out.src/)lucid $(PKG.deb.basename) + (cd $(STAGE.out.src/)lucid/$(PKG.deb.basename) && debuild -S -kjstebbins.hb) + svn co -r$(HB.repo.rev) $(HB.repo.url) $(STAGE.out.src/)karmic/$(PKG.deb.basename) + $(CP.exe) -a $(SRC/)download $(STAGE.out.src/)karmic/$(PKG.deb.basename) + cp -a $(PWD)/$(PKG.debian) $(STAGE.out.src/)karmic/$(PKG.deb.basename) + echo "handbrake ($(HB.version)ppa1~karmic) karmic; urgency=low" > $(STAGE.out.src/)karmic/$(PKG.deb.basename)/debian/changelog + echo " * Snapshot" >> $(STAGE.out.src/)karmic/$(PKG.deb.basename)/debian/changelog + echo " - See timeline at http://trac.handbrake.fr/timeline" >> $(STAGE.out.src/)karmic/$(PKG.deb.basename)/debian/changelog + echo "" >> $(STAGE.out.src/)karmic/$(PKG.deb.basename)/debian/changelog + echo " -- John Stebbins <[email protected]> Sun, 11 Apr 2010 9:51:07 -0800" >> $(STAGE.out.src/)karmic/$(PKG.deb.basename)/debian/changelog + $(TAR.exe) czf $(STAGE.out.src/)karmic/$(PKG.src.deb.tar) -C $(STAGE.out.src/)karmic $(PKG.deb.basename) + (cd $(STAGE.out.src/)karmic/$(PKG.deb.basename) && debuild -S -kjstebbins.hb) + $(PKG.cli.deb): | $(dir $(PKG.cli.deb)) $(PKG.cli.deb): $(PKG.gui.deb) $(MV.exe) $(PKG.cli.tmp.deb) $(PKG.cli.deb) |