mycroft
09819b05ef
Don't use .PHONY for targets that are actually installed. Instead use force
...
dependencies. (Among other things, `make -t install' does something vaguely
sensible now.)
2002-02-11 21:14:58 +00:00
tv
f5a9d4e145
Don't end up with a "rm -f" statement with no args. Fixes toolchain/15074.
2002-01-03 19:11:17 +00:00
tv
8f2c8e583f
Fix the :U's used with ${UPDATE} so that stray values don't get put into
...
the .PHONY: target.
2001-11-28 20:19:08 +00:00
tv
4fe26460e9
Remove dependency on NLSDIR entirely, now that it's not auto-created.
2001-11-06 16:20:16 +00:00
lukem
20960db1bf
Don't create missing NLS directories; require them to already exist
...
(by updating etc/mtree/NetBSD.dist as necessary).
`nlsinstall' is now in line with other *install targets.
2001-11-06 10:59:15 +00:00
tv
0812154e48
Use INSTALL_FILE/INSTALL_DIR as appropriate.
2001-11-02 18:10:00 +00:00
tv
1129ed4afe
Improve readability and reduce redundant redundancy in share/mk; add some
...
descriptive comments. The guts of hostprog, lib, and prog are mostly
unchanged; this will be done in another pass.
Make several things work properly with UNPRIVILEGED set, and make the
install-time "cmp" logic work for MANZ. Also reimplement INCS{DIR,NAME}_foo
(requested by wiz) in a backwards compatible way.
Reviewed by christos.
2001-11-02 05:21:47 +00:00
tv
dba7b8b6de
Use GENCAT as a variable to determine the location of "gencat".
2001-08-14 08:28:24 +00:00
tv
d0f9e45413
Rather than explicitly saying "clean cleandir:" all the time, make clean
...
a dependency of cleandir (so that "make cleandir" implies "make clean").
2001-08-14 07:02:13 +00:00
tv
dd70bf30ad
Make "distclean" a REAL synonym for "cleandir" by actually aliasing it
...
in <bsd.own.mk>, rather than sprinkling it in all the .mk files (and
some Makefiles throughout the tree).
2001-06-01 17:49:32 +00:00
sommerfeld
263f3e581d
Suppress duplicate entries in ALLFILES, FILES, INCS, DEPINCS, INFOFILES,
...
NLSALL, CATPAGES, MANPAGES, HTMLPAGES, and SCRIPTS.
2001-05-08 03:19:51 +00:00
mycroft
2eaf9707e2
Rearrange slightly to get rid of unneeded conditionals (and make this
...
*slightly* less painful to trace through, though not much).
2000-06-08 03:51:56 +00:00
matt
84ad7d0a8d
More lossage. You need to make the directory each catalog will go into.
2000-06-07 17:28:52 +00:00
mycroft
b124cdf163
Abuse .USE some more.
2000-06-06 09:53:29 +00:00
mycroft
befa5650d3
Minor rearrangement.
2000-06-06 09:22:00 +00:00
mycroft
34e1bda46a
Use ODE make(1) features to eliminate extra variables and move several things
...
outside of .for loops. (Needs more work to completely eliminate .for.)
XXX Don't look at this stuff. It will make your head hurt.
2000-06-06 05:40:47 +00:00
erh
0d07e9caed
Add NOPATH to keep *.cat files in the search path from interfering with the build.
2000-02-19 23:02:17 +00:00
mycroft
3e13200b73
Make `dependall' play nicely with SUBDIR, using a hack similar to `realinstall'
...
for both `depend' and `all'.
Also, remove the old hack that invokes an extra shell for .depend, now that
make(1) has been fixed.
2000-01-22 19:31:00 +00:00
fredb
1008436afc
Permit "make all install", as well as "make foo install" (where foo would be
...
installed by "make install") without setting of BUILD. All cases where BUILD
is already set are unchanged from the old behavior.
"make all install" is now practically equivalent to "make BUILD= all install",
but without actually setting build.
Fixes pr's 8313, 3894.
1999-09-04 21:48:33 +00:00
simonb
7987e3b34d
Add ${INSTPRIV} to ${INSTALL} commands.
1999-08-21 06:17:45 +00:00
lukem
41510f9a2b
for MKSHARE=no, set MKDOC=no MKMAN=no MKNLS=no, and for MKMAN=no, set
...
MKCATPAGES=no. this simplifies various tests.
1999-02-12 12:38:44 +00:00
lukem
497d11782a
* Add support for MKDOC MKLINKLIB MKLINT MKMAN MKNLS MKOBJ MKPIC MKPICINSTALL
...
MKPROFILE MKSHARE, which default to `yes' unless an equivalent NOxxx
variable is defined.
* Add MKCATPAGES, which if "no" prevents catpages from being built or installed
Users should use "MKxxx=no" instead of "NOxxx=" in /etc/mk.conf, because
this allows easy override on the make(1) command line (e.g 'make MKSHARE=yes'
to override MKSHARE=no in /etc/mk.conf).
1999-02-12 01:10:06 +00:00
christos
f16578a952
PR/2936: Brian C. Grayson: Avoid truncating precious files when installing
...
and the filesystem is full. Added ${RENAME} flag to install, which when set
to -r installs on a temporary file and then renames to the final destination.
${RENAME} is currently set to nothing in bsd.own.mk, but one can turn it
on in /etc/mk.conf.
1999-02-04 11:58:30 +00:00
christos
ddb60058ff
Use preserve flag in install.
1998-09-28 08:13:37 +00:00
lukem
5e27c18616
don't build/install nls files if NOSHARE defined
1998-09-27 17:16:37 +00:00
lukem
24bd0530c9
add distclean as a synonym for cleandir
1998-08-09 14:46:19 +00:00
enami
6e80cfe67f
Test target __initialized__ instead of .MAIN to see if inclusion
...
of ../Makefile.inc is necessary.
1998-04-03 04:40:42 +00:00
mycroft
1e9e92665f
Several changes:
...
* Allow bsd.man.mk to be included separately.
* Always include bsd.own.mk and bsd.obj.mk.
* Include bsd.man.mk and bsd.nls.mk even if NOMAN or NONLS; just turn off
building of the affected files instead.
* Require bsd.subdir.mk to be included explicitly.
(Will make appropriate changes to Makefiles shortly.)
1997-10-11 08:16:24 +00:00
mycroft
4e5d05c9cc
Automatically add the .c files corresponding to .l and .y files to DPSRCS.
...
Automatically add DPSRCS to CLEANFILES.
1997-05-09 13:25:46 +00:00
mycroft
b89441bd06
Always define cleanman.
1997-05-07 16:45:40 +00:00
mycroft
bb8827f7d1
Various simplifications.
1997-05-07 15:53:28 +00:00
mycroft
2da111c521
Make most of the install targets .PRECIOUS.
1997-05-06 21:29:33 +00:00
mycroft
5acae7b6ea
Add a pile of missing .PHONYs.
1997-05-06 20:54:31 +00:00
christos
b69d8d5561
Update for incremental make changes.
1997-04-19 22:24:30 +00:00
thorpej
416caa144c
Use ${INSTALL} rather than "install".
...
From Simon J. Gerraty <sjg@zen.void.oz.au>, PR #1458 .
1996-10-18 02:34:42 +00:00
jtc
db8496095b
Only set NLSALL if NLS is defined and not empty.
1995-04-27 18:05:38 +00:00
jtc
a04634e01b
First cut of makefile header that builds and installs message catalogs.
1995-04-20 05:09:34 +00:00