From a95f36dfa10db160c15a216018b3f0c9a6f55aa4 Mon Sep 17 00:00:00 2001 From: "Michael I. Bushnell" Date: Thu, 27 Jun 1996 13:58:11 +0000 Subject: (linked-files, lf-inst): New variables. (cp-linked-files): Use implicit rule. ($(lfinst)): New implicit rule. --- Makefile | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index c789fcd4..df190c6f 100644 --- a/Makefile +++ b/Makefile @@ -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)) -- cgit v1.2.3