From 74cf1906b072444bf3cb54db6c7802caedc3131b Mon Sep 17 00:00:00 2001 From: Michal Sojka Date: Mon, 7 May 2018 00:07:50 +0200 Subject: [PATCH] Update prefix etc. --- Makefile | 2 +- debian/rules | 6 +----- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/Makefile b/Makefile index 1c0e495..028a5a5 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -PREFIX = $(HOME)/opt/hercules-compiler +PREFIX ?= $(HOME)/opt/hercules-compiler TMP_DESTDIR = $(CURDIR)/install all: passes libpremnotify-cpu diff --git a/debian/rules b/debian/rules index 6c49bc5..8a09e49 100755 --- a/debian/rules +++ b/debian/rules @@ -17,11 +17,7 @@ %: dh $@ -override_dh_auto_build: - $(MAKE) PREFIX=/opt/hercules-compiler - -override_dh_auto_install: - $(MAKE) PREFIX=/opt/hercules-compiler DESTDIR=$(DESTDIR) install +export PREFIX=/opt/hercules-compiler # override_dh_strip: # @echo "Skipping dh_strip" -- 2.39.2