summaryrefslogtreecommitdiffstats
path: root/share/mk/bsd.files.mk
Commit message (Collapse)AuthorAgeFilesLines
* MFC r267276:ngie2014-12-301-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | Ensure files are created during the build when using bsd.subdir.mk. When FILES is defined in a Makefile that _also_ includes bsd.subdir.mk, the build of the files (if any) was not properly triggered during the build stage. This was because bsd.files.mk did not define the buildfiles target if it was already defined... and bsd.subdir.mk defined this target on its own, thus causing a conflict. Fix this by unconditionally defining buildfiles from bsd.files.mk; this is safe because nothing else in the tree needs to redefine this and because the target itself contains no commands: all it does is define dependencies. Also ensure that bsd.files.mk is always pulled in by bsd.test.mk regardless of what bsd.prog.mk does. These fixes allow "make installworld" to run cleanly on a system with read-only src and obj trees. This is "make tinderbox" clean. Reviewed by: imp Obtained from: jilles
* Pull up fixes to allow building tests along scripts and data files.jmmv2013-12-281-5/+3
| | | | | | | | | | MFC of the following into stable/10: - r257095 Allow mixing bsd.files.mk with bsd.subdir.mk. - r258095 Allow this (bsd.progs.mk) to work with fmake. - r258330 Need to also test for defined(${v}_${PROG}) in bsd.progs.mk. - r259209 Make bsd.progs.mk work in directories with SCRIPTS but no PROGS. This is all 'make tinderbox' clean as run on ref10-amd64.
* Make sure the only thing that follows .endif or .else is a comment.harti2005-04-111-2/+2
|
* Drop support for COPY, -c has been the default mode of install(1)ru2002-07-291-3/+3
| | | | | | for a long time now. Approved by: bde
* Try really hard to fix parallel installs. Add a bunch of .ORDERru2002-07-031-0/+1
| | | | | | | | | | | | | | | | | | | | | directives to ensure that all realinstall sub-tasks are executed after beforeinstall, similarly ensure that all afterinstall sub- tasks are executed after realinstall. Demonstration: all: task1 task2 .ORDER: task1 task2 task2: task2_subtask .ORDER: task1 task2_subtask task1 task2 task2_subtask: @sleep `jot -r 1 0 1.0` @echo ${.TARGET} Without the second .ORDER directive, task2_subtask can be run in parallel with task1. Spotted by: Andrea Campi <andrea@webcom.it>
* Reimplement FILES support using bsd.files.mk with theru2002-06-031-0/+68
same set of features as in recently added bsd.incs.mk (FILESGROUPS, accessibility from both bsd.prog.mk and bsd.lib.mk, de-pessimized typical installation path, etc.) New standard targets: buildfiles, installfiles, and files (buildfiles + installfiles).
OpenPOWER on IntegriCloud