aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/augeas/augeas/sepbuildfix.patch
blob: b82a3ee2cb85192862a1661c84b8fd78206c676c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
Ensure that builds in separate builddirs (${B} != ${S}) correctly install the 
lenses files.

Upstream-Status: Pending

RP 2013/4/17

Index: augeas-1.0.0/Makefile.am
===================================================================
--- augeas-1.0.0.orig/Makefile.am	2012-11-02 15:20:11.000000000 +0000
+++ augeas-1.0.0/Makefile.am	2013-04-17 10:36:24.033400125 +0000
@@ -5,8 +5,8 @@
 lensdir=$(datadir)/augeas/lenses/dist
 lenstestdir=$(datadir)/augeas/lenses/dist/tests
 
-dist_lens_DATA=$(wildcard lenses/*.aug)
-dist_lenstest_DATA=$(wildcard lenses/tests/*.aug)
+dist_lens_DATA=$(wildcard $(top_srcdir)/lenses/*.aug)
+dist_lenstest_DATA=$(wildcard $(top_srcdir)lenses/tests/*.aug)
 
 EXTRA_DIST=augeas.spec build/aux/move-if-change Makefile.am HACKING