Path: utzoo!utgpu!watmath!jmsellens From: jmsellens@watmath.waterloo.edu Newsgroups: uw.mfcf.people Subject: how do I make sure a directory exists from a Makefile? Message-ID: <29642@watmath.waterloo.edu> Date: 1 Oct 89 03:12:51 GMT Sender: jmsellens@watmath.waterloo.edu Reply-To: jmsellens@watmath.waterloo.edu Distribution: uw Lines: 8 From: John M Sellensmkdir -f exits 1 if it already exists and neither of these seem to work if [ ! -d /usr/lib/wup ]; then mkdir /usr/lib/wup || exit 0; fi; exit 0 mkdir -f /usr/lib/wup || exit 0 Any ideas?