Revision 12dc1bef1f53fb1abdc599fbde1e66c6ca66af62 authored by Marty E. Plummer on 09 January 2018, 05:55:04 UTC, committed by Ingy döt Net on 19 July 2018, 21:49:53 UTC
'config.h' is meant to be a convenience header to be #included at build time, but not installed. Installing it can cause a host of problems for various other projects (for instance, attempting to build u-boot from source while another project's 'config.h' exists in the compiler search path will cause build failures similar to: https://github.com/pepe2k/u-boot_mod/issues/148 Further, I've changed '#include <config.h>' to '#include "config.h"', which should constrain the search path to the current build directories, so if another package with a bugged build has this file installed, it will not cause yaml to miscompile/fail. If you have a file `/usr/include/config.h` on your filesystem, query your package manager to find out what package owns it, and file a bug report against it with your distro maintainers. Signed-off-by: Marty E. Plummer <hanetzer@protonmail.com>
1 parent df5c05e
Makefile.am
## Run `./bootstrap` to generate the "Makefile.in" files in this directory and
## the "$SUBDIRS" subdirectories.
SUBDIRS = include src . tests
EXTRA_DIST = README LICENSE CMakeLists.txt doc/doxygen.cfg
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = yaml-0.1.pc
maintainer-clean-local:
rm -f aclocal.m4 config.h.in configure config/*
-find ${builddir} -name Makefile.in -exec rm -f '{}' ';'
distclean-local:
rm -fr tests/run-test-suite
-git worktree prune
.PHONY: bootstrap
bootstrap: maintainer-clean
./bootstrap
./configure
make
test: all
make -C tests check-TESTS
test-suite: tests/run-test-suite
make -C $< test
test-all: test test-suite
tests/run-test-suite:
-git branch --track run-test-suite origin/run-test-suite
-git worktree prune
git worktree add $@ run-test-suite

Computing file changes ...