From 1750c6669eab987c27dd295444173eb34799cc41 Mon Sep 17 00:00:00 2001 From: scislac Date: Fri, 3 Feb 2006 23:31:10 +0000 Subject: [PATCH] Applying patch #1415503 by James Kilfiger / zeimusu - treat XPMs like headers (so modified xpm files get picked up for compilation) --- src/mkdep.pl | 2 +- src/mkfiles.pl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mkdep.pl b/src/mkdep.pl index 146641aa3..98b74829a 100755 --- a/src/mkdep.pl +++ b/src/mkdep.pl @@ -76,7 +76,7 @@ sub make_files { close FILES; # sort out header and source files - @hdr = sort grep(/\.(h|hpp|icc|ia)$/i,@lines); + @hdr = sort grep(/\.(h|hpp|icc|ia|xpm)$/i,@lines); @src = sort grep(/\.(c|cpp|cc|s)$/i,@lines); print STDERR scalar @lines ." files found (".scalar @src." sources and ".scalar @hdr." headers) in \"make.files\".\n"; diff --git a/src/mkfiles.pl b/src/mkfiles.pl index e313f5af3..5da72ffac 100755 --- a/src/mkfiles.pl +++ b/src/mkfiles.pl @@ -76,7 +76,7 @@ sub doMakeFiles # print "$key => $value\n"; # } - $patterns = '.c$|.cpp$|.h$|.hpp$'; + $patterns = '.c$|.cpp$|.h$|.hpp$|.xpm$'; @files = &find_files(".", $patterns, $excludes, \@excluded); -- 2.30.2