[zaptel-commits] tzafrir: branch 1.4 r4081 - /branches/1.4/Makefile

SVN commits to the Zaptel project zaptel-commits at lists.digium.com
Tue Mar 25 14:28:38 CDT 2008


Author: tzafrir
Date: Tue Mar 25 14:28:38 2008
New Revision: 4081

URL: http://svn.digium.com/view/zaptel?view=rev&rev=4081
Log:
Allow overriding DYNFS and UDEVRULES to both ways from the make
command-line.

Modified:
    branches/1.4/Makefile

Modified: branches/1.4/Makefile
URL: http://svn.digium.com/view/zaptel/branches/1.4/Makefile?view=diff&rev=4081&r1=4080&r2=4081
==============================================================================
--- branches/1.4/Makefile (original)
+++ branches/1.4/Makefile Tue Mar 25 14:28:38 2008
@@ -469,7 +469,7 @@
 	$(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 @@
 		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




More information about the zaptel-commits mailing list