Date: Sat, 29 Nov 2008 22:01:45 -0500 From: Eitan Adler <eitanadlerlist@gmail.com> To: freebsd-hackers@freebsd.org Subject: change to make - error when Makefile doesn't exist Message-ID: <49320219.4070804@gmail.com>
next in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I stupidly forgot to make a backup so I can't provide a diff but in src/usr.bin I changed TryReadMakefile("Makefile"); to if (!TryReadMakefile("Makefile")) Fatal("Makefile could not be opened"); That way you could differentiate between the Makefile not existing and the target not existing. gmake provided the following error message: gmake: *** No targets specified and no makefile found. Stop. - -- Eitan Adler GNU Key fingerptrint: 2E13 BC16 5F54 0FBD 62ED 42B6 B65F 24AB E9C2 CCD1 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAkkyAhkACgkQtl8kq+nCzNEhygCeLZAXcYWje2/95sBkTHKhiwbQ +RAAn0jzYxVngGC8NnpSXXpHgIlQnQN+ =6as2 -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?49320219.4070804>