* WL-MK (install-wl-icons): Don't install *.img files for Emacs 21.
authoryamaoka <yamaoka>
Tue, 11 Dec 2001 04:40:00 +0000 (04:40 +0000)
committeryamaoka <yamaoka>
Tue, 11 Dec 2001 04:40:00 +0000 (04:40 +0000)
ChangeLog
WL-MK

index e37834e..c00bea8 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2001-12-11  Katsumi Yamaoka  <yamaoka@jpl.org>
 
+       * WL-MK (install-wl-icons): Don't install *.img files for Emacs 21.
+
+2001-12-11  Katsumi Yamaoka  <yamaoka@jpl.org>
+
        * WL-MK (config-wl-pixmap-dir): Set a value to `PIXMAPDIR' even if
        Emacs version is less than 21.
        (install-wl-icons): Install icon files which might be used for the
diff --git a/WL-MK b/WL-MK
index 8c634de..043cc58 100644 (file)
--- a/WL-MK
+++ b/WL-MK
       (make-directory PIXMAPDIR t))
   (let* ((case-fold-search t)
         (icons (directory-files ICONDIR t
-                                (cond ((featurep 'xemacs)
+                                (cond ((or (featurep 'xemacs)
+                                           (and (boundp 'emacs-major-version)
+                                                (>= emacs-major-version 21)))
                                        "\\.x[bp]m$")
-                                      ((and (boundp 'emacs-major-version)
-                                            (>= emacs-major-version 21))
-                                       "\\.img$\\|\\.x[bp]m$")
                                       ((featurep 'mule)
                                        "\\.img$\\|\\.xbm$"))))
         icon dest)