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