Move header file to a separate directory.
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
164b3601a3
commit
8e97e21ccf
|
@ -10,7 +10,7 @@ this notice are preserved. This file is offered as-is, without any warranty.
|
||||||
|
|
||||||
## Copy Code to Your Project
|
## Copy Code to Your Project
|
||||||
|
|
||||||
The code of ctlseqs is simple, and can be used out-of-the-box. Just copy [ctlseqs.h](src/ctlseqs.h) and [ctlseqs.c](src/ctlseqs.c) to your project and build it alongside with other code.
|
The code of ctlseqs is simple, and can be used out-of-the-box. Just copy [ctlseqs.h](include/ctlseqs.h) and [ctlseqs.c](src/ctlseqs.c) to your project and build it alongside with other code.
|
||||||
|
|
||||||
Requires an ISO C99 and POSIX.1-2001 compliant C implementation.
|
Requires an ISO C99 and POSIX.1-2001 compliant C implementation.
|
||||||
|
|
||||||
|
|
|
@ -6,4 +6,4 @@
|
||||||
# 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.
|
||||||
#
|
#
|
||||||
|
|
||||||
SUBDIRS = src doc man tests examples
|
SUBDIRS = include src doc man tests examples
|
||||||
|
|
|
@ -50,5 +50,5 @@ m4_define([CTLSEQS_LT_REVISION], [0])
|
||||||
m4_define([CTLSEQS_LT_AGE], [0])
|
m4_define([CTLSEQS_LT_AGE], [0])
|
||||||
AC_SUBST([CTLSEQS_LT_VERSION], [CTLSEQS_LT_CURRENT:CTLSEQS_LT_REVISION:CTLSEQS_LT_AGE])
|
AC_SUBST([CTLSEQS_LT_VERSION], [CTLSEQS_LT_CURRENT:CTLSEQS_LT_REVISION:CTLSEQS_LT_AGE])
|
||||||
|
|
||||||
AC_CONFIG_FILES([Makefile doc/Makefile man/Makefile src/Makefile tests/Makefile examples/Makefile])
|
AC_CONFIG_FILES([Makefile include/Makefile doc/Makefile man/Makefile src/Makefile tests/Makefile examples/Makefile])
|
||||||
AC_OUTPUT
|
AC_OUTPUT
|
||||||
|
|
|
@ -6,7 +6,8 @@
|
||||||
# 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.
|
||||||
#
|
#
|
||||||
|
|
||||||
AM_CPPFLAGS = -I$(top_srcdir)/src
|
AM_CPPFLAGS = -I$(top_srcdir)/include
|
||||||
|
|
||||||
noinst_PROGRAMS = sixdraw
|
noinst_PROGRAMS = sixdraw
|
||||||
sixdraw_SOURCES = sixdraw.c
|
sixdraw_SOURCES = sixdraw.c
|
||||||
sixdraw_LDADD = $(top_srcdir)/src/libctlseqs.la
|
sixdraw_LDADD = $(top_srcdir)/src/libctlseqs.la
|
||||||
|
|
|
@ -0,0 +1,9 @@
|
||||||
|
#
|
||||||
|
# Copyright (C) 2021 CismonX <admin@cismon.net>
|
||||||
|
#
|
||||||
|
# Copying and distribution of this file, with or without modification, are
|
||||||
|
# permitted in any medium without royalty, provided the copyright notice and
|
||||||
|
# this notice are preserved. This file is offered as-is, without any warranty.
|
||||||
|
#
|
||||||
|
|
||||||
|
include_HEADERS = ctlseqs.h
|
|
@ -6,8 +6,8 @@
|
||||||
# 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.
|
||||||
#
|
#
|
||||||
|
|
||||||
|
AM_CPPFLAGS = -I$(top_srcdir)/include
|
||||||
|
AM_LDFLAGS = -version-info $(CTLSEQS_LT_VERSION)
|
||||||
|
|
||||||
lib_LTLIBRARIES = libctlseqs.la
|
lib_LTLIBRARIES = libctlseqs.la
|
||||||
libctlseqs_la_SOURCES = ctlseqs.c
|
libctlseqs_la_SOURCES = ctlseqs.c
|
||||||
libctlseqs_la_LDFLAGS = -version-info $(CTLSEQS_LT_VERSION)
|
|
||||||
|
|
||||||
include_HEADERS = ctlseqs.h
|
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
AUTOMAKE_OPTIONS = dejagnu
|
AUTOMAKE_OPTIONS = dejagnu
|
||||||
AM_CPPFLAGS = -I$(top_srcdir)/src
|
AM_CPPFLAGS = -I$(top_srcdir)/include
|
||||||
|
|
||||||
noinst_PROGRAMS = tcsgrep
|
noinst_PROGRAMS = tcsgrep
|
||||||
tcsgrep_SOURCES = tcsgrep.c
|
tcsgrep_SOURCES = tcsgrep.c
|
||||||
|
|
Loading…
Reference in New Issue