summaryrefslogtreecommitdiffstats
path: root/pkg/linux
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/linux')
-rwxr-xr-xpkg/linux/debian/rules2
-rw-r--r--pkg/linux/module.rules1
2 files changed, 1 insertions, 2 deletions
diff --git a/pkg/linux/debian/rules b/pkg/linux/debian/rules
index a30f4fb1d..4ce0ec08d 100755
--- a/pkg/linux/debian/rules
+++ b/pkg/linux/debian/rules
@@ -43,7 +43,7 @@ install: build
dh_testdir
dh_testroot
dh_installdirs
- $(MAKE) -C $(BUILDDIR) PREFIX=$(CURDIR)/debian/tmp/usr PREFIX/=$(CURDIR)/debian/tmp/usr/ install
+ $(MAKE) -C $(BUILDDIR) DESTDIR=$(CURDIR)/debian/tmp install
# Build architecture-independent files here.
binary-indep: build install
diff --git a/pkg/linux/module.rules b/pkg/linux/module.rules
index 2d5b1a223..c3346be5b 100644
--- a/pkg/linux/module.rules
+++ b/pkg/linux/module.rules
@@ -12,7 +12,6 @@ $(PKG.gui.rpm) $(PKG.cli.rpm):
$(CP.exe) $(GTK.src/)ghb.spec $(RPM.out/)SPECS
$(CP.exe) $(PKG.src.tar.bz2) $(RPM.out/)SOURCES
$(TAR.exe) -xf $(PKG.src.tar.bz2) -C $(RPM.out/)BUILD
-# fakeroot $(MAKE) PREFIX=$(RPMROOT.out/)usr PREFIX/=$(RPMROOT.out/)usr/ install
rpmbuild --define="version $(HB.version)" --define="_topdir $(PWD)/$(RPM.out)" --buildroot $(RPMROOT.out) -ba $(GTK.src/)ghb.spec
$(CP.exe) $(RPM.out/)RPMS/$(PKG.rpm.machine)/$(HB.name)-cli-$(HB.version)*.rpm $(PKG.cli.rpm)
$(CP.exe) $(RPM.out/)RPMS/$(PKG.rpm.machine)/$(HB.name)-gui-$(HB.version)*.rpm $(PKG.gui.rpm)