[libpdl-io-matlab-perl] 04/05: Make now knows about a source dependency and can rebuild intelligently
Dima Kogan
dima at secretsauce.net
Fri Nov 22 05:19:51 UTC 2013
This is an automated email from the git hooks/post-receive script.
dkogan-guest pushed a commit to branch patch-queue/master
in repository libpdl-io-matlab-perl.
commit 4b7f63ccb33ffbbfb51c375df03c510ff677638b
Author: Dima Kogan <dima at secretsauce.net>
Date: Sat Nov 16 21:52:51 2013 -0800
Make now knows about a source dependency and can rebuild intelligently
---
Makefile.PL | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/Makefile.PL b/Makefile.PL
index b765d42..2f1c35f 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -27,7 +27,14 @@ my %more_items = (
map { $hash{$_} = $more_items{$_} } keys %more_items;
-sub MY::postamble { pdlpp_postamble($matlab_package)};
+sub MY::postamble {
+ # These are #included, so make now knows to rebuild the .o when these .c
+ # change
+ "Matlab.o: extra_matio.c convert_matvar_pdl.c\n" .
+ pdlpp_postamble($matlab_package)
+ }
+
+
WriteMakefile( %hash );
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libpdl-io-matlab-perl.git
More information about the Pkg-perl-cvs-commits
mailing list