[perl-Glib-Object-Introspection] Correctly specify the 'make' dependencies
- From: Torsten SchÃnfeld <tsch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [perl-Glib-Object-Introspection] Correctly specify the 'make' dependencies
- Date: Tue, 14 Aug 2012 18:38:58 +0000 (UTC)
commit 96ac2024874c3fcff241659f37c6eff2f8013caa
Author: Torsten SchÃnfeld <kaffeetisch gmx de>
Date: Tue Aug 14 20:38:26 2012 +0200
Correctly specify the 'make' dependencies
Specifically, trigger a recompilation if one of the C files that gets included
into GObjectIntrospection.xs changes.
Makefile.PL | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/Makefile.PL b/Makefile.PL
index bf0648f..df172ac 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -278,5 +278,6 @@ sub test {
}
sub postamble {
- return Glib::MakeHelper->postamble_clean ();
+ my $additional_deps = "\n\n\$(OBJECT) : gperl-i11n-*.c\n\n";
+ return Glib::MakeHelper->postamble_clean () . $additional_deps;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]