[m-rev.] trivial diff: minor improvement to bindist/Mmakefile
Fergus Henderson
fjh at cs.mu.OZ.AU
Thu May 10 03:32:23 AEST 2001
Estimated hours taken: 0.25
Branches: main
bindist/Mmakefile:
Fix a bug that caused a confusing error message when trying to build a
binary distribution without having unpacked the `extras' directory:
use `cd foo && ...' rather than `cd foo; ...'.
Workspace: /home/mars/fjh/ws1/mercury
Index: bindist/Mmakefile
===================================================================
RCS file: /home/mercury1/repository/mercury/bindist/Mmakefile,v
retrieving revision 1.29
diff -u -d -r1.29 Mmakefile
--- bindist/Mmakefile 2001/03/23 20:14:38 1.29
+++ bindist/Mmakefile 2001/05/09 17:30:06
@@ -78,27 +78,27 @@
cp $(UTILS) $(MERCURY_VERSION)/util
cp $(CONFIG_FILES) $(MERCURY_VERSION)
cp $(README_ETC) $(MERCURY_VERSION)
- -cd ../samples; mmake realclean
- -cd ../samples/diff; mmake realclean
- -cd ../samples/c_interface; mmake realclean
- -cd ../samples/c_interface/c_calls_mercury; mmake realclean
- -cd ../samples/c_interface/cplusplus_calls_mercury; mmake realclean
- -cd ../samples/c_interface/mercury_calls_c; mmake realclean
- -cd ../samples/c_interface/simpler_c_calls_mercury; mmake realclean
- -cd ../samples/c_interface/simpler_cplusplus_calls_mercury; mmake realclean
- -cd ../extras/cgi; mmake realclean
- -cd ../extras/complex_numbers; mmake realclean
- -cd ../extras/complex_numbers/tests; mmake realclean
- -cd ../extras/complex_numbers/samples; mmake realclean
- -cd ../extras/graphics; mmake realclean
- -cd ../extras/graphics/samples/calc; mmake realclean
- -cd ../extras/graphics/samples/maze; mmake realclean
- -cd ../extras/trailed_update; mmake realclean
- -cd ../extras/trailed_update/samples; mmake realclean
+ -cd ../samples && mmake realclean
+ -cd ../samples/diff && mmake realclean
+ -cd ../samples/c_interface && mmake realclean
+ -cd ../samples/c_interface/c_calls_mercury && mmake realclean
+ -cd ../samples/c_interface/cplusplus_calls_mercury && mmake realclean
+ -cd ../samples/c_interface/mercury_calls_c && mmake realclean
+ -cd ../samples/c_interface/simpler_c_calls_mercury && mmake realclean
+ -cd ../samples/c_interface/simpler_cplusplus_calls_mercury && mmake realclean
+ -cd ../extras/cgi && mmake realclean
+ -cd ../extras/complex_numbers && mmake realclean
+ -cd ../extras/complex_numbers/tests && mmake realclean
+ -cd ../extras/complex_numbers/samples && mmake realclean
+ -cd ../extras/graphics && mmake realclean
+ -cd ../extras/graphics/samples/calc && mmake realclean
+ -cd ../extras/graphics/samples/maze && mmake realclean
+ -cd ../extras/trailed_update && mmake realclean
+ -cd ../extras/trailed_update/samples && mmake realclean
-if [ -d ../tests ]; then \
- cd ../tests; mmake realclean; \
+ cd ../tests && mmake realclean; \
else \
- cd ../../tests; mmake realclean; \
+ cd ../../tests && mmake realclean; \
fi
(dir=`pwd` && cd .. && \
tar -cf $$dir/$(MERCURY_VERSION)/samples.tar samples && \
--
Fergus Henderson <fjh at cs.mu.oz.au> | "I have always known that the pursuit
| of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh> | -- the last words of T. S. Garp.
--------------------------------------------------------------------------
mercury-reviews mailing list
post: mercury-reviews at cs.mu.oz.au
administrative address: owner-mercury-reviews at cs.mu.oz.au
unsubscribe: Address: mercury-reviews-request at cs.mu.oz.au Message: unsubscribe
subscribe: Address: mercury-reviews-request at cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------
More information about the reviews
mailing list