summaryrefslogtreecommitdiff
path: root/src/Makefile.am
diff options
context:
space:
mode:
authorDaniel Kolesa <d.kolesa@samsung.com>2014-07-02 22:16:16 +0100
committerDaniel Kolesa <d.kolesa@samsung.com>2014-07-02 22:16:16 +0100
commit09a079cb106c11d1f187717b825b133b68f2c46d (patch)
treee905bf0e011c765762bca40a48fceb659880a9ac /src/Makefile.am
parent4e1b33f9f030b1aeba2d8458ee27fd202e368bb6 (diff)
autotools: do not use sed -i
Diffstat (limited to 'src/Makefile.am')
-rw-r--r--src/Makefile.am7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 92bad7f..62ea229 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -144,5 +144,10 @@ clean-local:
144 find . -type f -name check-results.xml -delete 144 find . -type f -name check-results.xml -delete
145 145
146install-exec-hook: 146install-exec-hook:
147 for i in $(lib_LTLIBRARIES); do sed -i "s/-luuid//" $(DESTDIR)$(libdir)/`echo $$i | sed "s#lib/.*/##"`; done 147 for i in $(lib_LTLIBRARIES); do \
148 FNAME="$(DESTDIR)$(libdir)/`echo $$i | sed "s#lib/.*/##"`"; \
149 FNAMEEXT="$$FNAME.$$$$"; \
150 sed "s/-luuid//" $$FNAME > $$FNAMEEXT; \
151 mv $$FNAMEEXT $$FNAME; \
152 done
148 $(EFL_INSTALL_EXEC_HOOK) 153 $(EFL_INSTALL_EXEC_HOOK)