diff options
author | Daniil Baturin <daniil@baturin.org> | 2015-04-07 22:28:03 +0200 |
---|---|---|
committer | Daniil Baturin <daniil@baturin.org> | 2015-04-07 22:28:03 +0200 |
commit | 4b97a0e707db50105c20014e40bccdd6bded4221 (patch) | |
tree | 6d71e1cac18e8e8929dace5eece581383e8096b5 | |
parent | 081fedb9b6fec701f22a5a57b43d7e091efbf340 (diff) | |
download | hvinfo-4b97a0e707db50105c20014e40bccdd6bded4221.tar.gz hvinfo-4b97a0e707db50105c20014e40bccdd6bded4221.zip |
Use DESTDIR parameter in the makefile.
-rw-r--r-- | Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -18,10 +18,10 @@ PREFIX = /usr BINDIR = bin -TARGET_DIR = $(PREFIX)/$(BINDIR) - BUILD_DIR = build +DESTDIR = "" + GPRBUILD = gprbuild GPRCLEAN = gprclean GPRINSTALL = gprinstall @@ -44,5 +44,5 @@ clean: rm -rf $(BUILD_DIR) install: - $(INSTALL) -d $(TARGET_DIR) - $(INSTALL) $(BUILD_DIR)/hvinfo $(TARGET_DIR) + $(INSTALL) -d $(DESTDIR)/$(PREFIX)/$(BINDIR) + $(INSTALL) $(BUILD_DIR)/hvinfo $(DESTDIR)/$(PREFIX)/$(BINDIR) |