diff options
author | Roland McGrath <roland@gnu.org> | 1994-07-16 21:59:20 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 1994-07-16 21:59:20 +0000 |
commit | 5e0eedad670ddc66a14b194f72e646ffb40c70de (patch) | |
tree | 3340786c2b6526603b4d045d4449b80c8aea45b0 /Makerules | |
parent | 7bf2b26a7961f4d372a146392966348ba67cac92 (diff) |
entered into RCS
Diffstat (limited to 'Makerules')
-rw-r--r-- | Makerules | 15 |
1 files changed, 11 insertions, 4 deletions
@@ -342,8 +342,10 @@ objects objs: $(objects) # files in $(install-lib) matching `lib%.a' are ranlib'd after installation # unless they also appear in $(non-lib.a). $(install-data) are installed # as they are into $(datadir). $(headers) are installed as they are in -# $(includedir). $(install-others) are absolute path names of files to -# install; rules to install them are defined elsewhere. +# $(includedir). $(install-bin) and $(install-sbin) are installed from the +# object directory into $(bindir) and $(sbindir), respectively. +# $(install-others) are absolute path names of files to install; rules to +# install them are defined elsewhere. define do-install $(make-target-directory) @@ -376,8 +378,13 @@ $(libdir)/lib$(libprefix)c.a: libobjs subdir_install $(RANLIB) $@ endif -ifdef install -$(addprefix $(bindir)/,$(install)): $(bindir)/%: $(objpfx)% +ifdef install-bin +$(addprefix $(bindir)/,$(install-bin)): $(bindir)/%: $(objpfx)% + $(make-target-directory) + $(INSTALL_PROGRAM) $< $@ +endif +ifdef install-sbin +$(addprefix $(sbindir)/,$(install-sbin)): $(sbindir)/%: $(objpfx)% $(make-target-directory) $(INSTALL_PROGRAM) $< $@ endif |