mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 02:01:24 +01:00
tools/include: drop leading underscore from xen_list header
A leading underscore is used to indicate auto generated headers, and
the clean use of 'rm -f _*.h' will remove those. _xen_list.h also
uses a leading underscore, but is checked in the repo and as such
cannot be removed as part of the clean rule.
Fix this by dropping the leading underscore, so that the header is not
removed.
Fixes: a03b3552d4 ('libs,tools/include: Clean "clean" targets')
Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Reviewed-by: Juergen Gross <jgross@suse.com>
This commit is contained in:
1 parent
c9040f25be
commit
9d067857d1
6 files changed
+6
-6
No files matched your search
@@ -70,13 +70,13 @@ install: all
|
||||
$(INSTALL_DATA) xen/io/*.h $(DESTDIR)$(includedir)/xen/io
|
||||
$(INSTALL_DATA) xen/sys/*.h $(DESTDIR)$(includedir)/xen/sys
|
||||
$(INSTALL_DATA) xen/xsm/*.h $(DESTDIR)$(includedir)/xen/xsm
|
||||
$(INSTALL_DATA) _xen_list.h $(DESTDIR)$(includedir)
|
||||
$(INSTALL_DATA) xen_list.h $(DESTDIR)$(includedir)
|
||||
|
||||
.PHONY: uninstall
|
||||
uninstall:
|
||||
echo "[FIXME] uninstall headers"
|
||||
rm -rf $(DESTDIR)$(includedir)/xen
|
||||
rm -f $(DESTDIR)$(includedir)/_xen_list.h
|
||||
rm -f $(DESTDIR)$(includedir)/xen_list.h
|
||||
|
||||
.PHONY: clean
|
||||
clean:
|
||||
|
||||
@@ -747,7 +747,7 @@
|
||||
typedef struct libxl__ctx libxl_ctx;
|
||||
|
||||
#include <libxl_uuid.h>
|
||||
#include <_xen_list.h>
|
||||
#include <xen_list.h>
|
||||
|
||||
/* API compatibility. */
|
||||
#ifdef LIBXL_API_VERSION
|
||||
|
||||
File renamed without changes.
@@ -27,7 +27,7 @@
|
||||
#include <stddef.h>
|
||||
|
||||
#include "xentoolcore.h"
|
||||
#include "_xen_list.h"
|
||||
#include "xen_list.h"
|
||||
|
||||
/*---------- active handle registration ----------*/
|
||||
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
* Split off from xc_minios.c
|
||||
*/
|
||||
|
||||
#include "_xen_list.h"
|
||||
#include "xen_list.h"
|
||||
#include <mini-os/types.h>
|
||||
#include <mini-os/os.h>
|
||||
#include <mini-os/lib.h>
|
||||
|
||||
@@ -63,7 +63,7 @@
|
||||
|
||||
#include <yajl/yajl_gen.h>
|
||||
|
||||
#include "_xen_list.h"
|
||||
#include "xen_list.h"
|
||||
#include "libxl_internal.h"
|
||||
|
||||
/* #define DEBUG_RECEIVED */
|
||||
|
||||