Ensure cursor_data.c is included in distribution tarballs

Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
This commit is contained in:
Matt Roper 2012-10-04 14:27:39 -07:00 committed by Kristian Høgsberg
parent 6685d19301
commit 0371668dcc
4 changed files with 3 additions and 2 deletions

View file

@ -6,6 +6,7 @@ libwayland_cursor_la_SOURCES = \
wayland-cursor.c \
os-compatibility.c \
os-compatibility.h \
cursor-data.h \
xcursor.c \
xcursor.h
libwayland_cursor_la_LIBADD = $(top_builddir)/src/libwayland-client.la

View file

@ -359,7 +359,7 @@ static void
write_output_file(struct reconstructed_glyph *glyphs, int n)
{
int i, j, counter, size;
FILE *file = fopen("cursor_data.c", "w");
FILE *file = fopen("cursor-data.h", "w");
uint32_t *data;
fprintf(file, "%s\n", cursor_licence);

View file

@ -181,7 +181,7 @@ wl_cursor_destroy(struct wl_cursor *cursor)
free(cursor);
}
#include "cursor_data.c"
#include "cursor-data.h"
static struct wl_cursor *
wl_cursor_create_from_data(struct cursor_metadata *metadata,