diff options
author | jstebbins <[email protected]> | 2009-06-19 18:55:00 +0000 |
---|---|---|
committer | jstebbins <[email protected]> | 2009-06-19 18:55:00 +0000 |
commit | 7bfba0916df5e296d04ef43f42b05b0f2d66d8ca (patch) | |
tree | ccf33a1f5c0ca2d9976467c889bc386a9b19d280 /pkg/linux/module.rules | |
parent | 17bd4de6ba10409ff2a218c3365aa8466c5457c2 (diff) |
LinGui: add Debian packaging support
- make pkg.clean will create debian packages.
- Creates separate packages for gui and cli
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2577 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'pkg/linux/module.rules')
-rw-r--r-- | pkg/linux/module.rules | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/pkg/linux/module.rules b/pkg/linux/module.rules new file mode 100644 index 000000000..60a4cdf52 --- /dev/null +++ b/pkg/linux/module.rules @@ -0,0 +1,15 @@ +pkg.create:: $(PKG.cli.deb) $(PKG.gui.deb) + + +$(PKG.cli.deb): | $(dir $(PKG.cli.deb)) +$(PKG.gui.deb) $(PKG.cli.deb): + -rm $(BUILD/)debian + ln -s $(PKG.debian) $(BUILD/)debian + fakeroot $(MAKE) -f debian/rules clean + $(MAKE) BUILDDIR=$(BUILD) CONFIGURE=$(SRC/)configure -f debian/rules build + echo $(PKG.out/) + fakeroot $(MAKE) FORCEVERSION="-- -v$(HB.version)" BUILDDIR=$(BUILD) CONFIGURE=$(SRC/)configure PKGDESTDIR=$(PKG.out/) -f debian/rules binary + + $(MV.exe) $(PKG.cli.tmp.deb) $(PKG.cli.deb) + $(MV.exe) $(PKG.gui.tmp.deb) $(PKG.gui.deb) + |