From da35841c11da95043aa97c5e507ac9f193c04e2e Mon Sep 17 00:00:00 2001 From: Ting-Wei Lan Date: Fri, 16 Feb 2018 02:44:55 +0800 Subject: [PATCH] Fix documentation installation on FreeBSD POSIX says the number after 'head -n' should be a positive interger. --- doc/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.40.0