Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: PATCH: the transform saga, Doc



Clint Adams wrote:
>+	    cp -f $$file $$tfile; \
>+	  $(INSTALL_DATA) $$tfile $(DESTDIR)$(mandir)/man1 || exit 1; \

The cp is a bad idea when the name is not being transformed.  Anyway,
you don't need to create files in the build directory with the target
name: install can do it.

	$(INSTALL_DATA) $(sdir)/$$file $(DESTDIR)$(mandir)/man1/$$tfile

-zefram



Messages sorted by: Reverse Date, Date, Thread, Author