]> granicus.if.org Git - fribidi/commitdiff
Fix documentation installation on FreeBSD
authorTing-Wei Lan <lantw@src.gnome.org>
Thu, 15 Feb 2018 18:44:55 +0000 (02:44 +0800)
committerKhaled Hosny <khaledhosny@eglug.org>
Thu, 15 Feb 2018 22:52:00 +0000 (00:52 +0200)
POSIX says the number after 'head -n' should be a positive interger.

doc/Makefile.am

index b8093263bc21f363bb5f285c450e8c5bd499a4be..214a8c1d5e53d85842b75bb9334886ff0105cd98 100644 (file)
@@ -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)