mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2025-11-22 06:59:46 -05:00
Ensure cursor_data.c is included in distribution tarballs
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
This commit is contained in:
parent
6685d19301
commit
0371668dcc
4 changed files with 3 additions and 2 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
|
|
@ -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);
|
||||||
|
|
|
||||||
|
|
@ -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,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue