view lisp/Makefile @ 24092:d98712ec1252

(find-buffer-file-type-coding-system): Use default-buffer-file-coding-system when file doesn't exist (and isn't covered by a special case) instead of forcing undecided-dos against the user's wishes. (direct-print-region-helper): New function based on direct-print-region-function; sends data to specified printer port without further translation. Recognize and handle specially the standard `print' and `nprint' programs, as well as `lpr' and similar programs. Only write directly to the printer port if no print program is specified. Work around a bug in Windows 9x affecting Win32 version of Emacs by invoking command.com to write to the printer port instead of writing directly. (direct-print-region-function): Use direct-print-region-helper to do most of the work. (direct-ps-print-region-function): New function; analogue of direct-print-region-function for ps-print. (ps-lpr-command): Comment out setq; leave as example usage. (ps-lpr-switches): Ditto.
author Andrew Innes <andrewi@gnu.org>
date Sun, 17 Jan 1999 19:00:24 +0000
parents f882430c706b
children ce45b5985d7e
line wrap: on
line source

#
# Maintenance productions for the Lisp directory
#
EMACS = emacs
SOURCES = *.el COPYING Makefile
lisptagsfiles1 = [a-zA-Z]*.el
lisptagsfiles2 = [a-zA-Z]*/[a-zA-Z]*.el
ETAGS = ../lib-src/etags

dontcompilefiles: bindings.el blessmail.el bruce.el cus-load.el cus-start.el
dontcompilefiles: forms-d2.el forms-pass.el 
dontcompilefiles: latin-1.el latin-2.el latin-3.el latin-4.el latin-5.el
dontcompilefiles: loaddefs.el loadup.el mule-conf.el patcomp.el
dontcompilefiles: paths.el sc.el subdirs.el term-nasty.el version.el 
dontcompilefiles: generic-x.el

doit:

custom-deps: doit
	subdirs=`find . -type d -print`; \
	for file in $$subdirs; do \
	   case $$file in */Old | */RCS | */=* ) ;; \
		*) wins="$$wins $$file" ;; \
	   esac; \
        done; \
	echo Directories: $$wins; \
	$(EMACS) -batch -l cus-dep -f custom-make-dependencies $$wins

finder-data: doit
	subdirs=`find . -type d -print`; \
	for file in $$subdirs; do \
	   case $$file in */Old | */RCS | */=* ) ;; \
		*) wins="$$wins $$file" ;; \
	   esac; \
        done; \
	echo Directories: $$wins; \
	$(EMACS) -batch -l finder -f finder-compile-keywords-make-dist $$wins

autoloads: doit
	subdirs=`find . -type d -print`; \
	for file in $$subdirs; do \
	   case $$file in */Old | */RCS | */=* ) ;; \
		*) wins="$$wins $$file" ;; \
	   esac; \
        done; \
	echo Directories: $$wins; \
	$(EMACS) -batch -f batch-update-autoloads $$wins

update-subdirs: doit
	subdirs=`find . -type d -print`; \
	for file in $$subdirs; do \
	   case $$file in */Old | */RCS | */=* ) ;; \
		*) wins="$$wins $$file" ;; \
	   esac; \
        done; \
	for file in $$wins; do \
	   ../update-subdirs $$file; \
	done;

updates: doit
	subdirs=`find . -type d -print`; \
	for file in $$subdirs; do \
	   case $$file in */Old | */RCS | */=* ) ;; \
		*) wins="$$wins $$file" ;; \
	   esac; \
        done; \
	for file in $$wins; do \
	   ../update-subdirs $$file; \
	done; \
	echo Directories: $$wins; \
	$(EMACS) -batch -l cus-dep -f custom-make-dependencies $$wins; \
	$(EMACS) -batch -l finder -f finder-compile-keywords-make-dist $$wins; \
	$(EMACS) -batch -f batch-update-autoloads $$wins

TAGS: $(lisptagsfiles1) $(lisptagsfiles2)
	${ETAGS} $(lisptagsfiles1) $(lisptagsfiles2)

TAGS-LISP: $(lispsource)$(lisptagsfiles1) $(lispsource)$(lisptagsfiles2)
	${ETAGS} -o TAGS-LISP \
	  $(lispsource)$(lisptagsfiles1) $(lispsource)$(lisptagsfiles2)