From: Ting-Wei Lan Date: Thu, 15 Feb 2018 18:44:55 +0000 (+0800) Subject: Fix documentation installation on FreeBSD X-Git-Tag: v1.0.2~24 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=da35841c11da95043aa97c5e507ac9f193c04e2e;p=fribidi Fix documentation installation on FreeBSD POSIX says the number after 'head -n' should be a positive interger. --- diff --git a/doc/Makefile.am b/doc/Makefile.am index b809326..214a8c1 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -29,7 +29,7 @@ headers += $(libfribidi_la_headers) includepath += -I$(top_builddir)/lib -I$(top_srcdir)/lib includevpath += :$(top_builddir)/lib:$(top_srcdir)/lib # The las two lines are not functions, we don't want them here. -inst_symbols += $(shell head -n -2 $(top_srcdir)/lib/fribidi.def) +inst_symbols += $(shell sed '$$d' $(top_srcdir)/lib/fribidi.def | sed '$$d') dist_man_MANS += $(inst_symbols:=.3) dist_noinst_MANS += $(noinst_symbols:=.3)