diff options
author | Michael I. Bushnell <mib@gnu.org> | 1996-06-27 13:58:11 +0000 |
---|---|---|
committer | Michael I. Bushnell <mib@gnu.org> | 1996-06-27 13:58:11 +0000 |
commit | a95f36dfa10db160c15a216018b3f0c9a6f55aa4 (patch) | |
tree | 494ebc6914ebb9806226a34040ad8559fd8e4580 /Makefile | |
parent | 5bdde5146a4b8519d4979614d323013084b3b735 (diff) |
(linked-files, lf-inst): New variables.
(cp-linked-files): Use implicit rule.
($(lfinst)): New implicit rule.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -79,10 +79,11 @@ install: $(addsuffix -install,$(lib-subdirs) $(working-prog-subdirs)) lndist: cp-linked-files -cp-linked-files: - cp $(srcdir)/install-sh $(srcdir)/hurd-snap/install-sh - cp $(srcdir)/config.guess $(srcdir)/hurd-snap/config.guess - cp $(srcdir)/config.sub $(srcdir)/hurd-snap/config.sub +linked-files = install-sh config.guess config.sub mkinstalldirs +lf-inst = $(addprefix $(srcdir)/hurd-snap/,$(linked-files)) +cp-linked-files: $(lf-inst) +$(lfinst): $(srcdir)/hurd-snap/%: $(srcdir)/% + cp $< $@ TAGS: $(addsuffix -TAGS,$(prog-subdirs) $(lib-subdirs)) |