diff options
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) + |