forked from mirrorswp/meta-gir
/
host-tools-only.patch
73 lines (64 loc) · 2.17 KB
/
host-tools-only.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
From ffb8df9a650f16fa65c8069f069b850c31cf1b1f Mon Sep 17 00:00:00 2001
From: Changhyeok Bae <changhyeok.bae@lge.com>
Date: Tue, 9 Jun 2015 09:41:26 +0900
Subject: [PATCH] host tools only
---
Makefile-tools.am | 19 -------------------
Makefile.am | 4 +---
2 files changed, 1 insertion(+), 22 deletions(-)
diff --git a/Makefile-tools.am b/Makefile-tools.am
index 34d2a25..7f021f8 100644
--- a/Makefile-tools.am
+++ b/Makefile-tools.am
@@ -1,9 +1,4 @@
bin_PROGRAMS += g-ir-compiler g-ir-generate
-bin_SCRIPTS += g-ir-scanner g-ir-annotation-tool
-
-if BUILD_DOCTOOL
-bin_SCRIPTS += g-ir-doc-tool
-endif
EXTRA_DIST += \
tools/g-ir-scanner.in \
@@ -12,18 +7,6 @@ EXTRA_DIST += \
TOOL_SUBSTITUTIONS = sed -e s,@libdir\@,$(libdir), -e s,@datarootdir\@,$(datarootdir), -e s,@PYTHON\@,$(PYTHON),
-g-ir-scanner: tools/g-ir-scanner.in _giscanner.la Makefile
- $(AM_V_GEN) $(TOOL_SUBSTITUTIONS) $< > $@.tmp && mv $@.tmp $@
- @chmod a+x $@
-
-g-ir-annotation-tool: tools/g-ir-annotation-tool.in _giscanner.la Makefile
- $(AM_V_GEN) $(TOOL_SUBSTITUTIONS) $< > $@.tmp && mv $@.tmp $@
- @chmod a+x $@
-
-g-ir-doc-tool: tools/g-ir-doc-tool.in _giscanner.la Makefile
- $(AM_V_GEN) $(TOOL_SUBSTITUTIONS) $< > $@.tmp && mv $@.tmp $@
- @chmod a+x $@
-
g_ir_compiler_SOURCES = tools/compiler.c
g_ir_compiler_CPPFLAGS = -DGIREPO_DEFAULT_SEARCH_PATH="\"$(libdir)\"" \
-I$(top_srcdir)/girepository
@@ -45,5 +28,3 @@ g_ir_generate_LDADD = \
GCOVSOURCES = \
$(g_ir_compiler_SOURCES) \
$(g_ir_generate_SOURCES)
-
-CLEANFILES += g-ir-scanner g-ir-annotation-tool g-ir-doc-tool
diff --git a/Makefile.am b/Makefile.am
index 1a988a5..44c942a 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -20,15 +20,13 @@ include Makefile.introspection
include Makefile-cmph.am
include Makefile-girepository.am
include Makefile-giscanner.am
-include Makefile-examples.am
-include Makefile-gir.am
include Makefile-tools.am
include Makefile-msvcproj.am
## Process this file with automake to produce Makefile.in
ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
-SUBDIRS = . docs tests build
+SUBDIRS = . build
DIST_SUBDIRS = $(SUBDIRS)
DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc --enable-doctool
--
1.7.9.5