projects
/
libguestfs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bc1c958
)
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>
Sun, 23 Jul 2017 23:13:17 +0000
(
00:13
+0100)
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 f76f3df90d902bd1358ddd23976728621852b9ec..f8acf75ef0d49e0c40a6a4e5dac18836719c5d05 100644
(file)
--- a/
perl/Makefile.am
+++ b/
perl/Makefile.am
@@
-57,9
+57,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