mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-02-19 12:20:42 +01:00
Generate an error during make install if old cairo headers are found in includedir, (rather than includedir/cairo where the new ones are going).
This commit is contained in:
parent
56d84bb856
commit
5707a69bfc
2 changed files with 16 additions and 0 deletions
|
|
@ -1,3 +1,9 @@
|
|||
2005-02-04 Carl Worth <cworth@cworth.org>
|
||||
|
||||
* src/Makefile.am: Generate an error during make install if old
|
||||
cairo headers are found in includedir, (rather than
|
||||
includedir/cairo where the new ones are going).
|
||||
|
||||
2005-02-03 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* src/cairo_ft_font.c (_cairo_ft_font_text_to_glyphs,
|
||||
|
|
|
|||
|
|
@ -121,3 +121,13 @@ libcairo_la_LDFLAGS = -version-info @VERSION_INFO@ -no-undefined
|
|||
INCLUDES = -I$(srcdir) $(CAIRO_CFLAGS)
|
||||
|
||||
libcairo_la_LIBADD = $(CAIRO_LIBS)
|
||||
|
||||
install-data-local:
|
||||
@if test -f $(includedir)/cairo.h || test -f $(includedir)/cairo-features.h ; then \
|
||||
echo "****************************************************************" ; \
|
||||
echo "*** Error: Old headers found. You should remove the following" ; \
|
||||
echo "*** files and then type 'make install' again." ; \
|
||||
ls $(includedir)/cairo*.h ; \
|
||||
echo "****************************************************************" ; \
|
||||
false ; \
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue