Index: packages/mp/Makefile.in =================================================================== RCS file: /usr/local/cvspl/pl/packages/mp/Makefile.in,v retrieving revision 1.2 diff -u -p -r1.2 Makefile.in --- packages/mp/Makefile.in +++ packages/mp/Makefile.in @@ -41,12 +41,12 @@ pl: $(LIBPL) $(MPOBJ) plld -nostate -o $@ $(CIFLAGS) $(LIBPL) $(MPOBJ) $(LOCALLIB) $(LIBS) install: $(TARGETS) $(LIBPL) - mkdir -p $(PLBASE)/lib/$(PLARCH) + mkdir -p $(DESTDIR)$(PLBASE)/lib/$(PLARCH) for f in $(TARGETS); do \ - $(INSTALL) -m 755 $$f $(PLBASE)/lib/$(PLARCH); \ + $(INSTALL) -m 755 $$f $(DESTDIR)$(PLBASE)/lib/$(PLARCH); \ done for f in $(LIBPL); do \ - $(INSTALL) -m 644 $$f $(PLBASE)/library; \ + $(INSTALL) -m 644 $$f $(DESTDIR)$(PLBASE)/library; \ done $(PL) -f none -g make -t halt