OSDN Git Service

LinGui: make debian packaging follow more standard debian practices
authorjstebbins <jstebbins@b64f7644-9d1e-0410-96f1-a4d463321fa5>
Fri, 3 Jul 2009 22:10:04 +0000 (22:10 +0000)
committerjstebbins <jstebbins@b64f7644-9d1e-0410-96f1-a4d463321fa5>
Fri, 3 Jul 2009 22:10:04 +0000 (22:10 +0000)
git-svn-id: svn://localhost/HandBrake/trunk@2659 b64f7644-9d1e-0410-96f1-a4d463321fa5

pkg/linux/debian/docs
pkg/linux/module.rules

index b516c72..d65e594 100644 (file)
@@ -1,4 +1,4 @@
-../NEWS
-../AUTHORS
-../CREDITS
-../THANKS
+NEWS
+AUTHORS
+CREDITS
+THANKS
index aa1db0e..22f6c7c 100644 (file)
@@ -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))