home *** CD-ROM | disk | FTP | other *** search
/ ftp.madoka.org / 2014.12.ftp.madoka.org.tar / ftp.madoka.org / pub / irchat-pj / 2.5 / irchat-pj-2.5.6p.tar.gz / irchat-pj-2.5.6p.tar / irchat-pj-2.5.6p / make.el < prev    next >
Lisp/Scheme  |  2001-09-16  |  2KB  |  66 lines

  1. ;;; make.el --- Make file for irchat-pj (w/PURE)
  2.  
  3. ;; Copyright (C) 2000 by Project Pure.
  4.  
  5. ;; Author: SHIMADA Mitsunobu <simm@irc.fan.gr.jp>
  6. ;; Keywords: irchat-pj, PURE, make, install
  7.  
  8. ;; $Id: make.el,v 1.7 2001/09/16 15:32:24 simm Exp $
  9.  
  10. ;; This file is free software; you can redistribute it and/or modify
  11. ;; it under the terms of the GNU General Public License as published by
  12. ;; the Free Software Foundation; either version 2, or (at your option)
  13. ;; any later version.
  14.  
  15. ;; This file is distributed in the hope that it will be useful,
  16. ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
  17. ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  18. ;; GNU General Public License for more details.
  19.  
  20. ;; You should have received a copy of the GNU General Public License
  21. ;; along with GNU Emacs; see the file COPYING.  If not, write to
  22. ;; the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
  23. ;; Boston, MA 02111-1307, USA.
  24.  
  25. ;;; Commentary:
  26.  
  27. ;; 
  28.  
  29. ;;; Code:
  30.  
  31. (require 'pure-make)
  32.  
  33. (defvar make-pj-lispfile-list
  34.   '("irchat.el"
  35.     "irchat-commands.el"
  36.     "irchat-filter.el"
  37.     "irchat-handle.el"
  38.     "irchat-vars.el"
  39.     "irchat-pj-modeline.el"
  40.     "irchat-pj-sound.el"))
  41.  
  42. (defun make-pj-compile ()
  43.   (pure-make-compile-lisp make-pj-lispfile-list 'irchat 'irchat-vars))
  44.  
  45. (defun make-pj-install ()
  46.   (make-pj-compile)
  47.   (pure-make-install-current-lisp
  48.    make-pj-lispfile-list
  49.    (or (pure-make-get-argument 'lispdir) "irchat-pj"))
  50.   (let ((dccbin (concat "dcc" pure-make-exec-ext)))
  51.     (if (file-exists-p dccbin)
  52.     (copy-file dccbin (expand-file-name dccbin pure-make-bindir) t t))))
  53.  
  54. (defun make-pj-package ()
  55.   (make-pj-compile)
  56.   (pure-make-install-package
  57.    make-pj-lispfile-list
  58.    "irchat-pj"
  59.    (or (pure-make-get-argument 'packagedir) pure-make-package-base)
  60.    '("MANIFEST.irchat-pj" . infodir)))
  61.  
  62. ;; That's all
  63. (provide 'make)
  64.  
  65. ;;; make.el ends here
  66.