projects
/
l2tpns.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
4e9a82f
)
$(call) seems to break expaniion on older (3.79) versions of make
author
Brendan O'Dea
<bod@optus.net>
Tue, 10 May 2005 08:01:15 +0000
(08:01 +0000)
committer
Brendan O'Dea
<bod@optus.net>
Tue, 10 May 2005 08:01:15 +0000
(08:01 +0000)
Makefile
patch
|
blob
|
history
diff --git
a/Makefile
b/Makefile
index
8515c86
..
8ac1656
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-41,8
+41,6
@@
DEFINES += -DRINGBUFFER
DEFINES += -DBGP
OBJS += bgp.o
DEFINES += -DBGP
OBJS += bgp.o
-doit = echo $(1); $(1)
-
all: programs plugins tests
programs: $(PROGRAMS)
plugins: $(PLUGINS)
all: programs plugins tests
programs: $(PROGRAMS)
plugins: $(PLUGINS)
@@
-95,18
+93,21
@@
install: all
cmp -s etc/$$config.default $(DESTDIR)$(etcdir)/$$config && continue; \
suffix=.default; \
fi; \
cmp -s etc/$$config.default $(DESTDIR)$(etcdir)/$$config && continue; \
suffix=.default; \
fi; \
- $(call doit,$(INSTALL) -m $$mode etc/$$config.default $(DESTDIR)$(etcdir)/$$config$$suffix); \
+ echo $(INSTALL) -m $$mode etc/$$config.default $(DESTDIR)$(etcdir)/$$config$$suffix; \
+ $(INSTALL) -m $$mode etc/$$config.default $(DESTDIR)$(etcdir)/$$config$$suffix; \
done
@for plugin in $(PLUGINS); \
do \
done
@for plugin in $(PLUGINS); \
do \
- $(call doit,$(INSTALL) -m 0755 $$plugin $(DESTDIR)$(libdir)/$$plugin); \
+ echo $(INSTALL) -m 0755 $$plugin $(DESTDIR)$(libdir)/$$plugin; \
+ $(INSTALL) -m 0755 $$plugin $(DESTDIR)$(libdir)/$$plugin; \
done
@if [ -z $(DESTDIR) ] && [ ! -e /dev/net/tun ]; \
then \
mkdir /dev/net; \
done
@if [ -z $(DESTDIR) ] && [ ! -e /dev/net/tun ]; \
then \
mkdir /dev/net; \
- $(call doit,mknod /dev/net/tun c 10 200); \
+ echo mknod /dev/net/tun c 10 200; \
+ mknod /dev/net/tun c 10 200; \
fi
.PHONY: all clean depend install
fi
.PHONY: all clean depend install