projects
/
chise
/
xemacs-chise.git-
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
update.
[chise/xemacs-chise.git-]
/
src
/
make-src-depend
diff --git
a/src/make-src-depend
b/src/make-src-depend
index
4f604f4
..
f28a23b
100644
(file)
--- a/
src/make-src-depend
+++ b/
src/make-src-depend
@@
-29,8
+29,7
@@
my ($myName, $srcdir, %exists, %uses, %generated_header);
Usage: $myName
Generates Makefile dependencies for the XEmacs src directory.
Usage: $myName
Generates Makefile dependencies for the XEmacs src directory.
-The dependencies are written to stdout.
-";
+The dependencies are written to stdout.\n";
die $usage if @ARGV;
die $usage if @ARGV;
@@
-53,11
+52,11
@@
for my $file (keys %exists) {
s/[ \t]+//g;
# Find include dependencies
for (/^\#include([^\n]+)/gm) {
s/[ \t]+//g;
# Find include dependencies
for (/^\#include([^\n]+)/gm) {
- if (m@^\"([A-Za-z0-9_-]+\.h)\"@) {
+ if (m@^\"([A-Za-z0-9._-]+\.h)\"@) {
$uses{$file}{$1} = 1 if exists $exists{$1};
$uses{$file}{$1} = 1 if exists $exists{$1};
- } elsif (m@<([A-Za-z0-9_-]+\.h)>@) {
+ } elsif (m@<([A-Za-z0-9._-]+\.h)>@) {
$uses{$file}{$1} = 1 if exists $generated_header{$1};
$uses{$file}{$1} = 1 if exists $generated_header{$1};
- } elsif (m@\"../lwlib/([A-Za-z0-9_-]+\.h)\"@) {
+ } elsif (m@\"../lwlib/([A-Za-z0-9._-]+\.h)\"@) {
$uses{$file}{"\$(LWLIB_SRCDIR)/lwlib.h"} = 1;
}
}
$uses{$file}{"\$(LWLIB_SRCDIR)/lwlib.h"} = 1;
}
}