From 0371668dcca5aa29c0fc4b59b974e40bcf073563 Mon Sep 17 00:00:00 2001 From: Matt Roper Date: Thu, 4 Oct 2012 14:27:39 -0700 Subject: [PATCH] Ensure cursor_data.c is included in distribution tarballs Signed-off-by: Matt Roper --- cursor/Makefile.am | 1 + cursor/convert_font.c | 2 +- cursor/{cursor_data.c => cursor-data.h} | 0 cursor/wayland-cursor.c | 2 +- 4 files changed, 3 insertions(+), 2 deletions(-) rename cursor/{cursor_data.c => cursor-data.h} (100%) diff --git a/cursor/Makefile.am b/cursor/Makefile.am index 39875464..61029b50 100644 --- a/cursor/Makefile.am +++ b/cursor/Makefile.am @@ -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 diff --git a/cursor/convert_font.c b/cursor/convert_font.c index f2971252..de1b8ad5 100644 --- a/cursor/convert_font.c +++ b/cursor/convert_font.c @@ -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); diff --git a/cursor/cursor_data.c b/cursor/cursor-data.h similarity index 100% rename from cursor/cursor_data.c rename to cursor/cursor-data.h diff --git a/cursor/wayland-cursor.c b/cursor/wayland-cursor.c index 33fed04b..0d1fec76 100644 --- a/cursor/wayland-cursor.c +++ b/cursor/wayland-cursor.c @@ -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,