Code

Applying patch #1415503 by James Kilfiger / zeimusu - treat XPMs like headers (so...
authorscislac <scislac@users.sourceforge.net>
Fri, 3 Feb 2006 23:31:10 +0000 (23:31 +0000)
committerscislac <scislac@users.sourceforge.net>
Fri, 3 Feb 2006 23:31:10 +0000 (23:31 +0000)
src/mkdep.pl
src/mkfiles.pl

index 146641aa35e6c5923e2552be48181c3051e437a4..98b74829a23f91964ffa768f41f73c7ae191a44a 100755 (executable)
@@ -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";
index e313f5af3da6f15f9d9300ef7849385b2541a90e..5da72ffac3f43d2c6ed8457c5b7173ad8fa3c7bb 100755 (executable)
@@ -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);