projects
/
libguestfs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0516213
)
perl: Fix out-of-tree build by generating symlinks
author
Hilko Bengen
<bengen@debian.org>
Thu, 23 May 2013 17:20:17 +0000
(19:20 +0200)
committer
Hilko Bengen
<bengen@debian.org>
Wed, 10 Aug 2016 06:22:22 +0000
(06:22 +0000)
Gbp-Pq: Name 0001-perl-Fix-out-of-tree-build-by-generating-symlinks.patch
perl/Makefile.am
patch
|
blob
|
history
diff --git
a/perl/Makefile.am
b/perl/Makefile.am
index ed3545932de5652053fd0efe9347a66bbcc123fb..096a21ddcbc7aaeb91f28f5fd2817e1ef1354096 100644
(file)
--- a/
perl/Makefile.am
+++ b/
perl/Makefile.am
@@
-59,9
+59,11
@@
all-local: Build
clean-local: Build
./Build clean
+ test $(srcdir) != $(builddir) && find -type l | xargs rm -f
Build: Build.PL
- $(PERL) $(srcdir)/Build.PL --prefix "@prefix@"
+ test $(srcdir) != $(builddir) && cp -rsft $(builddir) $(abs_srcdir)/.
+ $(PERL) ./Build.PL --prefix "@prefix@"
TESTS_ENVIRONMENT = $(top_builddir)/run --test