what is $(ps .. ) in zaptel makefile?
Tzafrir Cohen
tzafrir.cohen@xorcom.com
Thu, 24 Feb 2005 14:32:36 +0200
Hi
One of the current differences between my package and the deb is:
diff -ur ./Makefile ../Debs/zaptel-1.0.4/Makefile
--- ./Makefile 2005-02-19 14:37:35.000000000 +0200
+++ ../Debs/zaptel-1.0.4/Makefile 2005-02-24 13:40:40.000000000 +0200
@@ -38,11 +38,11 @@
ifeq (${BUILDVER},linux24)
#We only support DEVFS in linux 2.4 kernels, since its considered obsolete post 2.4
-DYNFS=$(shell ps ax | grep -v grep | grep -q devfsd && echo "yes")
+DYNFS=$(ps ax | grep -v grep | grep -q devfsd && echo "yes")
endif
ifeq (${BUILDVER},linux26)
#Tests for newer linux-2.6 udev support
-DYNFS=$(shell ps ax | grep -v grep | grep udevd && echo "yes")
+DYNFS=$(ps ax | grep -v grep | grep udevd && echo "yes")
endif
BTW: is there something to gain from using := in the asterisk makefiles,
with the common use of $(shell ...) ?
--
Tzafrir Cohen icq#16849755 +972-50-7952406
tzafrir.cohen@xorcom.com http://www.xorcom.com