summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authortzafrir <tzafrir@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2008-03-25 19:28:38 +0000
committertzafrir <tzafrir@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2008-03-25 19:28:38 +0000
commite145ab5eedffe7ed68fa9ee24ba4e64513aa0459 (patch)
treecc133d0e31ecf0014a45adcc4787bf703e086ede /Makefile
parent222a6db539f5caebbbbee0338bd5a8b4f9635d57 (diff)
Allow overriding DYNFS and UDEVRULES to both ways from the make
command-line. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4081 5390a7c7-147a-4af0-8ec9-7488f05a26cb
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 919a3ae..a37cfb5 100644
--- a/Makefile
+++ b/Makefile
@@ -469,7 +469,7 @@ install-include:
$(INSTALL) -D -m 644 kernel/zaptel.h $(DESTDIR)$(INC_DIR)/zaptel.h
devices:
-ifndef DYNFS
+ifneq (yes,$(DYNFS))
mkdir -p $(DESTDIR)/dev/zap
rm -f $(DESTDIR)/dev/zap/ctl
rm -f $(DESTDIR)/dev/zap/channel
@@ -492,7 +492,7 @@ ifndef DYNFS
N=$$[$$N+1]; \
done
else # DYNFS
- ifdef UDEVRULES
+ ifneq (yes,$(UDEVRULES))
install -d $(DESTDIR)/etc/udev/rules.d
build_tools/genudevrules > $(DESTDIR)/etc/udev/rules.d/zaptel.rules
else # !UDEVRULES