projects
/
libguestfs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a470f4d
)
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>
Tue, 23 Jan 2018 08:36:18 +0000
(08:36 +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 def7c0d1c034351084568d4b2f6580d4a0945fd8..a66f86bdd2eb627f9415e1b5c3518b7c11912ab9 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