summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLee Duncan <lduncan@suse.com>2022-04-04 12:34:39 -0700
committerLee Duncan <lduncan@suse.com>2022-04-04 13:34:00 -0700
commit6a20131db3bd4715a456f80776400a2e78e7a994 (patch)
treef675d28c4c4078d9e98bb3550ae7de1d9e2ad0cc
parent65556c8805b13b392c63405863f6fc946b13c99e (diff)
downloadopen-iscsi-6a20131db3bd4715a456f80776400a2e78e7a994.tar.gz
Build: add RULESDIR to top-level Makefile
Commit 9a2d2f2cf391 ("Make DB and ISCSIHOME directories configurable.") added use of RULESDIR in utils/Makefile, but it needs to be passed down from the top-level Makefile, as well, for it to be configurable at build time.
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 44274a1..d2f143b 100644
--- a/Makefile
+++ b/Makefile
@@ -14,11 +14,12 @@ etcdir = /etc
SBINDIR = $(exec_prefix)/sbin
HOMEDIR = $(etcdir)/iscsi
DBROOT = $(etcdir)/iscsi
+RULESDIR = $(etcdir)/udev/rules.d
INSTALL = /usr/bin/install
# pass these on to sub-Makefiles
-export DESTDIR prefix INSTALL SBINDIR HOMEDIR DBROOT
+export DESTDIR prefix INSTALL SBINDIR HOMEDIR DBROOT RULESDIR
# Compatibility: parse old OPTFLAGS argument
ifdef OPTFLAGS