diff options
author | Timothy Kenno Handojo <timkenhan@gmail.com> | 2024-02-15 19:01:50 +0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2024-02-16 21:11:26 -0800 |
commit | 2be65fba58bd62ab62288bdffcd5029cdc2ecb2a (patch) | |
tree | 56cfe6390ec3927279cb1e0f17a04f21e7a6703b | |
parent | ensure package version is on the manpage (diff) | |
download | genkernel-2be65fba58bd62ab62288bdffcd5029cdc2ecb2a.tar.gz genkernel-2be65fba58bd62ab62288bdffcd5029cdc2ecb2a.tar.bz2 genkernel-2be65fba58bd62ab62288bdffcd5029cdc2ecb2a.zip |
corrected variable issues in make install
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
-rw-r--r-- | Makefile | 16 |
1 files changed, 8 insertions, 8 deletions
@@ -175,10 +175,10 @@ verify-shellscripts-initramfs: $(BUILD_DIR)/build-config: # $(addprefix $(BUILD_DIR)/temp/,$(TEMPFILES)) install -d $(BUILD_DIR) - echo ${PREFIX} > $(BUILD_DIR)/PREFIX - echo ${BINDIR} > $(BUILD_DIR)/BINDIR - echo ${SYSCONFDIR} > $(BUILD_DIR)/SYSCONFDIR - echo ${MANDIR} > $(BUILD_DIR)/MANDIR + echo $(PREFIX) > $(BUILD_DIR)/PREFIX + echo $(BINDIR) > $(BUILD_DIR)/BINDIR + echo $(SYSCONFDIR) > $(BUILD_DIR)/SYSCONFDIR + echo $(MANDIR) > $(BUILD_DIR)/MANDIR touch $(BUILD_DIR)/build-config $(BUILD_DIR)/software.sh: @@ -197,11 +197,11 @@ $(BUILD_DIR)/genkernel: $(addprefix $(BUILD_DIR)/,$(FINAL_DEPS)) $(BUILD_DIR)/so SHARE_DIRS = arch defaults gkbuilds modules netboot patches worker_modules -install: PREFIX := $(file <$(BUILD_DIR)/PREFIX) -install: BINDIR := $(file <$(BUILD_DIR)/BINDIR) -install: SYSCONFDIR := $(file <$(BUILD_DIR)/SYSCONFDIR) -install: MANDIR := $(file <$(BUILD_DIR)/MANDIR) install: all + $(eval PREFIX := $(file <$(BUILD_DIR)/PREFIX)) + $(eval BINDIR := $(file <$(BUILD_DIR)/BINDIR)) + $(eval SYSCONFDIR := $(file <$(BUILD_DIR)/SYSCONFDIR)) + $(eval MANDIR := $(file <$(BUILD_DIR)/MANDIR)) install -d $(DESTDIR)/$(SYSCONFDIR) install -m 644 $(BUILD_DIR)/genkernel.conf $(DESTDIR)/$(SYSCONFDIR)/ |