Pre-make and Post-make scripts

Brandon Falk bfalk_bsd at brandonfa.lk
Wed Jul 25 12:49:45 UTC 2012


I'm curious as to how the best way of having a script run before and after
make would be done. Would this require modification of the FreeBSD make
template, or is this functionality already built in?

The goal of this is to set up a script that prior to a build sends up a
filesystem in ram (tmpfs) for the build to occur in, and afterwards saves
the filesystem from ram onto the actual disk for backup/archiving. We all
know that our poor disks could use a little break from the strain of build
processes.

-Brandon


More information about the freebsd-hackers mailing list