You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by be...@hyperreal.org on 1998/09/26 13:38:57 UTC
cvs commit: apache-2.0/apache-nspr/main Makefile.tmpl
ben 98/09/26 04:38:57
Modified: apache-nspr/main Makefile.tmpl
Log:
Fail properly when header generation fails. Remove the right headers!
Revision Changes Path
1.4 +2 -2 apache-2.0/apache-nspr/main/Makefile.tmpl
Index: Makefile.tmpl
===================================================================
RCS file: /export/home/cvs/apache-2.0/apache-nspr/main/Makefile.tmpl,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- Makefile.tmpl 1998/09/22 18:05:15 1.3
+++ Makefile.tmpl 1998/09/26 11:38:56 1.4
@@ -30,13 +30,13 @@
-rm -f Makefile
uri_delims.h: gen_uri_delims
- ./gen_uri_delims >uri_delims.h || rm test_char.h
+ ./gen_uri_delims >uri_delims.h || (rm uri_delims.h; false)
gen_uri_delims: gen_uri_delims.o
$(CC) $(CFLAGS) $(LDFLAGS) -o gen_uri_delims gen_uri_delims.o $(LIBS)
test_char.h: gen_test_char
- ./gen_test_char >test_char.h || rm test_char.h
+ ./gen_test_char >test_char.h || (rm test_char.h; false)
gen_test_char: gen_test_char.o
$(CC) $(CFLAGS) $(LDFLAGS) -o gen_test_char gen_test_char.o $(LIBS)