Mailing List Archive

cvs commit: apache-1.3/src/support Makefile.tmpl
rse 98/04/22 03:15:23

Modified: src/support Makefile.tmpl
Log:
Use percents chars for delimiters, because the chance is higher that a colon
is inside some of the flags than a percent char. (GNU Autoconf does the same
when substituting flags)

Revision Changes Path
1.17 +5 -5 apache-1.3/src/support/Makefile.tmpl

Index: Makefile.tmpl
===================================================================
RCS file: /export/home/cvs/apache-1.3/src/support/Makefile.tmpl,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -r1.16 -r1.17
--- Makefile.tmpl 1998/04/21 20:33:49 1.16
+++ Makefile.tmpl 1998/04/22 10:15:22 1.17
@@ -30,11 +30,11 @@

apxs: apxs.pl
sed <apxs.pl >apxs \
- -e 's:@CC@:$(CC):g' \
- -e 's:@LD@:$(LD):g' \
- -e 's:@CFLAGS@:$(CFLAGS):g' \
- -e 's:@CFLAGS_SHLIB@:$(CFLAGS_SHLIB):g' \
- -e 's:@LDFLAGS_SHLIB@:$(LDFLAGS_SHLIB):g' && chmod a+x apxs
+ -e 's%@CC@%$(CC)%g' \
+ -e 's%@LD@%$(LD)%g' \
+ -e 's%@CFLAGS@%$(CFLAGS)%g' \
+ -e 's%@CFLAGS_SHLIB@%$(CFLAGS_SHLIB)%g' \
+ -e 's%@LDFLAGS_SHLIB@%$(LDFLAGS_SHLIB)%g' && chmod a+x apxs

clean:
rm -f $(TARGETS) *.o