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 \ wayland-cursor.c \
os-compatibility.c \ os-compatibility.c \
os-compatibility.h \ os-compatibility.h \
cursor-data.h \
xcursor.c \ xcursor.c \
xcursor.h xcursor.h
libwayland_cursor_la_LIBADD = $(top_builddir)/src/libwayland-client.la 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) write_output_file(struct reconstructed_glyph *glyphs, int n)
{ {
int i, j, counter, size; int i, j, counter, size;
FILE *file = fopen("cursor_data.c", "w"); FILE *file = fopen("cursor-data.h", "w");
uint32_t *data; uint32_t *data;
fprintf(file, "%s\n", cursor_licence); fprintf(file, "%s\n", cursor_licence);

View file

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