summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 0422cf5..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
@@ -116,9 +117,6 @@ install_etc_all:
install_doc:
$(MAKE) $(MFLAGS) -C doc $@
-$(DESTDIR)$(HOMEDIR):
- [ -d $@ ] || $(INSTALL) -d -m 755 $@
-
install_libopeniscsiusr:
$(MAKE) $(MFLAGS) -C libopeniscsiusr install