Skip to content
Snippets Groups Projects
Commit 0fd5bb66 authored by Simon McVittie's avatar Simon McVittie Committed by Sjoerd Simons
Browse files

Use a static README file and the standard Autotools INSTALL

The autogeneration for those files wasn't really adding anything,
and resulted in us fighting with the Autotools.

Similar to <https://phabricator.apertis.org/D539

>.

Reviewed-by: default avatarPhilip Withnall <philip.withnall@collabora.co.uk>
Signed-off-by: default avatarSimon McVittie <simon.mcvittie@collabora.co.uk>
Differential Revision: https://phabricator.apertis.org/D1420
parent b916735f
No related branches found
No related tags found
No related merge requests found
Simple install procedure
========================
% tar xf newport-@NEWPORT_VERSION@.tar.gz # unpack the sources
% cd newport-@NEWPORT_VERSION@ # change to the toplevel directory
% ./autogen.sh # run the `autogen' script
% make # build newport
[ Become root if necessary ]
% make install # install newport
Requirements
============
newport-@NEWPORT_VERSION@ requires pkg-config, which is tool for tracking the
compilation flags needed for libraries. (For each library, a small .pc
text file is installed in a standard location that contains the
compilation flags needed for that library along with version number
information.) Information about pkg-config can be found at:
http://www.freedesktop.org/software/pkgconfig/
GNU make (http://www.gnu.org/software/make) is also required.
Installation directories
========================
The location of the installed files is determined by the --prefix
and --exec-prefix options given to configure.
.pc files for the various libraries are installed in
$exec_prefix/lib/pkgconfig to provide information when compiling
other packages that depend on newport. If you set PKG_CONFIG_PATH
so that it points to this directory, then you can get the
correct include flags and library flags for compiling a newport
application with:
pkg-config --cflags newport-@NEWPORT_VERSION@
pkg-config --libs newport-@NEWPORT_VERSION@
......@@ -17,8 +17,6 @@ pkgconfig_DATA = newport.pc
EXTRA_DIST = \
configure\
autogen.sh\
INSTALL.in\
README.in\
README\
INSTALL\
gtk-doc.make\
......@@ -54,6 +52,7 @@ MAINTAINERCLEANFILES = \
$(GITIGNORE_MAINTAINERCLEANFILES_TOPLEVEL) \
$(GITIGNORE_MAINTAINERCLEANFILES_MAKEFILE_IN) \
$(GITIGNORE_MAINTAINERCLEANFILES_M4_LIBTOOL) \
INSTALL \
m4/gtk-doc.m4 \
gtk-doc.make \
configure \
......
File moved
......@@ -12,7 +12,5 @@ else
gtkdocize || exit $?
fi
touch README INSTALL
autoreconf -v -f --install -Wno-portability || exit $?
./configure "$@" && echo "Now type 'make' to compile $PROJECT."
......@@ -197,8 +197,6 @@ AM_CONDITIONAL(BUILDOPT_INSTALL_TESTS, test "$enable_installed_tests" = "yes")
AX_CODE_COVERAGE
AC_CONFIG_FILES([
INSTALL
README
Makefile
newport.pc
interface/Makefile
......
NEWS
README
README.in
TODO
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment