OSDN Git Service

60a4cdf52611cb5bffb0aa16ffb9efc07b8fcae4
[handbrake-jp/handbrake-jp-git.git] / pkg / linux / module.rules
1 pkg.create:: $(PKG.cli.deb) $(PKG.gui.deb)
2
3
4 $(PKG.cli.deb): | $(dir $(PKG.cli.deb))
5 $(PKG.gui.deb) $(PKG.cli.deb):
6         -rm $(BUILD/)debian
7         ln -s $(PKG.debian) $(BUILD/)debian
8         fakeroot $(MAKE) -f debian/rules clean
9         $(MAKE) BUILDDIR=$(BUILD) CONFIGURE=$(SRC/)configure -f debian/rules build
10         echo $(PKG.out/)
11         fakeroot $(MAKE) FORCEVERSION="-- -v$(HB.version)" BUILDDIR=$(BUILD) CONFIGURE=$(SRC/)configure PKGDESTDIR=$(PKG.out/) -f debian/rules binary
12
13         $(MV.exe) $(PKG.cli.tmp.deb) $(PKG.cli.deb)
14         $(MV.exe) $(PKG.gui.tmp.deb) $(PKG.gui.deb)
15