diff options
author | Murray Cumming <murrayc@murrayc.com> | 2004-03-18 13:58:26 +0000 |
---|---|---|
committer | Murray Cumming <murrayc@src.gnome.org> | 2004-03-18 13:58:26 +0000 |
commit | 68563c440747f306346d45c13ddef0e41431beaf (patch) | |
tree | 961ea80ae19927811a0fa13f6f901323f082e036 /tools/generate_wrap_init.pl.in | |
parent | 53fc26d7a31d6c6dde407bc9d98ad36df8786e37 (diff) | |
download | glibmm-68563c440747f306346d45c13ddef0e41431beaf.tar.gz |
Change a regex so that files are included without full path. Apparently
2004-03-18 Murray Cumming <murrayc@murrayc.com>
* tools/generate_wrap_init.pl: Change a regex so that files are
included without full path. Apparently this helps when building outside
of the source directory, though I'm sceptical. By Victor Zverovich in
bug #137530.
Diffstat (limited to 'tools/generate_wrap_init.pl.in')
-rw-r--r-- | tools/generate_wrap_init.pl.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/generate_wrap_init.pl.in b/tools/generate_wrap_init.pl.in index c3c1cd69..f3e35cd5 100644 --- a/tools/generate_wrap_init.pl.in +++ b/tools/generate_wrap_init.pl.in @@ -136,7 +136,7 @@ while ($ARGV[0]) # Store header filename so that we can #include it later: my $filename_header = $filename; - $filename_header =~ s/\.hg/\.h/; + $filename_header =~ s/.*\/([^\/]+)\.hg/$1.h/; push(@filenames_headers, $filename_header); shift @ARGV; |