Date: Wed, 17 Oct 2001 23:24:32 -0500 (CDT) From: Antoine Beaupré <antoine@usw4.freebsd.org> To: libh@FreeBSD.org Subject: cvs commit: libh/release/floppies Makefile Makefile.inc Makefile.1440 Makefile.mfsroot Message-ID: <200110180424.f9I4OWO50118@usw4.freebsd.org>
next in thread | raw e-mail | index | archive | help
antoine 2001/10/17 23:24:32 CDT
Modified files:
release/floppies Makefile Makefile.inc
Removed files:
release/floppies Makefile.1440 Makefile.mfsroot
Log:
Major rewrite of the Makefiles organisation.
- Avoid the use of ${MAKE} by using multiple dependent targets, a la
ports pre- do- and post- target.
- Use a single vn/md device.
- Clarify and simplify most targets to do only one thing, and to do it
well (tm).
- Make targets in Makefile.inc are now verbose and can fail.
- Main targets (MFS_NAME, MFSFL_NAME, KERN_NAME) do not cleanup before
beginning, but after. This means that if everything goes fine, the
changes (vnconfigs, mounts) "fold back" (ie vnconfig -u, umount)
properly. If a given target fails, however, these things are not
cleaned, which is desirable, in that case.
- There is only now one include (which are causing problems, see head
Makefile): Makefile.inc.
- Fix bug introduced in rev 1.2 where the wrong variable name for
mfsroot.flp was used
- Add $FreeBSD$ to Makefile.inc
- make a proper clean target (and an example of how to have a
non-failing call to a make target :)
- a plain "make" call works now
Revision Changes Path
1.3 +142 -13 libh/release/floppies/Makefile
1.4 +14 -24 libh/release/floppies/Makefile.inc
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-libh" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200110180424.f9I4OWO50118>
