summaryrefslogtreecommitdiffstats
path: root/patches/libdbus-c++-r9139/libdbus-c++-r9139_autogen_headerfiles.diff
blob: 8566546c5166e1f43337f837be761f819af8740d (plain)
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

This patch handles the fact that generated header files shouldn't be
distributed in a better way than before. It is now possible to run "make
dist" directly after configure, so it is not necessary to run "make"
before "dist".

Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>

Index: examples/echo/Makefile.am
===================================================================
--- examples/echo/Makefile.am.orig
+++ examples/echo/Makefile.am
@@ -4,7 +4,8 @@ AM_CPPFLAGS = -I$(top_srcdir)/include
 
 noinst_PROGRAMS = echo-server
 
-echo_server_SOURCES = echo-glue.h echo-server.h echo-server.cpp
+echo_server_SOURCES = echo-server.h echo-server.cpp
+nodist_echo_server_SOURCES = echo-glue.h
 echo_server_LDADD = $(top_builddir)/src/libdbus-c++-1.la
 
 echo-glue.h: echo-introspect.xml
@@ -13,8 +14,5 @@ echo-glue.h: echo-introspect.xml
 BUILT_SOURCES = echo-glue.h
 CLEANFILES = $(BUILT_SOURCES)
 
-dist-hook:
-	cd $(distdir); rm -f $(BUILT_SOURCES)
-
 MAINTAINERCLEANFILES = \
 	Makefile.in
Index: examples/properties/Makefile.am
===================================================================
--- examples/properties/Makefile.am.orig
+++ examples/properties/Makefile.am
@@ -4,7 +4,8 @@ AM_CPPFLAGS = -I$(top_srcdir)/include
 
 noinst_PROGRAMS = props-server
 
-props_server_SOURCES = props-glue.h props-server.h props-server.cpp
+props_server_SOURCES = props-server.h props-server.cpp
+nodist_props_server_SOURCES = props-glue.h
 props_server_LDADD = $(top_builddir)/src/libdbus-c++-1.la
 
 props-glue.h: props-introspect.xml
@@ -13,8 +14,5 @@ props-glue.h: props-introspect.xml
 BUILT_SOURCES = props-glue.h
 CLEANFILES = $(BUILT_SOURCES)
 
-dist-hook:
-	cd $(distdir); rm -f $(BUILT_SOURCES)
-
 MAINTAINERCLEANFILES = \
 	Makefile.in