forked from ~ljy/RK356X_SDK_RELEASE

hc
2023-03-13 25c72f09e887f85fcff4a3f978d294da97ab1420
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
From: "Mike Holmes" <mike.holmes@linaro.org>
Date: Thu, 30 October 2014 16:21:03 -0500
Subject: [PATCH] fixup-install-docdir
 
The default configuration macros for CUnit install the documentation and
header files in locations not consistent with the OE filesystem layout.
So here we specify new locations which are consistent with OE filesystems.
 
Upstream-Status: Inappropriate - configuration for OE build environment
 
Signed-off-by: Mike Holmes <mike.holmes@linaro.org>
Signed-off-by: Gary S. Robertson <gary.robertson@linaro.org>
---
 
diff -uNr a/doc/headers/Makefile.am b/doc/headers/Makefile.am
--- a/doc/headers/Makefile.am    2014-10-30 22:06:29.704574162 +0100
+++ b/doc/headers/Makefile.am    2014-10-30 22:07:43.578524791 +0100
@@ -1,6 +1,6 @@
 ## Process this file with automake to produce Makefile.in
 
-dochdrdir = $(prefix)/doc/@PACKAGE@/headers
+dochdrdir = $(docdir)/headers
 
 INCLUDE_FILES = \
     Automated.h \
diff -uNr a/doc/Makefile.am b/doc/Makefile.am
--- a/doc/Makefile.am    2014-10-30 22:06:29.704574162 +0100
+++ b/doc/Makefile.am    2014-10-30 22:07:01.461412166 +0100
@@ -1,7 +1,5 @@
 ## Process this file with automake to produce Makefile.in
 
-docdir = $(prefix)/doc/@PACKAGE@
-
 doc_DATA = \
     CUnit_doc.css \
     error_handling.html \