On 07/05/2016 05:17 AM, Gris Ge wrote: > On Mon, Jul 04, 2016 at 06:32:56PM +0200, Xose Vazquez Perez wrote: >> Gris Ge wrote: >> >>> + perl -i -pe 's|__INCLUDEDIR__|$(includedir)|g' \ >>> + $(DESTDIR)/$(pkgconfdir)/$(PKGFILE) >> >> Please, replace perl with sed, awk or any other basic tool. > > it's quit complex to handle folder path with '/' in sed or > awk unless I missed anything. > > As we need perl in 'kernel-doc' tool blow to generate manpage, > can I keep it? > >>> + perl docs/kernel-doc -man $(HEADERS) | perl docs/split-man.pl docs/man >>> + @for file in docs/man/*.3; do \ >>> + gzip -f $$file; \ >>> + done >>> + find docs/man -type f -name \*[0-9].gz > This is up to Christophe's taste. -- dm-devel mailing list dm-devel@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/dm-devel