Use ${COPY}, not -c for install for generated files.

This commit is contained in:
mycroft 1993-07-18 19:44:28 +00:00
parent b27f4d1fd9
commit dc799360fe
1 changed files with 3 additions and 1 deletions

View File

@ -20,6 +20,8 @@ all: $(FONTFILES)
.if !target(clean) .if !target(clean)
clean cleandir: clean cleandir:
-rm -f $(FONTFILES) -rm -f $(FONTFILES)
.else
COPY= -c
.endif .endif
.if !target(install) .if !target(install)
@ -30,7 +32,7 @@ install:
$(DEVICEDIR)/generate; \ $(DEVICEDIR)/generate; \
fi fi
-for f in $(FONTFILES); do \ -for f in $(FONTFILES); do \
install -c -o $(FONTOWN) -g $(FONTGRP) -m $(FONTMODE) $$f \ install ${COPY} -o $(FONTOWN) -g $(FONTGRP) -m $(FONTMODE) $$f \
$(DEVICEDIR)/$$f; \ $(DEVICEDIR)/$$f; \
done done
.endif .endif