mirror of
https://github.com/HDFGroup/hdf5.git
synced 2024-11-27 02:10:55 +08:00
ae62eb223c
** bin/rpmsync ** config/depend1.in Tweaks for versions of `make' that can't search directories. ** examples/Dependencies ** src/Dependencies ** test/Dependencies ** testpar/Dependencies ** tools/Dependencies Regenerated all these with more complete path names.
12 lines
411 B
Perl
12 lines
411 B
Perl
#!/usr/bin/perl -p
|
|
# Usage: $0 [<].depend
|
|
|
|
# Takes dependency info and generates on stdout dependencies suitable for
|
|
# distribution by removing all the system include files from the list and
|
|
# removing all but the base name of other include files (since the Makefiles
|
|
# contain the logic for searching).
|
|
|
|
($h,$_)=/\s*\\/?$h.$`:("","$h\n");
|
|
s|( +/\S*)*( *)|$2?" \\\n ":""|eg;
|
|
#s|(([-\w\.]+)/)+([-\w\.]+)|\3|g;
|