refactor: change header installation path

This commit is contained in:
CismonX 2023-08-08 18:15:16 +08:00
parent 98ce348274
commit 7504215866
Signed by: cismonx
GPG Key ID: 3094873E29A482FB
10 changed files with 13 additions and 14 deletions

View File

@ -13,11 +13,10 @@ prefix=@prefix@
exec_prefix=@exec_prefix@
libdir=@libdir@
includedir=@includedir@
pkgincludedir=${includedir}/${package}
Name: ${package}
Description: Another Readline Input Framework
Version: ${version}
URL: https://nongnu.org/arif
Libs: -L${libdir} -larif
Cflags: -I${includedir} -I${pkgincludedir}
Cflags: -I${includedir}

View File

@ -5,7 +5,7 @@ arif_ctx_create - create input context
.
.SH SYNOPSIS
.EX
.B #include <arif/arif.h>
.B #include <arif.h>
.PP
.B struct arif_ctx *
.B arif_ctx_create (

View File

@ -5,7 +5,7 @@ arif_ctx_destroy - destroy input context
.
.SH SYNOPSIS
.EX
.B #include <arif/arif.h>
.B #include <arif.h>
.PP
.B void
.B arif_ctx_destroy (

View File

@ -5,7 +5,7 @@ arif_fetch - fetch candidates
.
.SH SYNOPSIS
.EX
.B #include <arif/arif.h>
.B #include <arif.h>
.PP
.B int
.B arif_fetch (

View File

@ -5,7 +5,7 @@ arif_query - query for candidates
.
.SH SYNOPSIS
.EX
.B #include <arif/arif.h>
.B #include <arif.h>
.PP
.B int
.B arif_query (

View File

@ -5,7 +5,7 @@ arif_rl_complete - generate Readline completion candidates
.
.SH SYNOPSIS
.EX
.B #include <arif/arif_rl.h>
.B #include <arif_rl.h>
.PP
.B char **
.B arif_rl_complete (

View File

@ -5,7 +5,7 @@ arif_rl_display - display Readline completion candidates
.
.SH SYNOPSIS
.EX
.B #include <arif/arif_rl.h>
.B #include <arif_rl.h>
.PP
.B void
.B arif_rl_display (

View File

@ -5,7 +5,7 @@ arif_select_page - select the page of candidates
.
.SH SYNOPSIS
.EX
.B #include <arif/arif.h>
.B #include <arif.h>
.PP
.B int
.B arif_select_page (

View File

@ -5,7 +5,7 @@ arif_set_engine - set input method engine
.
.SH SYNOPSIS
.EX
.B #include <arif/arif.h>
.B #include <arif.h>
.PP
.B void
.B arif_set_engine (

View File

@ -6,13 +6,13 @@
# this notice are preserved. This file is offered as-is, without any warranty.
#
noinst_HEADERS = arif_defs.h arify.h
pkginclude_HEADERS = arif.h
noinst_HEADERS = arif_defs.h arify.h
include_HEADERS = arif.h
if BUILD_ARIF_READLINE
noinst_HEADERS += arify_rl.h
pkginclude_HEADERS += arif_rl.h
noinst_HEADERS += arify_rl.h
include_HEADERS += arif_rl.h
endif # BUILD_ARIF_READLINE