Author: mmu_man
Date: Mon Mar 21 17:07:10 2011
New Revision: 12121
URL:
http://source.netsurf-browser.org?rev=12121&view=rev
Log:
sed in BeOS still doesn't handle -i, so use a temporary file since RiscOS doesn't
know pipes.
Modified:
trunk/libsvgtiny/src/Makefile
Modified: trunk/libsvgtiny/src/Makefile
URL:
http://source.netsurf-browser.org/trunk/libsvgtiny/src/Makefile?rev=12121...
==============================================================================
--- trunk/libsvgtiny/src/Makefile (original)
+++ trunk/libsvgtiny/src/Makefile Mon Mar 21 17:07:10 2011
@@ -5,8 +5,9 @@
$(BUILDDIR)/src_colors.c: src/colors.gperf
$(VQ)$(ECHO) " GPERF: $<"
- $(Q)gperf --output-file=$@ $<
+ $(Q)gperf --output-file=$@.tmp $<
# Hack for GCC 4.2 compatibility (gperf 3.0.4 solves this properly)
- $(Q)$(SED) -i -e 's/#ifdef __GNUC_STDC_INLINE__/#if defined __GNUC_STDC_INLINE__ ||
defined __GNUC_GNU_INLINE__/' $@
+ $(Q)$(SED) -e 's/#ifdef __GNUC_STDC_INLINE__/#if defined __GNUC_STDC_INLINE__ ||
defined __GNUC_GNU_INLINE__/' $@.tmp >$@
+ $(Q)$(RM) $@.tmp
include build/makefiles/Makefile.subdir