summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2009-07-03 22:10:04 +0000
committerjstebbins <[email protected]>2009-07-03 22:10:04 +0000
commitee239da3d99bc945db8418b0980edac8b0cf97ef (patch)
tree5fa2015a8d8892d24da9b6f3fc682368ff5bb26f
parentdb9e447eca084e5398cd5252cb737e047d11ac91 (diff)
LinGui: make debian packaging follow more standard debian practices
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2659 b64f7644-9d1e-0410-96f1-a4d463321fa5
-rw-r--r--pkg/linux/debian/docs8
-rw-r--r--pkg/linux/module.rules10
2 files changed, 9 insertions, 9 deletions
diff --git a/pkg/linux/debian/docs b/pkg/linux/debian/docs
index b516c7239..d65e594c8 100644
--- a/pkg/linux/debian/docs
+++ b/pkg/linux/debian/docs
@@ -1,4 +1,4 @@
-../NEWS
-../AUTHORS
-../CREDITS
-../THANKS
+NEWS
+AUTHORS
+CREDITS
+THANKS
diff --git a/pkg/linux/module.rules b/pkg/linux/module.rules
index aa1db0ed3..22f6c7cfd 100644
--- a/pkg/linux/module.rules
+++ b/pkg/linux/module.rules
@@ -19,12 +19,12 @@ $(PKG.gui.rpm) $(PKG.cli.rpm):
$(PKG.gui.deb): | $(dir $(PKG.gui.deb))
$(PKG.gui.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
+ -rm $(SRC/)debian
+ ln -s $(PWD)/$(PKG.debian) $(SRC/)debian
+ fakeroot $(MAKE) -C $(SRC/) -f debian/rules clean
+ $(MAKE) BUILDDIR=$(PWD)/$(BUILD) CONFIGURE=configure -C $(SRC/) -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
+ 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.cli.deb): | $(dir $(PKG.cli.deb))