summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimothy Redaelli <timothy@redaelli.eu>2011-03-31 15:27:38 +0200
committerYouness Alaoui <youness.alaoui@collabora.co.uk>2011-03-31 15:39:26 -0400
commit921e29bb603df36cdc0cb564a506e29778a73ce3 (patch)
tree25c84a7c72a2efb4ec8eb68fc7bd4a9530c9e370
parentd06e5fd17f6fae33fe015180cde6001c670f19ce (diff)
downloadlibnice-921e29bb603df36cdc0cb564a506e29778a73ce3.tar.gz
Use only POSIX statements in Makefile.am
-rw-r--r--agent/Makefile.am10
-rw-r--r--nice/Makefile.am4
2 files changed, 7 insertions, 7 deletions
diff --git a/agent/Makefile.am b/agent/Makefile.am
index fa7d67a..2eb88c6 100644
--- a/agent/Makefile.am
+++ b/agent/Makefile.am
@@ -24,12 +24,12 @@ dist_noinst_DATA = agent-signals-marshal.list
noinst_LTLIBRARIES = libagent.la
agent-signals-marshal.h: agent-signals-marshal.list
- glib-genmarshal --header --prefix=agent_marshal $< > $@
+ glib-genmarshal --header --prefix=agent_marshal $? > $@
-agent-signals-marshal.c: agent-signals-marshal.list Makefile.am
- glib-genmarshal --body --prefix=agent_marshal $< > $@
- sed -i "1i#include \"agent-signals-marshal.h\"" $@
- sed -i -e 's/^}$$/(void)return_value;(void)invocation_hint;}/' $@
+agent-signals-marshal.c: agent-signals-marshal.list
+ echo '#include "agent-signals-marshal.h"' > $@
+ glib-genmarshal --body --prefix=agent_marshal $? | \
+ sed -e 's/^}$$/(void)return_value;(void)invocation_hint;}/' >> $@
BUILT_SOURCES = \
agent-signals-marshal.h \
diff --git a/nice/Makefile.am b/nice/Makefile.am
index d016b96..ce7f316 100644
--- a/nice/Makefile.am
+++ b/nice/Makefile.am
@@ -37,9 +37,9 @@ AM_CFLAGS = \
test-symbols.sh::
chmod +x $(srcdir)/$@
-libnice.symbols: libnice.sym Makefile
+libnice.symbols: libnice.sym
rm -f $@
- while read s; do echo "T $$s"; done < $< > $@
+ while read s; do echo "T $$s"; done < $? > $@
CLEANFILES += libnice.symbols