$NetBSD: patch-ac,v 1.2 2005/11/21 06:17:58 jlam Exp $ --- src/unixinst.mak.orig 2005-09-22 13:03:45.000000000 -0400 +++ src/unixinst.mak @@ -147,7 +147,7 @@ install-man: $(PSMANDIR)/gs.1 ln -s ps2pdf.$(man1ext) $$f.$(man1ext) ) ;\ done ;\ fi ;\ - if ( test -f $$man1dir/ps2ps.$(man1ext) ) ;\ + if ( test -f $$man1dir/gslp.$(man1ext) ) ;\ then for f in $(MAN1_LINKS_GSLP) ;\ do ( cd $$man1dir; rm -f $$f.$(man1ext) ;\ ln -s gslp.$(man1ext) $$f.$(man1ext) ) ;\ @@ -167,6 +167,7 @@ ridt91.eps ;\ done install-shared: $(GS_SHARED_OBJS) - -mkdir -p $(gssharedir) + $(SH) -c 'echo $(GS_SHARED_OBJS) | while read obj ; do \ + test -z $$obj || mkdir -p $(gssharedir); break; done' $(SH) -c 'echo $(GS_SHARED_OBJS) | while read obj ; do \ test -z $$obj || $(INSTALL_PROGRAM) $$obj $(gssharedir)/; done'