In the bbuild system, you dont need to do make install-include for installing include files for compiling. This is now included in the actions done by make install.

This commit is contained in:
Olof hagsand 2020-04-05 12:25:33 +02:00
parent 7998120ef2
commit e6178858f0
8 changed files with 7 additions and 8 deletions

View file

@ -44,6 +44,7 @@ features include optimized search functions and a repair callback.
[search](https://clixon-docs.readthedocs.io/en/latest/xml.html#searching-in-xml) [search](https://clixon-docs.readthedocs.io/en/latest/xml.html#searching-in-xml)
### API changes on existing protocol/config features (You may have have to change how you use Clixon) ### API changes on existing protocol/config features (You may have have to change how you use Clixon)
* In the bbuild system, you dont need to do `make install-include` for installing include files for compiling. This is now included in the actions done by `make install`.
* State data is now ordered-by system for performance reasons. For example, alphabetically for strings and numeric for integers * State data is now ordered-by system for performance reasons. For example, alphabetically for strings and numeric for integers
* Controlled by compile-time option `STATE_ORDERED_BY_SYSTEM` * Controlled by compile-time option `STATE_ORDERED_BY_SYSTEM`
* Obsolete configuration options present in clixon configuration file will cause clixon application to exit at startup. * Obsolete configuration options present in clixon configuration file will cause clixon application to exit at startup.

View file

@ -80,7 +80,6 @@ Clixon:
./configure --enable-optyang; ./configure --enable-optyang;
make; make;
sudo make install; sudo make install;
sudo make install-include
``` ```
(note: optyang enable only if you need to run the main example, otherwise it is not necessary). (note: optyang enable only if you need to run the main example, otherwise it is not necessary).

View file

@ -65,7 +65,6 @@ RUN apk add --update nginx
RUN ./configure --prefix=/clixon/build --with-cligen=/clixon/build --with-wwwuser=www-data RUN ./configure --prefix=/clixon/build --with-cligen=/clixon/build --with-wwwuser=www-data
RUN make RUN make
RUN make install RUN make install
RUN make install-include
# Build and install the clixon hello example (not really necessary for base) # Build and install the clixon hello example (not really necessary for base)
WORKDIR /clixon/clixon/example/hello WORKDIR /clixon/clixon/example/hello

View file

@ -1,7 +1,8 @@
# #
# ***** BEGIN LICENSE BLOCK ***** # ***** BEGIN LICENSE BLOCK *****
# #
# Copyright (C) 2017-2020 Olof Hagsand # Copyright (C) 2017-2019 Olof Hagsand
# Copyright (C) 2020 Olof Hagsand and Rubicon Communications, LLC
# #
# This file is part of CLIXON # This file is part of CLIXON
# #
@ -65,7 +66,6 @@ RUN apk add --update nginx
RUN ./configure --prefix=/clixon/build --with-cligen=/clixon/build --with-wwwuser=www-data --enable-optyangs RUN ./configure --prefix=/clixon/build --with-cligen=/clixon/build --with-wwwuser=www-data --enable-optyangs
RUN make RUN make
RUN make install RUN make install
RUN make install-include
# Install utils # Install utils
WORKDIR /clixon/clixon/util WORKDIR /clixon/clixon/util

View file

@ -1,7 +1,8 @@
# #
# ***** BEGIN LICENSE BLOCK ***** # ***** BEGIN LICENSE BLOCK *****
# #
# Copyright (C) 2017-2020 Olof Hagsand # Copyright (C) 2017-2019 Olof Hagsand
# Copyright (C) 2020 Olof Hagsand and Rubicon Communications, LLC
# #
# This file is part of CLIXON # This file is part of CLIXON
# #

View file

@ -1,7 +1,8 @@
#!/bin/bash #!/bin/bash
# ***** BEGIN LICENSE BLOCK ***** # ***** BEGIN LICENSE BLOCK *****
# #
# Copyright (C) 2017-2020 Olof Hagsand # Copyright (C) 2017-2019 Olof Hagsand
# Copyright (C) 2020 Olof Hagsand and Rubicon Communications, LLC
# #
# This file is part of CLIXON # This file is part of CLIXON
# #

View file

@ -7,7 +7,6 @@ Example:
> ./configure --prefix=/hello > ./configure --prefix=/hello
> make > make
> make install > make install
> make install-include
> cd > cd
> source /hello/etc/cliconrc > source /hello/etc/cliconrc
> clicon_config > clicon_config

View file

@ -9,7 +9,6 @@ fi
$MAKE clean $MAKE clean
$MAKE -j10 $MAKE -j10
sudo $MAKE install sudo $MAKE install
sudo $MAKE install-include
(cd example; $MAKE) (cd example; $MAKE)
(cd util; $MAKE) (cd util; $MAKE)
(cd example; sudo $MAKE install) (cd example; sudo $MAKE install)