summaryrefslogtreecommitdiffstats
path: root/pkg/linux/module.rules
blob: 60a4cdf52611cb5bffb0aa16ffb9efc07b8fcae4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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)