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@ exec_prefix=@exec_prefix@
libdir=@libdir@ libdir=@libdir@
includedir=@includedir@ includedir=@includedir@
pkgincludedir=${includedir}/${package}
Name: ${package} Name: ${package}
Description: Another Readline Input Framework Description: Another Readline Input Framework
Version: ${version} Version: ${version}
URL: https://nongnu.org/arif URL: https://nongnu.org/arif
Libs: -L${libdir} -larif 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 .SH SYNOPSIS
.EX .EX
.B #include <arif/arif.h> .B #include <arif.h>
.PP .PP
.B struct arif_ctx * .B struct arif_ctx *
.B arif_ctx_create ( .B arif_ctx_create (

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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