annotate Makefile.in @ 18212:3864648e9b4f

(bibtex-mode-map): Changed the binding of the C-TAB key, such that XEmacs will understand it, too. (bibtex-format-entry, bibtex-end-of-entry): Give specific error message if not on valid BibTeX entry. (bibtex-field-string-quoted): Small bug fix. Allow backslash followed by newline. (bibtex-reposition-window, bibtex-mark-entry): Two new functions, bound to M-C-l and M-C-h, respectively. (bibtex-reformat-previous-options, bibtex-reformat-previous-labels): New internal variables used by bibtex-reformat. (bibtex-clean-entry-hook): New hook to be called after entry has been cleaned. (bibtex-clean-entry): Run the hook bibtex-clean-entry-hook. (bibtex-entry-field-alist): Small bug fix. (bibtex-autokey-title-terminators): Made -- a terminator instead of ---. (bibtex-font-lock-keywords): Don't treat ALT prefixed entries as comments. (bibtex-entry): Fixed parameter list. This function is not intended to be called with required and optional fields as optional arguments anymore. (bibtex-generate-autokey): Now split into various small functions. (bibtex-autokey-names-stretch, bibtex-autokey-additional-names): New variables used by bibtex-generate-autokey. (bibtex-autokey-get-namefield, bibtex-autokey-get-names) (bibtex-autokey-demangle-name, bibtex-autokey-get-namelist) (bibtex-autokey-get-yearfield, bibtex-autokey-get-titlestring) (bibtex-autokey-get-titles, bibtex-autokey-get-titlelist): New helper functions for bibtex-generate-autokey. (bibtex-submit-bug-report): Report all variables. (bibtex-contline-indentation): New user option. (bibtex-entry-offset): Renamed from bibtex-entry-indentation. (bibtex-entry-field-alist): Used different order for some fields (as documented in btxdoc.tex). Changed one of the comment strings. (bibtex-mode-hook, bibtex-add-entry-hook): Add var doc. (bibtex-autokey-before-presentation-hook): New variable to be called before autokey presentation. (bibtex-generate-autokey): Call bibtex-autokey-before-presentation-hook. Doc fix. (bibtex-reference-key): Reincluded parentheses. Parentheses should be disallowed only in field constants. (bibtex-autokey-transcriptions): Fixed bug (two entries for `\o' while `\oe' entry was missing). (bibtex-entry-indentation): New variable to determine the indentation of all entries. (bibtex-move-outside-of-entry): Use `skip-chars-forward' instead of `re-search-forward'. (bibtex-beginning-of-first-entry, bibtex-beginning-of-last-entry): Renamed from beginning-of-first-bibtex-entry and beginning-of-last-bibtex-entry. Go to beginning of line, return point. (bibtex-do-auto-fill, bibtex-make-field, bibtex-entry) (bibtex-String, bibtex-Preamble): Respect `bibtex-entry-indentation'. (bibtex-beginning-of-entry, bibtex-end-of-entry): Make it work with indented entries. (bibtex-count-entries, bibtex-sort-buffer, bibtex-validate, bibtex-kill-entry, bibtex-reformat): Use return value from bibtex-beginning-of-first-entry. (bibtex-clean-entry): Use `bibtex-reference-maybe-empty-head' instead of a fixed string. (bibtex-beginning-of-entry, bibtex-end-of-entry): Now return point if called from a program. (bibtex-enclosing-field, bibtex-format-entry, bibtex-generate-autokey, bibtex-parse-keys, bibtex-mode, bibtex-ispell-entry, bibtex-narrow-to-entry, bibtex-sort-buffer, bibtex-find-entry-location, bibtex-validate, bibtex-clean-entry, bibtex-fill-entry): Use new return values of these functions. (bibtex-ispell-abstract): Bug fix (inherently by the change to bibtex-end-of-entry). (bibtex-field-history): New variable for history buffer of field name reading. (bibtex-make-field): Use completion. Object to completion are all standard fields defined for the current entry. Bound to `C-c C-f'. (bibtex-mode): Set `comment-start' and `comment-start-skip' to "@Comment ", `comment-column' to 0. (bibtex-autokey-transcriptions): New variable. (bibtex-autokey-name-change-strings) (bibtex-autokey-titleword-change-strings): Use bibtex-autokey-transcriptions as default value. (bibtex-find-entry-location): Handle empty buffer. (bibtex-entry-delimiters): New variable to determine if entries shall be delimited by braces or parentheses. (bibtex-entry-left-delimiter, bibtex-entry-right-delimiter): New helper functions. (bibtex-entry, bibtex-String, bibtex-Preamble): Respect `bibtex-entry-delimiters'. (bibtex-entry-format): Doc fix. (bibtex-reference-key, bibtex-field-const): Removed parentheses from allowed characters. (bibtex-end-of-entry): Better handling of incorrect preambles. (bibtex-validate): Small change to avoid reparsing of errors, if you enter `compile-goto-error' in compilation buffer. (bibtex-progress-message): New function to show progress of some long-lasting functions in BibTeX mode by indicating percentage of done work. (bibtex-progress-lastperc, bibtex-progress-lastmes) (bibtex-progress-interval): New internal variables for `bibtex-progress-message'. (bibtex-parse-keys, bibtex-reformat, bibtex-validate): Use new function `bibtex-progress-message'. (current-line): New helper function to calculate current linenumber. Something like this should really be defined somewhere else in Emacs. (bibtex-validate): Changed to show all errors in buffer in a `compilation mode' buffer. If there are syntax errors, it aborts after the syntax check, since higher-level check functions rely on the syntactical correctness of buffer. If called from another lisp function (as `bibtex-convert-alien') the return value shows whether validating has been successful. Fixed bug which made checking for absent required fields work incorrectly. (bibtex-parse-keys-timeout): Set to a value reasonable higher (twice as high) than `lazy-lock-stealth-time'. (bibtex-member-of-regexp, assoc-of-regexp): Small cosmetic changes. (bibtex-buffer-last-parsed-tick): Renamed from bibtex-buffer-last-parsed-for-keys-tick and made it really buffer-local (bug fix). (bibtex-parse-keys): Make it use bibtex-buffer-last-parsed-tick. (bibtex-parse-buffers-stealthily): New function which parses all BibTeX buffers if emacs has been idle an efficient amount of time. (bibtex-parse-idle-timer): New variable which stores whether idle timer for parsing already is installed. (bibtex-parse-keys): Make it callable verbosely. Returns now nil if it has been aborted. (bibtex-mode): Run the new function bibtex-parse-buffers-stealthily. (bibtex-generate-autokey): Changed the name part generation (bugfix). This function handles now correctly all three forms of BibTeX names, "First von Last", "von Last, First", "von Last, Jr, First". In every case the "Last" part is correctly extracted. If the "Last" part consists of more than one token only the first is used. Name fields spread over more than one line are no problem anymore. (bibtex-entry-format): Changed default value to exclude 'page-dashes. Modified documentation. (bibtex-autokey-name-change-strings) (bibtex-autokey-titleword-abbrevs) (bibtex-autokey-titleword-change-strings, bibtex-entry) (bibtex-validate): Doc fixes. (bibtex-mode-map): Bound `C-c $' to bibtex-ispell-abstract. (bibtex-generate-autokey): Changed documentation. Small modification in calculating title field. (bibtex-mode): Included bibtex-ispell-entry into the list of `interesting' functions. (bibtex-kill-field): Bug fix (killing of first field in entry yielded error). (bibtex-string-file-path): New variable which defines the path to search for bibtex-string-files. It defaults to contents of environment variable BIBINPUTS. (bibtex-mode): Use this variable. (bibtex-next-field, bibtex-find-text): Will now work with string entries as well. (bibtex-mode-map): bibtex-complete-key wasn't bound correctly. (bibtex-complete): Fixed bug (used string entries defined in buffer as object to completion). (Menu): Use easymenu. More menu items for `BibTeX-Edit' menu. Use nested menus. (bibtex-field-kill-ring-max) (bibtex-entry-kill-ring-max): Two new variables substituting bibtex-kill-ring-max. (bibtex-field-kill-ring, bibtex-entry-kill-ring): Two new variables substituting bibtex-kill-ring. (bibtex-field-kill-ring-yank-pointer) (bibtex-entry-kill-ring-yank-pointer): Two new variables substituting bibtex-kill-ring-yank-pointer. (bibtex-last-kill-command): New variable keeping the type of the last kill command. (bibtex-insert-current-kill): Clean distinction between the two BibTeX kill rings. (bibtex-kill-field): Use new variable bibtex-field-kill-ring. (bibtex-kill-entry): Use new variable bibtex-entry-kill-ring. (bibtex-kill-ring, bibtex-kill-ring-yank-pointer): New internal variables like kill-ring and kill-ring-yank-pointer, but bibtex-kill-ring holds fields or complete reference entries instead of raw strings. (bibtex-kill-ring-max): New user option similar to kill-ring-max. (bibtex-kill-field): Renamed from bibtex-delete-field again. It now supports the new variable bibtex-kill-ring. (bibtex-copy-field-as-kill, bibtex-kill-entry) (bibtex-copy-entry-as-kill, bibtex-yank, bibtex-yank-pop): New interactive functions, which work on the bibtex-kill-ring variable. (bibtex-insert-current-kill): New helper function to insert contents of bibtex-kill-ring in an appropriate way. (bibtex-make-field): New optional argument to tell the function if it was called by bibtex-yank. It operates slightly different then. (bibtex-find-text): New optional argument to tell the function if it was called by bibtex-make-field. It moves in this case to the end of the key if it was called on the reference head line. If it is called interactively on the head line, it works in an appropriate manner, too. (bibtex-enclosing-field): New optional argument to tell bibtex-enclosing-field not to print an error message if enclosing field isn't found, but to return nil in this case (t is returned otherwise). This is used by bibtex-find-text such that no error message is given if bibtex-find-text is called interactively in the key line of an entry. (bibtex-autokey-year-use-crossref-entry): New variable to determine if crossreferenced entry should be used for autokey generation, if year field of current entry is absent. (bibtex-generate-autokey): Use this new variable. (bibtex-include-OPTannote): Deleted (is set in bibtex-user-optional-fields). (bibtex-entry, bibtex-print-help-message): Removed support for bibtex-include-OPTannote. (bibtex-entry-format): New constant `inherit-booktitle' allowed. (bibtex-mode): Set value for font-lock-mark-block-function. (bibtex-font-lock-keywords): Changed to distinguish optional from ordinary fields. (bibtex-format-entry, bibtex-print-help-message) (bibtex-remove-OPT-or-ALT, bibtex-pop): Used simpler regexps. (bibtex-delete-field): Changed from bibtex-delete-optional-or-alternative-field. Deletes now mandatory fields as well. (bibtex-mode): Changed documentation. (bibtex-entry-type-history, bibtex-key-history): New variables to use own histories in BibTeX buffers. (bibtex-entry, bibtex-clean-entry, bibtex-String): Use these new variables. (bibtex-entry, bibtex-make-field): A function can now be used to generate a fields init string. (bibtex-include-OPTkey, bibtex-include-OPTannote) (bibtex-entry-field-alist): Changed documentation accordingly. (bibtex-mode): bibtex-parse-keys on start of mode is now abortable, too. (bibtex-entry, bibtex-complete-key, bibtex-String): If bibtex-keys isn't set correctly due to abortion of bibtex-parse-keys, this function is called now non-abortable. (bibtex-entry-field-alist): Small change in comments. (bibtex-find-entry-location): Bug fix: Insertion into completely empty buffer didn't work. (bibtex-user-optional-fields): Renamed from bibtex-mode-user-optional-fields. (bibtex-submit-bug-report, bibtex-entry, bibtex-print-help-message): Use bibtex-user-optional-fields. (bibtex-remove-delimiters): Bug fix: Only remove delimiting braces and not those inside fields. (skip-to-valid-bibtex-entry, bibtex-parse-keys) (bibtex-end-of-entry, bibtex-validate, bibtex-reformat): Calculate complex regexps outside of loops. (bibtex-mode): Changed documentation on how to convert third party buffers. (bibtex-convert-alien): New function to convert a buffer not created by BibTeX mode to a format, whichs enables all features of BibTeX mode. (bibtex-mode): Small bug fix for call to bibtex-parse-keys. (bibtex-mode): Bug fix for using bibtex-parse-keys. (bibtex-mode): Used other policy to initiate the first call of bibtex-parse-keys. This avoids unnecessary double call if Font Lock mode is chosen for buffer at startup. (bibtex-String, bibtex-Preamble): Renamed from bibtex-string and bibtex-preamble. (bibtex-String): If bibtex-maintain-sorted-entries and bibtex-sort-ignore-string-entries are both non-nil, read string key from minibuffer (with completion) and insert entry at correct location (as for normal entries). (bibtex-autokey-titleword-first-ignore) (bibtex-autokey-titleword-abbrevs): Changed documentation: case of regexps doesn't matter anymore. (bibtex-field-const, bibtex-reference-key): Simplified to not contain uppercase letters. (member-of-regexp, assoc-of-regexp): Ignore case of regexp. (map-bibtex-entries): Call function not for every syntactical correct entry, but only for entries with known type. (map-bibtex-entries, skip-to-valid-bibtex-entry) (bibtex-flash-head, bibtex-enclosing-field) (bibtex-enclosing-reference-maybe-empty-head, bibtex-format-entry) (bibtex-autokey-change, bibtex-generate-autokey, bibtex-parse-keys) (bibtex-ispell-abstract, bibtex-sort-buffer) (bibtex-find-entry-location, bibtex-validate, bibtex-remove-delimiters) (bibtex-delete-optional-or-alternative-field, bibtex-pop) (bibtex-clean-entry, bibtex-print-help-message): Make them work regardless of user's value of case-fold-search. (bibtex-generate-autokey): Use bibtex-cfield for generating the year field regexp. (bibtex-parse-keys): Only gather keys of known (and not of syntactical correct) entries. (bibtex-end-of-entry): Only report an "unknown entry" message if called interactively. (bibtex-sort-ignore-string-entries): Renamed back from bibtex-sort-ignore-string-and-preamble. Of course, preambles are always ignored, since they have no key at all. (bibtex-string): Slightly less complex regexp. (skip-to-valid-bibtex-entry): New helper function to skip forward (or backward) to beginning of next syntactical correct known BibTeX entry, if not already there. Respects bibtex-sort-ignore-string-entries. (map-bibtex-entries): Bug fix: It wasn't called for string entries even if bibtex-sort-ignore-string-entries was nil. (beginning-of-last-bibtex-entry): New helper function to go to last entry in buffer. (bibtex-end-of-entry): Bug fix: Now works with string and preamble entries as well. (bibtex-sort-buffer): Renamed from bibtex-sort-entries. Simplified by using new function skip-to-valid-bibtex-entry. Now only known entries are checked. (bibtex-find-entry-location): Simplified by using new functions skip-to-valid-bibtex-entry and beginning-of-last-bibtex-entry. Only known entries are used to determine location. (bibtex-validate): Now checks string entries, too. (bibtex-move-outside-of-entry): Don't use forward-paragraph, but bibtex-end-of-entry. (bibtex-end-of-entry): Don't use forward-sexp anymore, since this fails on entries with non-escaped souble-quotes. Use search-bibtex-reference instead (though it is slower, it is more reliable). (bibtex-ispell-abstract): Use normal regexps created by bibtex-cfield instead of special ones. (beginning-of-first-bibtex-entry): No warning on empty buffer. (bibtex-validate): Bug fix. Syntactical check didn't work, since due to a bug all entries were simply skipped. (bibtex-mode): Doc fix. (bibtex-delete-optional-or-alternative-field): Renamed from bibtex-kill-optional-or-alternative-field. (bibtex-delete-optional-or-alternative-field, bibtex-empty-field): Use delete-region, not kill-region. (bibtex-clean-entry): New second argument called-by-reformat indicates if bibtex-clean-entry was called by reformat. Don't try to find correct buffer position for newly generated key and don't call bibtex-parse-keys in this case. (map-bibtex-entries): Bugfix (missed first entry in buffer, died on entries with `@' in other than first column). (beginning-of-first-bibtex-entry, bibtex-format-entry) (bibtex-beginning-of-entry, bibtex-validate, bibtex-clean-entry): Changed to allow BibTeX entries to start in a column different from 1 (but still for speed reasons only whitespace is allowed prior to the `@' on the same line. (map-bibtex-entries): Call it for known BibTeX entries only. This allows entries as @Comment{...} which follow no specific structure without breaking the validation functions. (bibtex-validate): Check syntactical structure for known entries only. (bibtex-autokey-abbrev): Sped up and changed to allow a length of zero. (bibtex-entry-format): Remove option `month-strings'. (bibtex-validate): If given a prefix argument, check for questionable month fields. (bibtex-generate-autokey): Use normal regexps created by bibtex-cfield instead of special ones. (bibtex-hide-entry-bodies): Sped up by using subst-char-in-region instead of using replace-regexp or replace-match. (bibtex-find-entry-location): A bug had been introduced by using search-bibtex-reference instead of re-search-forward (fixed). (bibtex-field-delimiters): Renamed from bibtex-field-delimiter. (bibtex-entry-format): Constant empty-opts renamed to empty-opts-or-alts. (bibtex-remove-delimiters): Renamed from bibtex-remove-double-quotes-or-braces. (bibtex-reformat): New function. (bibtex-fill-entry): New function to refill entry. (bibtex-mode-map): Defined key for bibtex-fill-entry. (bibtex-field-delimiter): Substitutes variables bibtex-field-left-delimiter and bibtex-field-right-delimiter. (bibtex-field-left-delimiter, bibtex-field-right-delimiter): New helper functions. (bibtex-make-field, bibtex-pop): Use new variable bibtex-field-delimiter. (bibtex-empty-field, bibtex-string): Use new functions bibtex-field-left-delimiter and bibtex-field-right-delimiter. (bibtex-predefined-month-strings): New variable. (bibtex-predefined-strings): Use bibtex-predefined-month-strings. (bibtex-submit-bug-report): Use new variables bibtex-field-delimiter and bibtex-predefined-month-strings. (bibtex-entry-format): Substitutes variable bibtex-clean-entry-zap-empty-opts-or-alts. Various types of formatting options are available (see variable documentation). (bibtex-format-entry): New function doing the formatting of entries. Taken from bibtex-clean-entry and enhanced to support new variable bibtex-entry-format. (delete-whitespace): New helper function used by bibtex-format-entry. (bibtex-clean-entry): Call new function bibtex-format-entry. (bibtex-submit-bug-report): Use bibtex-entry-format instead of bibtex-clean-entry-zap-empty-opts-or-alts. (bibtex-do-auto-fill): New function to perform auto-filling in BibTeX mode. In fact, this is the old function bibtex-auto-fill-function. (bibtex-mode): Don't set fill-prefix anymore, but use new function bibtex-do-auto-fill. (bibtex-find-entry-location): Fixed bug (when bibtex-maintain-sorted-entries was non-nil, an entry with a key greater than all other keys wasn't inserted in the correct place). (bibtex-mode): Don't use bibtex-auto-fill-function anymore, but use directly variable fill-prefix. (bibtex-find-entry-location): Fixed bug (on duplicate keys, point must move to beginning of entry, so that bibtex-entry works correctly). (bibtex-complete): Fixed bug (parameter string-list was mistakenly altered by the function itself). (bibtex-mode-map): Bind bibtex-complete-key to C-TAB. (bibtex-validate): Renamed from bibtex-validate-buffer since it can acts on region if active. Use search-bibtex-reference. (search-bibtex-reference): New function to be used in places where prior a re-search-{forward|backward} for bibtex-reference or something alike was used. This function is necessary due to the new limit of failure stack size in 19.32 and above. (bibtex-enclosing-reference-maybe-empty-head) (bibtex-sort-entries, bibtex-find-entry-location, bibtex-validate): Use new function search-bibtex-reference. (bibtex-pop, bibtex-clean-entry): Small change due to change in bibtex-enclosing-reference-maybe-empty-head. (bibtex-reference-infix, bibtex-reference-postfix): New constants necessary due to splitting bibtex-reference. (bibtex-reference): Deleted. (bibtex-type-in-reference, skip-whitespace-and-comments): Deleted. (bibtex-mode): Don't turn auto-fill-mode on. Use new variable normal-auto-fill-function. (bibtex-field-string): Simplified. (bibtex-mode-syntax-table): Changed syntax of double-quote back to quote syntax. (bibtex-complete): New generic function for interface functions bibtex-complete-string and bibtex-complete-key. (bibtex-complete-key): New function. (bibtex-sort-ignore-string-and-preamble): Renamed from bibtex-sort-ignore-string-entries. (map-bibtex-entries): Use bibtex-sort-ignore-string-and-preamble and ignore preamble entries as well. (bibtex-mode, bibtex-submit-bug-report, bibtex-sort-entries): Use bibtex-sort-ignore-string-and-preamble. (bibtex-count-entries): New function to count entries in buffer or region. (bibtex-comma-after-last-field): New variable to decide if comma should be inserted at end of last field. (bibtex-entry): Support new variable bibtex-comma-after-last-field. (bibtex-field-indentation, bibtex-text-indentation): Two new user options (replacing the former constants bibtex-field-alignment and bibtex-text-alignment). (bibtex-align-at-equal-sign): New user option. (bibtex-auto-fill-function, bibtex-make-field) (bibtex-remove-OPT-or-ALT, bibtex-clean-entry): Support new variables. (bibtex-validate-buffer): Now only checks region if mark is active. With optional argument checks if required fields are missing, too. (bibtex-mode): Added support for imenu. (bibtex-entry-field-alist) (bibtex-mode-user-optional-fields): Modified syntax to allow preinitialization of fields. (bibtex-make-field, bibtex-make-optional-field): Support preinitialization of fields. (bibtex-autokey-prefix-string) (bibtex-autokey-preserve-case): New variables to support bibtex-generate-autokey. (bibtex-generate-autokey): Use new variables. (bibtex-field-const, bibtex-reference-type) (bibtex-reference-key): Changed to match the (according to Oren Patashnik) allowed characters. (bibtex-clean-entry-zap-empty-opts-or-alts): Renamed from bibtex-clean-entry-zap-empty-opts. (bibtex-entry-field-alist): Slightly modified syntax to support alternative fields needed for Book and InBook references. (bibtex-font-lock-keywords, bibtex-print-help-message) (bibtex-make-field, bibtex-pop, bibtex-clean-entry): Support ALT prefixed entries. (bibtex-mode): Documented new ALT prefixed fields. (bibtex-make-optional-field): Modified to give only field name as arg to bibtex-make-field. (bibtex-remove-OPT-or-ALT, bibtex-kill-optional-or-alternative-field): Renamed from bibtex-remove-OPT and bibtex-kill-optional-field, respectively. Modified to support ALT prefixes. (bibtex-enclosing-field, bibtex-print-help-message): Speed up things by not using bibtex-enclosing-regexp anymore. (bibtex-enclosing-regexp): Function deleted.
author Richard M. Stallman <rms@gnu.org>
date Tue, 10 Jun 1997 17:58:43 +0000
parents 52f0da9d19ff
children 2af2dc0cd97f
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
617
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 604
diff changeset
1 # DIST: This is the distribution Makefile for Emacs. configure can
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 604
diff changeset
2 # DIST: make most of the changes to this file you might want, so try
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 604
diff changeset
3 # DIST: that first.
491
77c38d1bc8a8 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
4
617
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 604
diff changeset
5 # make all to compile and build Emacs.
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 604
diff changeset
6 # make install to install it.
1686
10650dfc82d0 * Makefile.in (install, install.sysv, install.xenix, install.aix):
Jim Blandy <jimb@redhat.com>
parents: 1647
diff changeset
7 # make TAGS to update tags tables.
10650dfc82d0 * Makefile.in (install, install.sysv, install.xenix, install.aix):
Jim Blandy <jimb@redhat.com>
parents: 1647
diff changeset
8 #
10650dfc82d0 * Makefile.in (install, install.sysv, install.xenix, install.aix):
Jim Blandy <jimb@redhat.com>
parents: 1647
diff changeset
9 # make clean or make mostlyclean
10650dfc82d0 * Makefile.in (install, install.sysv, install.xenix, install.aix):
Jim Blandy <jimb@redhat.com>
parents: 1647
diff changeset
10 # Delete all files from the current directory that are normally
1698
e0acfb7b804d * INSTALL: The build process produces an executable called `emacs'
Jim Blandy <jimb@redhat.com>
parents: 1686
diff changeset
11 # created by building the program. Don't delete the files that
1686
10650dfc82d0 * Makefile.in (install, install.sysv, install.xenix, install.aix):
Jim Blandy <jimb@redhat.com>
parents: 1647
diff changeset
12 # record the configuration. Also preserve files that could be made
10650dfc82d0 * Makefile.in (install, install.sysv, install.xenix, install.aix):
Jim Blandy <jimb@redhat.com>
parents: 1647
diff changeset
13 # by building, but normally aren't because the distribution comes
10650dfc82d0 * Makefile.in (install, install.sysv, install.xenix, install.aix):
Jim Blandy <jimb@redhat.com>
parents: 1647
diff changeset
14 # with them.
491
77c38d1bc8a8 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
15 #
1686
10650dfc82d0 * Makefile.in (install, install.sysv, install.xenix, install.aix):
Jim Blandy <jimb@redhat.com>
parents: 1647
diff changeset
16 # Delete `.dvi' files here if they are not part of the distribution.
10650dfc82d0 * Makefile.in (install, install.sysv, install.xenix, install.aix):
Jim Blandy <jimb@redhat.com>
parents: 1647
diff changeset
17 #
10650dfc82d0 * Makefile.in (install, install.sysv, install.xenix, install.aix):
Jim Blandy <jimb@redhat.com>
parents: 1647
diff changeset
18 # make distclean
10650dfc82d0 * Makefile.in (install, install.sysv, install.xenix, install.aix):
Jim Blandy <jimb@redhat.com>
parents: 1647
diff changeset
19 # Delete all files from the current directory that are created by
10650dfc82d0 * Makefile.in (install, install.sysv, install.xenix, install.aix):
Jim Blandy <jimb@redhat.com>
parents: 1647
diff changeset
20 # configuring or building the program. If you have unpacked the
10650dfc82d0 * Makefile.in (install, install.sysv, install.xenix, install.aix):
Jim Blandy <jimb@redhat.com>
parents: 1647
diff changeset
21 # source and built the program without creating any other files,
10650dfc82d0 * Makefile.in (install, install.sysv, install.xenix, install.aix):
Jim Blandy <jimb@redhat.com>
parents: 1647
diff changeset
22 # `make distclean' should leave only the files that were in the
10650dfc82d0 * Makefile.in (install, install.sysv, install.xenix, install.aix):
Jim Blandy <jimb@redhat.com>
parents: 1647
diff changeset
23 # distribution.
10650dfc82d0 * Makefile.in (install, install.sysv, install.xenix, install.aix):
Jim Blandy <jimb@redhat.com>
parents: 1647
diff changeset
24 #
10685
71fa5c477213 (maintainer-clean): Renamed from realclean.
Richard M. Stallman <rms@gnu.org>
parents: 10064
diff changeset
25 # make maintainer-clean
1686
10650dfc82d0 * Makefile.in (install, install.sysv, install.xenix, install.aix):
Jim Blandy <jimb@redhat.com>
parents: 1647
diff changeset
26 # Delete everything from the current directory that can be
10650dfc82d0 * Makefile.in (install, install.sysv, install.xenix, install.aix):
Jim Blandy <jimb@redhat.com>
parents: 1647
diff changeset
27 # reconstructed with this Makefile. This typically includes
10650dfc82d0 * Makefile.in (install, install.sysv, install.xenix, install.aix):
Jim Blandy <jimb@redhat.com>
parents: 1647
diff changeset
28 # everything deleted by distclean, plus more: C source files
10650dfc82d0 * Makefile.in (install, install.sysv, install.xenix, install.aix):
Jim Blandy <jimb@redhat.com>
parents: 1647
diff changeset
29 # produced by Bison, tags tables, info files, and so on.
10650dfc82d0 * Makefile.in (install, install.sysv, install.xenix, install.aix):
Jim Blandy <jimb@redhat.com>
parents: 1647
diff changeset
30 #
10650dfc82d0 * Makefile.in (install, install.sysv, install.xenix, install.aix):
Jim Blandy <jimb@redhat.com>
parents: 1647
diff changeset
31 # make extraclean
10650dfc82d0 * Makefile.in (install, install.sysv, install.xenix, install.aix):
Jim Blandy <jimb@redhat.com>
parents: 1647
diff changeset
32 # Still more severe - delete backup and autosave files, too.
491
77c38d1bc8a8 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
33
77c38d1bc8a8 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
34 SHELL = /bin/sh
6868
f2edac55dc7a (MAKE): Don't just assign it--use @SET_MAKE@.
Richard M. Stallman <rms@gnu.org>
parents: 6514
diff changeset
35
f2edac55dc7a (MAKE): Don't just assign it--use @SET_MAKE@.
Richard M. Stallman <rms@gnu.org>
parents: 6514
diff changeset
36 # If Make doesn't predefine MAKE, set it here.
f2edac55dc7a (MAKE): Don't just assign it--use @SET_MAKE@.
Richard M. Stallman <rms@gnu.org>
parents: 6514
diff changeset
37 @SET_MAKE@
491
77c38d1bc8a8 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
38
1686
10650dfc82d0 * Makefile.in (install, install.sysv, install.xenix, install.aix):
Jim Blandy <jimb@redhat.com>
parents: 1647
diff changeset
39 # ==================== Things `configure' Might Edit ====================
10650dfc82d0 * Makefile.in (install, install.sysv, install.xenix, install.aix):
Jim Blandy <jimb@redhat.com>
parents: 1647
diff changeset
40
2498
0126ca788e99 * Makefile.in (clean mostlyclean): Missing right paren.
Jim Blandy <jimb@redhat.com>
parents: 2430
diff changeset
41 CC=@CC@
3780
20b847f36ade * Makefile.in (CPP): New variable.
Jim Blandy <jimb@redhat.com>
parents: 3749
diff changeset
42 CPP=@CPP@
2498
0126ca788e99 * Makefile.in (clean mostlyclean): Missing right paren.
Jim Blandy <jimb@redhat.com>
parents: 2430
diff changeset
43 C_SWITCH_SYSTEM=@c_switch_system@
2623
b951532eca82 * configure.in: Use the AC_ALLOCA test.
Jim Blandy <jimb@redhat.com>
parents: 2498
diff changeset
44 ALLOCA=@ALLOCA@
2710
c64e97b1685b * Makefile.in (DEFS): Deleted; since we're using AC_CONFIG_HEADER,
Jim Blandy <jimb@redhat.com>
parents: 2623
diff changeset
45 LN_S=@LN_S@
c64e97b1685b * Makefile.in (DEFS): Deleted; since we're using AC_CONFIG_HEADER,
Jim Blandy <jimb@redhat.com>
parents: 2623
diff changeset
46 CFLAGS=@CFLAGS@
2988
9403c9149e79 * Makefile.in (C_SWITCH_X_SITE): New variable - get this from
Jim Blandy <jimb@redhat.com>
parents: 2974
diff changeset
47 C_SWITCH_X_SITE=@C_SWITCH_X_SITE@
3344
deeb7a37ea11 Pass in LD_SWITCH_X_SITE.
Jim Blandy <jimb@redhat.com>
parents: 3310
diff changeset
48 LD_SWITCH_X_SITE=@LD_SWITCH_X_SITE@
3582
eb75df1104eb * configure.in: Test for bison.
Jim Blandy <jimb@redhat.com>
parents: 3426
diff changeset
49 YACC=@YACC@
1686
10650dfc82d0 * Makefile.in (install, install.sysv, install.xenix, install.aix):
Jim Blandy <jimb@redhat.com>
parents: 1647
diff changeset
50
10650dfc82d0 * Makefile.in (install, install.sysv, install.xenix, install.aix):
Jim Blandy <jimb@redhat.com>
parents: 1647
diff changeset
51 ### These help us choose version- and architecture-specific directories
10650dfc82d0 * Makefile.in (install, install.sysv, install.xenix, install.aix):
Jim Blandy <jimb@redhat.com>
parents: 1647
diff changeset
52 ### to install files in.
10650dfc82d0 * Makefile.in (install, install.sysv, install.xenix, install.aix):
Jim Blandy <jimb@redhat.com>
parents: 1647
diff changeset
53
10650dfc82d0 * Makefile.in (install, install.sysv, install.xenix, install.aix):
Jim Blandy <jimb@redhat.com>
parents: 1647
diff changeset
54 ### This should be the number of the Emacs version we're building,
10650dfc82d0 * Makefile.in (install, install.sysv, install.xenix, install.aix):
Jim Blandy <jimb@redhat.com>
parents: 1647
diff changeset
55 ### like `18.59' or `19.0'.
2498
0126ca788e99 * Makefile.in (clean mostlyclean): Missing right paren.
Jim Blandy <jimb@redhat.com>
parents: 2430
diff changeset
56 version=@version@
1686
10650dfc82d0 * Makefile.in (install, install.sysv, install.xenix, install.aix):
Jim Blandy <jimb@redhat.com>
parents: 1647
diff changeset
57
10650dfc82d0 * Makefile.in (install, install.sysv, install.xenix, install.aix):
Jim Blandy <jimb@redhat.com>
parents: 1647
diff changeset
58 ### This should be the name of the configuration we're building Emacs
10650dfc82d0 * Makefile.in (install, install.sysv, install.xenix, install.aix):
Jim Blandy <jimb@redhat.com>
parents: 1647
diff changeset
59 ### for, like `mips-dec-ultrix' or `sparc-sun-sunos'.
2498
0126ca788e99 * Makefile.in (clean mostlyclean): Missing right paren.
Jim Blandy <jimb@redhat.com>
parents: 2430
diff changeset
60 configuration=@configuration@
0126ca788e99 * Makefile.in (clean mostlyclean): Missing right paren.
Jim Blandy <jimb@redhat.com>
parents: 2430
diff changeset
61
617
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 604
diff changeset
62 # ==================== Where To Install Things ====================
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 604
diff changeset
63
1686
10650dfc82d0 * Makefile.in (install, install.sysv, install.xenix, install.aix):
Jim Blandy <jimb@redhat.com>
parents: 1647
diff changeset
64 # The default location for installation. Everything is placed in
10650dfc82d0 * Makefile.in (install, install.sysv, install.xenix, install.aix):
Jim Blandy <jimb@redhat.com>
parents: 1647
diff changeset
65 # subdirectories of this directory. The default values for many of
10650dfc82d0 * Makefile.in (install, install.sysv, install.xenix, install.aix):
Jim Blandy <jimb@redhat.com>
parents: 1647
diff changeset
66 # the variables below are expressed in terms of this one, so you may
2974
253a291a62ca * configure.in: Implement the --prefix option.
Jim Blandy <jimb@redhat.com>
parents: 2859
diff changeset
67 # not need to change them. This defaults to /usr/local.
253a291a62ca * configure.in: Implement the --prefix option.
Jim Blandy <jimb@redhat.com>
parents: 2859
diff changeset
68 prefix=@prefix@
1647
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1111
diff changeset
69
1686
10650dfc82d0 * Makefile.in (install, install.sysv, install.xenix, install.aix):
Jim Blandy <jimb@redhat.com>
parents: 1647
diff changeset
70 # Like `prefix', but used for architecture-specific files.
3010
4ca5a6bd174b * configure.in: Add support for the `--exec-prefix' option.
Jim Blandy <jimb@redhat.com>
parents: 2988
diff changeset
71 exec_prefix=@exec_prefix@
617
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 604
diff changeset
72
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 604
diff changeset
73 # Where to install Emacs and other binaries that people will want to
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 604
diff changeset
74 # run directly (like etags).
4793
0a1aaeea3623 (src/Makefile, lib-src/Makefile, oldXMenu/Makefile): If these files
Brian Fox <bfox@gnu.org>
parents: 4748
diff changeset
75 bindir=@bindir@
491
77c38d1bc8a8 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
76
1698
e0acfb7b804d * INSTALL: The build process produces an executable called `emacs'
Jim Blandy <jimb@redhat.com>
parents: 1686
diff changeset
77 # Where to install architecture-independent data files. ${lispdir}
1686
10650dfc82d0 * Makefile.in (install, install.sysv, install.xenix, install.aix):
Jim Blandy <jimb@redhat.com>
parents: 1647
diff changeset
78 # and ${etcdir} are subdirectories of this.
4793
0a1aaeea3623 (src/Makefile, lib-src/Makefile, oldXMenu/Makefile): If these files
Brian Fox <bfox@gnu.org>
parents: 4748
diff changeset
79 datadir=@datadir@
1647
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1111
diff changeset
80
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1111
diff changeset
81 # Where to install and expect the files that Emacs modifies as it
1698
e0acfb7b804d * INSTALL: The build process produces an executable called `emacs'
Jim Blandy <jimb@redhat.com>
parents: 1686
diff changeset
82 # runs. These files are all architecture-independent. Right now, the
1686
10650dfc82d0 * Makefile.in (install, install.sysv, install.xenix, install.aix):
Jim Blandy <jimb@redhat.com>
parents: 1647
diff changeset
83 # only such data is the locking directory; ${lockdir} is a
10650dfc82d0 * Makefile.in (install, install.sysv, install.xenix, install.aix):
Jim Blandy <jimb@redhat.com>
parents: 1647
diff changeset
84 # subdirectory of this.
9561
4ec345bfb51f (sharedstatedir): Substitute sharedstatedir properly.
Richard M. Stallman <rms@gnu.org>
parents: 9556
diff changeset
85 sharedstatedir=@sharedstatedir@
1647
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1111
diff changeset
86
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1111
diff changeset
87 # Where to install and expect executable files to be run by Emacs
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1111
diff changeset
88 # rather than directly by users, and other architecture-dependent
1698
e0acfb7b804d * INSTALL: The build process produces an executable called `emacs'
Jim Blandy <jimb@redhat.com>
parents: 1686
diff changeset
89 # data. ${archlibdir} is a subdirectory of this.
9457
a9a8a2326411 Use libexecdir and sharedstatedir as appropriate.
Richard M. Stallman <rms@gnu.org>
parents: 9051
diff changeset
90 libexecdir=@libexecdir@
1647
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1111
diff changeset
91
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1111
diff changeset
92 # Where to install Emacs's man pages, and what extension they should have.
4793
0a1aaeea3623 (src/Makefile, lib-src/Makefile, oldXMenu/Makefile): If these files
Brian Fox <bfox@gnu.org>
parents: 4748
diff changeset
93 mandir=@mandir@
1647
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1111
diff changeset
94 manext=.1
13518
9e55dae21315 (mkdir): Create man1dir, not mandir.
Richard M. Stallman <rms@gnu.org>
parents: 13280
diff changeset
95 man1dir=$(mandir)/man1
617
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 604
diff changeset
96
1647
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1111
diff changeset
97 # Where to install and expect the info files describing Emacs. In the
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1111
diff changeset
98 # past, this defaulted to a subdirectory of ${prefix}/lib/emacs, but
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1111
diff changeset
99 # since there are now many packages documented with the texinfo
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1111
diff changeset
100 # system, it is inappropriate to imply that it is part of Emacs.
4793
0a1aaeea3623 (src/Makefile, lib-src/Makefile, oldXMenu/Makefile): If these files
Brian Fox <bfox@gnu.org>
parents: 4748
diff changeset
101 infodir=@infodir@
491
77c38d1bc8a8 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
102
9556
28320cad8c38 (bitmapdir): New variable.
Richard M. Stallman <rms@gnu.org>
parents: 9506
diff changeset
103 # Where to look for bitmap files.
28320cad8c38 (bitmapdir): New variable.
Richard M. Stallman <rms@gnu.org>
parents: 9506
diff changeset
104 bitmapdir=@bitmapdir@
28320cad8c38 (bitmapdir): New variable.
Richard M. Stallman <rms@gnu.org>
parents: 9506
diff changeset
105
3079
7c17d7f9d242 * Makefile.in (srcdir): Remove comment saying this doesn't work.
Jim Blandy <jimb@redhat.com>
parents: 3060
diff changeset
106 # Where to find the source code. The source code for Emacs's C kernel is
1686
10650dfc82d0 * Makefile.in (install, install.sysv, install.xenix, install.aix):
Jim Blandy <jimb@redhat.com>
parents: 1647
diff changeset
107 # expected to be in ${srcdir}/src, and the source code for Emacs's
10650dfc82d0 * Makefile.in (install, install.sysv, install.xenix, install.aix):
Jim Blandy <jimb@redhat.com>
parents: 1647
diff changeset
108 # utility programs is expected to be in ${srcdir}/lib-src. This is
10650dfc82d0 * Makefile.in (install, install.sysv, install.xenix, install.aix):
Jim Blandy <jimb@redhat.com>
parents: 1647
diff changeset
109 # set by the configure script's `--srcdir' option.
2623
b951532eca82 * configure.in: Use the AC_ALLOCA test.
Jim Blandy <jimb@redhat.com>
parents: 2498
diff changeset
110 srcdir=@srcdir@
1647
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1111
diff changeset
111
4809
499783e8afb2 (VPATH): Define to @srcdir@.
Roland McGrath <roland@gnu.org>
parents: 4793
diff changeset
112 # Tell make where to find source files; this is needed for the makefiles.
499783e8afb2 (VPATH): Define to @srcdir@.
Roland McGrath <roland@gnu.org>
parents: 4793
diff changeset
113 VPATH=@srcdir@
499783e8afb2 (VPATH): Define to @srcdir@.
Roland McGrath <roland@gnu.org>
parents: 4793
diff changeset
114
1647
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1111
diff changeset
115 # ==================== Emacs-specific directories ====================
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1111
diff changeset
116
1686
10650dfc82d0 * Makefile.in (install, install.sysv, install.xenix, install.aix):
Jim Blandy <jimb@redhat.com>
parents: 1647
diff changeset
117 # These variables hold the values Emacs will actually use. They are
10650dfc82d0 * Makefile.in (install, install.sysv, install.xenix, install.aix):
Jim Blandy <jimb@redhat.com>
parents: 1647
diff changeset
118 # based on the values of the standard Make variables above.
10650dfc82d0 * Makefile.in (install, install.sysv, install.xenix, install.aix):
Jim Blandy <jimb@redhat.com>
parents: 1647
diff changeset
119
4793
0a1aaeea3623 (src/Makefile, lib-src/Makefile, oldXMenu/Makefile): If these files
Brian Fox <bfox@gnu.org>
parents: 4748
diff changeset
120 # Where to install the lisp files distributed with
0a1aaeea3623 (src/Makefile, lib-src/Makefile, oldXMenu/Makefile): If these files
Brian Fox <bfox@gnu.org>
parents: 4748
diff changeset
121 # Emacs. This includes the Emacs version, so that the
0a1aaeea3623 (src/Makefile, lib-src/Makefile, oldXMenu/Makefile): If these files
Brian Fox <bfox@gnu.org>
parents: 4748
diff changeset
122 # lisp files for different versions of Emacs will install
0a1aaeea3623 (src/Makefile, lib-src/Makefile, oldXMenu/Makefile): If these files
Brian Fox <bfox@gnu.org>
parents: 4748
diff changeset
123 # themselves in separate directories.
0a1aaeea3623 (src/Makefile, lib-src/Makefile, oldXMenu/Makefile): If these files
Brian Fox <bfox@gnu.org>
parents: 4748
diff changeset
124 lispdir=@lispdir@
617
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 604
diff changeset
125
4793
0a1aaeea3623 (src/Makefile, lib-src/Makefile, oldXMenu/Makefile): If these files
Brian Fox <bfox@gnu.org>
parents: 4748
diff changeset
126 # Directories Emacs should search for lisp files specific
0a1aaeea3623 (src/Makefile, lib-src/Makefile, oldXMenu/Makefile): If these files
Brian Fox <bfox@gnu.org>
parents: 4748
diff changeset
127 # to this site (i.e. customizations), before consulting
0a1aaeea3623 (src/Makefile, lib-src/Makefile, oldXMenu/Makefile): If these files
Brian Fox <bfox@gnu.org>
parents: 4748
diff changeset
128 # ${lispdir}. This should be a colon-separated list of
0a1aaeea3623 (src/Makefile, lib-src/Makefile, oldXMenu/Makefile): If these files
Brian Fox <bfox@gnu.org>
parents: 4748
diff changeset
129 # directories.
0a1aaeea3623 (src/Makefile, lib-src/Makefile, oldXMenu/Makefile): If these files
Brian Fox <bfox@gnu.org>
parents: 4748
diff changeset
130 locallisppath=@locallisppath@
491
77c38d1bc8a8 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
131
2623
b951532eca82 * configure.in: Use the AC_ALLOCA test.
Jim Blandy <jimb@redhat.com>
parents: 2498
diff changeset
132 # Where Emacs will search to find its lisp files. Before
b951532eca82 * configure.in: Use the AC_ALLOCA test.
Jim Blandy <jimb@redhat.com>
parents: 2498
diff changeset
133 # changing this, check to see if your purpose wouldn't
b951532eca82 * configure.in: Use the AC_ALLOCA test.
Jim Blandy <jimb@redhat.com>
parents: 2498
diff changeset
134 # better be served by changing locallisppath. This
b951532eca82 * configure.in: Use the AC_ALLOCA test.
Jim Blandy <jimb@redhat.com>
parents: 2498
diff changeset
135 # should be a colon-separated list of directories.
4793
0a1aaeea3623 (src/Makefile, lib-src/Makefile, oldXMenu/Makefile): If these files
Brian Fox <bfox@gnu.org>
parents: 4748
diff changeset
136 lisppath=@lisppath@
491
77c38d1bc8a8 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
137
2623
b951532eca82 * configure.in: Use the AC_ALLOCA test.
Jim Blandy <jimb@redhat.com>
parents: 2498
diff changeset
138 # Where Emacs will search for its lisp files while
b951532eca82 * configure.in: Use the AC_ALLOCA test.
Jim Blandy <jimb@redhat.com>
parents: 2498
diff changeset
139 # building. This is only used during the process of
b951532eca82 * configure.in: Use the AC_ALLOCA test.
Jim Blandy <jimb@redhat.com>
parents: 2498
diff changeset
140 # compiling Emacs, to help Emacs find its lisp files
b951532eca82 * configure.in: Use the AC_ALLOCA test.
Jim Blandy <jimb@redhat.com>
parents: 2498
diff changeset
141 # before they've been installed in their final location.
8499
ad8ab5d3841d Comment change.
Richard M. Stallman <rms@gnu.org>
parents: 8173
diff changeset
142 # It's usually identical to lisppath, except that
ad8ab5d3841d Comment change.
Richard M. Stallman <rms@gnu.org>
parents: 8173
diff changeset
143 # it does not include locallisppath, and the
2623
b951532eca82 * configure.in: Use the AC_ALLOCA test.
Jim Blandy <jimb@redhat.com>
parents: 2498
diff changeset
144 # entry for the directory containing the installed lisp
b951532eca82 * configure.in: Use the AC_ALLOCA test.
Jim Blandy <jimb@redhat.com>
parents: 2498
diff changeset
145 # files has been replaced with ../lisp. This should be a
b951532eca82 * configure.in: Use the AC_ALLOCA test.
Jim Blandy <jimb@redhat.com>
parents: 2498
diff changeset
146 # colon-separated list of directories.
2817
d28c54ba888e More changes from David J. Mackenzie.
Jim Blandy <jimb@redhat.com>
parents: 2812
diff changeset
147 buildlisppath=${srcdir}/lisp
491
77c38d1bc8a8 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
148
4793
0a1aaeea3623 (src/Makefile, lib-src/Makefile, oldXMenu/Makefile): If these files
Brian Fox <bfox@gnu.org>
parents: 4748
diff changeset
149 # Where to install the other architecture-independent
0a1aaeea3623 (src/Makefile, lib-src/Makefile, oldXMenu/Makefile): If these files
Brian Fox <bfox@gnu.org>
parents: 4748
diff changeset
150 # data files distributed with Emacs (like the tutorial,
0a1aaeea3623 (src/Makefile, lib-src/Makefile, oldXMenu/Makefile): If these files
Brian Fox <bfox@gnu.org>
parents: 4748
diff changeset
151 # the cookie recipes and the Zippy database). This path
0a1aaeea3623 (src/Makefile, lib-src/Makefile, oldXMenu/Makefile): If these files
Brian Fox <bfox@gnu.org>
parents: 4748
diff changeset
152 # usually contains the Emacs version number, so the data
0a1aaeea3623 (src/Makefile, lib-src/Makefile, oldXMenu/Makefile): If these files
Brian Fox <bfox@gnu.org>
parents: 4748
diff changeset
153 # files for multiple versions of Emacs may be installed
0a1aaeea3623 (src/Makefile, lib-src/Makefile, oldXMenu/Makefile): If these files
Brian Fox <bfox@gnu.org>
parents: 4748
diff changeset
154 # at once.
0a1aaeea3623 (src/Makefile, lib-src/Makefile, oldXMenu/Makefile): If these files
Brian Fox <bfox@gnu.org>
parents: 4748
diff changeset
155 etcdir=@etcdir@
491
77c38d1bc8a8 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
156
4793
0a1aaeea3623 (src/Makefile, lib-src/Makefile, oldXMenu/Makefile): If these files
Brian Fox <bfox@gnu.org>
parents: 4748
diff changeset
157 # Where to create and expect the locking directory, where
0a1aaeea3623 (src/Makefile, lib-src/Makefile, oldXMenu/Makefile): If these files
Brian Fox <bfox@gnu.org>
parents: 4748
diff changeset
158 # the Emacs locking code keeps track of which files are
0a1aaeea3623 (src/Makefile, lib-src/Makefile, oldXMenu/Makefile): If these files
Brian Fox <bfox@gnu.org>
parents: 4748
diff changeset
159 # currently being edited.
0a1aaeea3623 (src/Makefile, lib-src/Makefile, oldXMenu/Makefile): If these files
Brian Fox <bfox@gnu.org>
parents: 4748
diff changeset
160 lockdir=@lockdir@
2225
19e1e3cb7415 Added `Developer's configuration' section.
Eric S. Raymond <esr@snark.thyrsus.com>
parents: 2099
diff changeset
161
4793
0a1aaeea3623 (src/Makefile, lib-src/Makefile, oldXMenu/Makefile): If these files
Brian Fox <bfox@gnu.org>
parents: 4748
diff changeset
162 # Where to put executables to be run by Emacs rather than
0a1aaeea3623 (src/Makefile, lib-src/Makefile, oldXMenu/Makefile): If these files
Brian Fox <bfox@gnu.org>
parents: 4748
diff changeset
163 # the user. This path usually includes the Emacs version
0a1aaeea3623 (src/Makefile, lib-src/Makefile, oldXMenu/Makefile): If these files
Brian Fox <bfox@gnu.org>
parents: 4748
diff changeset
164 # and configuration name, so that multiple configurations
0a1aaeea3623 (src/Makefile, lib-src/Makefile, oldXMenu/Makefile): If these files
Brian Fox <bfox@gnu.org>
parents: 4748
diff changeset
165 # for multiple versions of Emacs may be installed at
0a1aaeea3623 (src/Makefile, lib-src/Makefile, oldXMenu/Makefile): If these files
Brian Fox <bfox@gnu.org>
parents: 4748
diff changeset
166 # once.
0a1aaeea3623 (src/Makefile, lib-src/Makefile, oldXMenu/Makefile): If these files
Brian Fox <bfox@gnu.org>
parents: 4748
diff changeset
167 archlibdir=@archlibdir@
2225
19e1e3cb7415 Added `Developer's configuration' section.
Eric S. Raymond <esr@snark.thyrsus.com>
parents: 2099
diff changeset
168
6033
f4dead15502f Use docdir to initialize PATH_DOC in paths.h.
Karl Heuer <kwzh@gnu.org>
parents: 6013
diff changeset
169 # Where to put the docstring file.
f4dead15502f Use docdir to initialize PATH_DOC in paths.h.
Karl Heuer <kwzh@gnu.org>
parents: 6013
diff changeset
170 docdir=@docdir@
f4dead15502f Use docdir to initialize PATH_DOC in paths.h.
Karl Heuer <kwzh@gnu.org>
parents: 6013
diff changeset
171
617
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 604
diff changeset
172 # ==================== Utility Programs for the Build ====================
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 604
diff changeset
173
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 604
diff changeset
174 # Allow the user to specify the install program.
3090
7b418622d32b (INSTALL): Add definition.
Richard M. Stallman <rms@gnu.org>
parents: 3079
diff changeset
175 INSTALL = @INSTALL@
3010
4ca5a6bd174b * configure.in: Add support for the `--exec-prefix' option.
Jim Blandy <jimb@redhat.com>
parents: 2988
diff changeset
176 INSTALL_PROGRAM = @INSTALL_PROGRAM@
4ca5a6bd174b * configure.in: Add support for the `--exec-prefix' option.
Jim Blandy <jimb@redhat.com>
parents: 2988
diff changeset
177 INSTALL_DATA = @INSTALL_DATA@
15975
9d392663cd09 (INSTALL_STRIP): New variable.
Richard M. Stallman <rms@gnu.org>
parents: 15898
diff changeset
178 # By default, we uphold the dignity of our programs.
9d392663cd09 (INSTALL_STRIP): New variable.
Richard M. Stallman <rms@gnu.org>
parents: 15898
diff changeset
179 INSTALL_STRIP =
617
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 604
diff changeset
180
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 604
diff changeset
181 # ============================= Targets ==============================
491
77c38d1bc8a8 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
182
7032
2c8a6d503e76 (.PHONY, install): Kill reference to obsolete do-install.
Karl Heuer <kwzh@gnu.org>
parents: 6970
diff changeset
183 # What emacs should be called when installed.
2c8a6d503e76 (.PHONY, install): Kill reference to obsolete do-install.
Karl Heuer <kwzh@gnu.org>
parents: 6970
diff changeset
184 EMACS = emacs
2c8a6d503e76 (.PHONY, install): Kill reference to obsolete do-install.
Karl Heuer <kwzh@gnu.org>
parents: 6970
diff changeset
185
491
77c38d1bc8a8 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
186 # Subdirectories to make recursively. `lisp' is not included
77c38d1bc8a8 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
187 # because the compiled lisp files are part of the distribution
77c38d1bc8a8 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
188 # and you cannot remake them without installing Emacs first.
617
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 604
diff changeset
189 SUBDIR = lib-src src
491
77c38d1bc8a8 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
190
1686
10650dfc82d0 * Makefile.in (install, install.sysv, install.xenix, install.aix):
Jim Blandy <jimb@redhat.com>
parents: 1647
diff changeset
191 # The makefiles of the directories in $SUBDIR.
12375
832d77b36f9d (mkdir): Use symbolic chmod.
Richard M. Stallman <rms@gnu.org>
parents: 12097
diff changeset
192 SUBDIR_MAKEFILES = lib-src/Makefile man/Makefile src/Makefile oldXMenu/Makefile lwlib/Makefile
1686
10650dfc82d0 * Makefile.in (install, install.sysv, install.xenix, install.aix):
Jim Blandy <jimb@redhat.com>
parents: 1647
diff changeset
193
1860
f7565191703b * Makefile.in (COPYDIR, COPYDESTS): Remove ${srcdir}/info and
Jim Blandy <jimb@redhat.com>
parents: 1821
diff changeset
194 # Subdirectories to install, and where they'll go.
f7565191703b * Makefile.in (COPYDIR, COPYDESTS): Remove ${srcdir}/info and
Jim Blandy <jimb@redhat.com>
parents: 1821
diff changeset
195 # lib-src's makefile knows how to install it, so we don't do that here.
f7565191703b * Makefile.in (COPYDIR, COPYDESTS): Remove ${srcdir}/info and
Jim Blandy <jimb@redhat.com>
parents: 1821
diff changeset
196 # When installing the info files, we need to do special things to
f7565191703b * Makefile.in (COPYDIR, COPYDESTS): Remove ${srcdir}/info and
Jim Blandy <jimb@redhat.com>
parents: 1821
diff changeset
197 # avoid nuking an existing dir file, so we don't do that here;
f7565191703b * Makefile.in (COPYDIR, COPYDESTS): Remove ${srcdir}/info and
Jim Blandy <jimb@redhat.com>
parents: 1821
diff changeset
198 # instead, we have written out explicit code in the `install' targets.
3180
e54c45bae557 (COPYDESTS, COPYDIR): Delete external-lisp dir.
Richard M. Stallman <rms@gnu.org>
parents: 3179
diff changeset
199 COPYDIR = ${srcdir}/etc ${srcdir}/lisp
e54c45bae557 (COPYDESTS, COPYDIR): Delete external-lisp dir.
Richard M. Stallman <rms@gnu.org>
parents: 3179
diff changeset
200 COPYDESTS = ${etcdir} ${lispdir}
491
77c38d1bc8a8 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
201
15897
d9496ad1f3a6 (src/paths.h): Target deleted.
Richard M. Stallman <rms@gnu.org>
parents: 15869
diff changeset
202 all: ${SUBDIR}
491
77c38d1bc8a8 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
203
8163
d836abb05e48 (mkdir, removenullpaths): Put g in sed replace commands.
Richard M. Stallman <rms@gnu.org>
parents: 7704
diff changeset
204 removenullpaths=sed -e 's/^://g' -e 's/:$$//g' -e 's/::/:/g'
617
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 604
diff changeset
205
15897
d9496ad1f3a6 (src/paths.h): Target deleted.
Richard M. Stallman <rms@gnu.org>
parents: 15869
diff changeset
206 # Generate paths.h from paths.in. This target is invoked by `configure'.
d9496ad1f3a6 (src/paths.h): Target deleted.
Richard M. Stallman <rms@gnu.org>
parents: 15869
diff changeset
207 paths-force: FRC
2430
094bec4c13e9 lisp/ * Makefile.in (src/paths.h): Don't echo the huge sed command we
Jim Blandy <jimb@redhat.com>
parents: 2361
diff changeset
208 @(lisppath=`echo ${lisppath} | ${removenullpaths}` ; \
094bec4c13e9 lisp/ * Makefile.in (src/paths.h): Don't echo the huge sed command we
Jim Blandy <jimb@redhat.com>
parents: 2361
diff changeset
209 buildlisppath=`echo ${buildlisppath} | ${removenullpaths}` ; \
13031
e8551f167c9e (src/paths.h, paths-force): Use paths.h.$$ instead
Karl Heuer <kwzh@gnu.org>
parents: 13002
diff changeset
210 sed < ${srcdir}/src/paths.in > paths.h.$$$$ \
2430
094bec4c13e9 lisp/ * Makefile.in (src/paths.h): Don't echo the huge sed command we
Jim Blandy <jimb@redhat.com>
parents: 2361
diff changeset
211 -e 's;\(#.*PATH_LOADSEARCH\).*$$;\1 "'$${lisppath}'";' \
094bec4c13e9 lisp/ * Makefile.in (src/paths.h): Don't echo the huge sed command we
Jim Blandy <jimb@redhat.com>
parents: 2361
diff changeset
212 -e 's;\(#.*PATH_DUMPLOADSEARCH\).*$$;\1 "'$${buildlisppath}'";' \
094bec4c13e9 lisp/ * Makefile.in (src/paths.h): Don't echo the huge sed command we
Jim Blandy <jimb@redhat.com>
parents: 2361
diff changeset
213 -e 's;\(#.*PATH_EXEC\).*$$;\1 "${archlibdir}";' \
3060
6bb1c8f853cb * Makefile.in (src/paths.h): Edit the `infodir' variable into this
Jim Blandy <jimb@redhat.com>
parents: 3021
diff changeset
214 -e 's;\(#.*PATH_INFO\).*$$;\1 "${infodir}";' \
2430
094bec4c13e9 lisp/ * Makefile.in (src/paths.h): Don't echo the huge sed command we
Jim Blandy <jimb@redhat.com>
parents: 2361
diff changeset
215 -e 's;\(#.*PATH_DATA\).*$$;\1 "${etcdir}";' \
9556
28320cad8c38 (bitmapdir): New variable.
Richard M. Stallman <rms@gnu.org>
parents: 9506
diff changeset
216 -e 's;\(#.*PATH_BITMAPS\).*$$;\1 "${bitmapdir}";' \
6033
f4dead15502f Use docdir to initialize PATH_DOC in paths.h.
Karl Heuer <kwzh@gnu.org>
parents: 6013
diff changeset
217 -e 's;\(#.*PATH_DOC\).*$$;\1 "${docdir}";' \
8770
b58e8634df8b (removenullpaths, paths-force):
Richard M. Stallman <rms@gnu.org>
parents: 8754
diff changeset
218 -e 's;\(#.*PATH_LOCK\).*$$;\1 "${lockdir}/";') && \
13031
e8551f167c9e (src/paths.h, paths-force): Use paths.h.$$ instead
Karl Heuer <kwzh@gnu.org>
parents: 13002
diff changeset
219 ${srcdir}/move-if-change paths.h.$$$$ src/paths.h
491
77c38d1bc8a8 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
220
15897
d9496ad1f3a6 (src/paths.h): Target deleted.
Richard M. Stallman <rms@gnu.org>
parents: 15869
diff changeset
221 src: lib-src FRC
7704
022727dbe5f3 (install-arch-indep): Use /bin/pwd uniformly, not pwd.
Richard M. Stallman <rms@gnu.org>
parents: 7603
diff changeset
222
15897
d9496ad1f3a6 (src/paths.h): Target deleted.
Richard M. Stallman <rms@gnu.org>
parents: 15869
diff changeset
223 lib-src: FRC
491
77c38d1bc8a8 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
224
77c38d1bc8a8 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
225 .RECURSIVE: ${SUBDIR}
77c38d1bc8a8 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
226
1686
10650dfc82d0 * Makefile.in (install, install.sysv, install.xenix, install.aix):
Jim Blandy <jimb@redhat.com>
parents: 1647
diff changeset
227 ${SUBDIR}: ${SUBDIR_MAKEFILES} FRC
4793
0a1aaeea3623 (src/Makefile, lib-src/Makefile, oldXMenu/Makefile): If these files
Brian Fox <bfox@gnu.org>
parents: 4748
diff changeset
228 cd $@; $(MAKE) all $(MFLAGS) \
5413
8c0dd3e81e28 (${SUBDIR} target): Pass down LDFLAGS and CPPFLAGS.
Richard M. Stallman <rms@gnu.org>
parents: 5321
diff changeset
229 CC='${CC}' CFLAGS='${CFLAGS}' CPPFLAGS='${CPPFLAGS}' \
8c0dd3e81e28 (${SUBDIR} target): Pass down LDFLAGS and CPPFLAGS.
Richard M. Stallman <rms@gnu.org>
parents: 5321
diff changeset
230 LDFLAGS='${LDFLAGS}' MAKE='${MAKE}'
1686
10650dfc82d0 * Makefile.in (install, install.sysv, install.xenix, install.aix):
Jim Blandy <jimb@redhat.com>
parents: 1647
diff changeset
231
7704
022727dbe5f3 (install-arch-indep): Use /bin/pwd uniformly, not pwd.
Richard M. Stallman <rms@gnu.org>
parents: 7603
diff changeset
232 blessmail: ${SUBDIR_MAKEFILES} src FRC
10969
c66a0a2a7bb3 (blessmail): Pass archlibdir to the sub-make.
Richard M. Stallman <rms@gnu.org>
parents: 10685
diff changeset
233 cd lib-src; $(MAKE) maybe-blessmail $(MFLAGS) \
c66a0a2a7bb3 (blessmail): Pass archlibdir to the sub-make.
Richard M. Stallman <rms@gnu.org>
parents: 10685
diff changeset
234 MAKE='${MAKE}' archlibdir='$(archlibdir)'
7311
b4ef2060b171 (lib-src): Undo previous change.
Richard M. Stallman <rms@gnu.org>
parents: 7293
diff changeset
235
4793
0a1aaeea3623 (src/Makefile, lib-src/Makefile, oldXMenu/Makefile): If these files
Brian Fox <bfox@gnu.org>
parents: 4748
diff changeset
236 Makefile: Makefile.in config.status
0a1aaeea3623 (src/Makefile, lib-src/Makefile, oldXMenu/Makefile): If these files
Brian Fox <bfox@gnu.org>
parents: 4748
diff changeset
237 ./config.status
491
77c38d1bc8a8 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
238
12579
16b03ae9214b (src/paths.h, paths-force): Rename src/paths.h.in to src/paths.in.
Richard M. Stallman <rms@gnu.org>
parents: 12479
diff changeset
239 src/Makefile: src/Makefile.in config.status
4793
0a1aaeea3623 (src/Makefile, lib-src/Makefile, oldXMenu/Makefile): If these files
Brian Fox <bfox@gnu.org>
parents: 4748
diff changeset
240 ./config.status
1686
10650dfc82d0 * Makefile.in (install, install.sysv, install.xenix, install.aix):
Jim Blandy <jimb@redhat.com>
parents: 1647
diff changeset
241
4793
0a1aaeea3623 (src/Makefile, lib-src/Makefile, oldXMenu/Makefile): If these files
Brian Fox <bfox@gnu.org>
parents: 4748
diff changeset
242 lib-src/Makefile: lib-src/Makefile.in config.status
0a1aaeea3623 (src/Makefile, lib-src/Makefile, oldXMenu/Makefile): If these files
Brian Fox <bfox@gnu.org>
parents: 4748
diff changeset
243 ./config.status
1686
10650dfc82d0 * Makefile.in (install, install.sysv, install.xenix, install.aix):
Jim Blandy <jimb@redhat.com>
parents: 1647
diff changeset
244
4793
0a1aaeea3623 (src/Makefile, lib-src/Makefile, oldXMenu/Makefile): If these files
Brian Fox <bfox@gnu.org>
parents: 4748
diff changeset
245 oldXMenu/Makefile: oldXMenu/Makefile.in config.status
1686
10650dfc82d0 * Makefile.in (install, install.sysv, install.xenix, install.aix):
Jim Blandy <jimb@redhat.com>
parents: 1647
diff changeset
246 ./config.status
10650dfc82d0 * Makefile.in (install, install.sysv, install.xenix, install.aix):
Jim Blandy <jimb@redhat.com>
parents: 1647
diff changeset
247
5630
374b344ce3b6 (lwlib/Makefile): New target.
Richard M. Stallman <rms@gnu.org>
parents: 5599
diff changeset
248 lwlib/Makefile: lwlib/Makefile.in config.status
374b344ce3b6 (lwlib/Makefile): New target.
Richard M. Stallman <rms@gnu.org>
parents: 5599
diff changeset
249 ./config.status
374b344ce3b6 (lwlib/Makefile): New target.
Richard M. Stallman <rms@gnu.org>
parents: 5599
diff changeset
250
1686
10650dfc82d0 * Makefile.in (install, install.sysv, install.xenix, install.aix):
Jim Blandy <jimb@redhat.com>
parents: 1647
diff changeset
251 # ==================== Installation ====================
10650dfc82d0 * Makefile.in (install, install.sysv, install.xenix, install.aix):
Jim Blandy <jimb@redhat.com>
parents: 1647
diff changeset
252
1821
04fb1d3d6992 JimB's changes since January 18th
Jim Blandy <jimb@redhat.com>
parents: 1767
diff changeset
253 ## If we let lib-src do its own installation, that means we
04fb1d3d6992 JimB's changes since January 18th
Jim Blandy <jimb@redhat.com>
parents: 1767
diff changeset
254 ## don't have to duplicate the list of utilities to install in
04fb1d3d6992 JimB's changes since January 18th
Jim Blandy <jimb@redhat.com>
parents: 1767
diff changeset
255 ## this Makefile as well.
2623
b951532eca82 * configure.in: Use the AC_ALLOCA test.
Jim Blandy <jimb@redhat.com>
parents: 2498
diff changeset
256
2817
d28c54ba888e More changes from David J. Mackenzie.
Jim Blandy <jimb@redhat.com>
parents: 2812
diff changeset
257 ## On AIX, use tar xBf.
d28c54ba888e More changes from David J. Mackenzie.
Jim Blandy <jimb@redhat.com>
parents: 2812
diff changeset
258 ## On Xenix, use tar xpf.
d28c54ba888e More changes from David J. Mackenzie.
Jim Blandy <jimb@redhat.com>
parents: 2812
diff changeset
259
7032
2c8a6d503e76 (.PHONY, install): Kill reference to obsolete do-install.
Karl Heuer <kwzh@gnu.org>
parents: 6970
diff changeset
260 .PHONY: install mkdir
5630
374b344ce3b6 (lwlib/Makefile): New target.
Richard M. Stallman <rms@gnu.org>
parents: 5599
diff changeset
261
2623
b951532eca82 * configure.in: Use the AC_ALLOCA test.
Jim Blandy <jimb@redhat.com>
parents: 2498
diff changeset
262 ## We delete each directory in ${COPYDESTS} before we copy into it;
b951532eca82 * configure.in: Use the AC_ALLOCA test.
Jim Blandy <jimb@redhat.com>
parents: 2498
diff changeset
263 ## that way, we can reinstall over directories that have been put in
b951532eca82 * configure.in: Use the AC_ALLOCA test.
Jim Blandy <jimb@redhat.com>
parents: 2498
diff changeset
264 ## place with their files read-only (perhaps because they are checked
b951532eca82 * configure.in: Use the AC_ALLOCA test.
Jim Blandy <jimb@redhat.com>
parents: 2498
diff changeset
265 ## into RCS). In order to make this safe, we make sure that the
b951532eca82 * configure.in: Use the AC_ALLOCA test.
Jim Blandy <jimb@redhat.com>
parents: 2498
diff changeset
266 ## source exists and is distinct from the destination.
14813
2dbe6630a156 (install-arch-dep): Don't depend on install-arch-indep.
Richard M. Stallman <rms@gnu.org>
parents: 14652
diff changeset
267 ### We do install-arch-indep first because
2dbe6630a156 (install-arch-dep): Don't depend on install-arch-indep.
Richard M. Stallman <rms@gnu.org>
parents: 14652
diff changeset
268 ### the executable needs the Lisp files and DOC file to work properly.
15897
d9496ad1f3a6 (src/paths.h): Target deleted.
Richard M. Stallman <rms@gnu.org>
parents: 15869
diff changeset
269 install: all install-arch-indep install-arch-dep blessmail
13280
42aa8d8aa019 (distclean): Delete line with just a tab in it.
Richard M. Stallman <rms@gnu.org>
parents: 13031
diff changeset
270 @true
3060
6bb1c8f853cb * Makefile.in (src/paths.h): Edit the `infodir' variable into this
Jim Blandy <jimb@redhat.com>
parents: 3021
diff changeset
271
13901
c9243845a191 (install-arch-indep): Give all files read permission.
Richard M. Stallman <rms@gnu.org>
parents: 13757
diff changeset
272 ### Install the executables that were compiled specifically for this machine.
14813
2dbe6630a156 (install-arch-dep): Don't depend on install-arch-indep.
Richard M. Stallman <rms@gnu.org>
parents: 14652
diff changeset
273 ### It would be nice to do something for a parallel make
2dbe6630a156 (install-arch-dep): Don't depend on install-arch-indep.
Richard M. Stallman <rms@gnu.org>
parents: 14652
diff changeset
274 ### to ensure that install-arch-indep finishes before this starts.
2dbe6630a156 (install-arch-dep): Don't depend on install-arch-indep.
Richard M. Stallman <rms@gnu.org>
parents: 14652
diff changeset
275 install-arch-dep: mkdir
3060
6bb1c8f853cb * Makefile.in (src/paths.h): Edit the `infodir' variable into this
Jim Blandy <jimb@redhat.com>
parents: 3021
diff changeset
276 (cd lib-src; \
4793
0a1aaeea3623 (src/Makefile, lib-src/Makefile, oldXMenu/Makefile): If these files
Brian Fox <bfox@gnu.org>
parents: 4748
diff changeset
277 $(MAKE) install $(MFLAGS) prefix=${prefix} \
9457
a9a8a2326411 Use libexecdir and sharedstatedir as appropriate.
Richard M. Stallman <rms@gnu.org>
parents: 9051
diff changeset
278 exec_prefix=${exec_prefix} bindir=${bindir} \
15975
9d392663cd09 (INSTALL_STRIP): New variable.
Richard M. Stallman <rms@gnu.org>
parents: 15898
diff changeset
279 libexecdir=${libexecdir} archlibdir=${archlibdir} \
9d392663cd09 (INSTALL_STRIP): New variable.
Richard M. Stallman <rms@gnu.org>
parents: 15898
diff changeset
280 INSTALL_STRIP=${INSTALL_STRIP})
9d392663cd09 (INSTALL_STRIP): New variable.
Richard M. Stallman <rms@gnu.org>
parents: 15898
diff changeset
281 ${INSTALL_PROGRAM} $(INSTALL_STRIP) src/emacs ${bindir}/emacs-${version}
6013
f03d2629a6a3 (install-arch-dep, install-arch-indep):
Richard M. Stallman <rms@gnu.org>
parents: 5630
diff changeset
282 -chmod 1755 ${bindir}/emacs-${version}
7032
2c8a6d503e76 (.PHONY, install): Kill reference to obsolete do-install.
Karl Heuer <kwzh@gnu.org>
parents: 6970
diff changeset
283 rm -f ${bindir}/$(EMACS)
2c8a6d503e76 (.PHONY, install): Kill reference to obsolete do-install.
Karl Heuer <kwzh@gnu.org>
parents: 6970
diff changeset
284 -ln ${bindir}/emacs-${version} ${bindir}/$(EMACS)
6013
f03d2629a6a3 (install-arch-dep, install-arch-indep):
Richard M. Stallman <rms@gnu.org>
parents: 5630
diff changeset
285
13901
c9243845a191 (install-arch-indep): Give all files read permission.
Richard M. Stallman <rms@gnu.org>
parents: 13757
diff changeset
286 ### Install the files that are machine-independent.
c9243845a191 (install-arch-indep): Give all files read permission.
Richard M. Stallman <rms@gnu.org>
parents: 13757
diff changeset
287 ### Most of them come straight from the distribution;
c9243845a191 (install-arch-indep): Give all files read permission.
Richard M. Stallman <rms@gnu.org>
parents: 13757
diff changeset
288 ### the exception is the DOC-* files, which are copied
c9243845a191 (install-arch-indep): Give all files read permission.
Richard M. Stallman <rms@gnu.org>
parents: 13757
diff changeset
289 ### from the build directory.
c9243845a191 (install-arch-indep): Give all files read permission.
Richard M. Stallman <rms@gnu.org>
parents: 13757
diff changeset
290
12479
998641b2f5d6 (uninstall, install-arch-indep): Install info/ediff*.
Richard M. Stallman <rms@gnu.org>
parents: 12375
diff changeset
291 ### Note that we copy DOC* and then delete DOC
998641b2f5d6 (uninstall, install-arch-indep): Install info/ediff*.
Richard M. Stallman <rms@gnu.org>
parents: 12375
diff changeset
292 ### as a workaround for a bug in tar on Ultrix 4.2.
6013
f03d2629a6a3 (install-arch-dep, install-arch-indep):
Richard M. Stallman <rms@gnu.org>
parents: 5630
diff changeset
293 install-arch-indep: mkdir
617
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 604
diff changeset
294 -set ${COPYDESTS} ; \
13901
c9243845a191 (install-arch-indep): Give all files read permission.
Richard M. Stallman <rms@gnu.org>
parents: 13757
diff changeset
295 for dir in ${COPYDIR} ; do \
c9243845a191 (install-arch-indep): Give all files read permission.
Richard M. Stallman <rms@gnu.org>
parents: 13757
diff changeset
296 if [ `(cd $$1 && /bin/pwd)` != `(cd $${dir} && /bin/pwd)` ] ; then \
c9243845a191 (install-arch-indep): Give all files read permission.
Richard M. Stallman <rms@gnu.org>
parents: 13757
diff changeset
297 rm -rf $$1 ; \
c9243845a191 (install-arch-indep): Give all files read permission.
Richard M. Stallman <rms@gnu.org>
parents: 13757
diff changeset
298 fi ; \
c9243845a191 (install-arch-indep): Give all files read permission.
Richard M. Stallman <rms@gnu.org>
parents: 13757
diff changeset
299 shift ; \
c9243845a191 (install-arch-indep): Give all files read permission.
Richard M. Stallman <rms@gnu.org>
parents: 13757
diff changeset
300 done
3123
0e9f73b6245d * Makefile.in (do-install): Don't remove a destination directory
Jim Blandy <jimb@redhat.com>
parents: 3090
diff changeset
301 -set ${COPYDESTS} ; \
13901
c9243845a191 (install-arch-indep): Give all files read permission.
Richard M. Stallman <rms@gnu.org>
parents: 13757
diff changeset
302 mkdir ${COPYDESTS} ; \
c9243845a191 (install-arch-indep): Give all files read permission.
Richard M. Stallman <rms@gnu.org>
parents: 13757
diff changeset
303 chmod ugo+rx ${COPYDESTS} ; \
c9243845a191 (install-arch-indep): Give all files read permission.
Richard M. Stallman <rms@gnu.org>
parents: 13757
diff changeset
304 for dir in ${COPYDIR} ; do \
c9243845a191 (install-arch-indep): Give all files read permission.
Richard M. Stallman <rms@gnu.org>
parents: 13757
diff changeset
305 dest=$$1 ; shift ; \
c9243845a191 (install-arch-indep): Give all files read permission.
Richard M. Stallman <rms@gnu.org>
parents: 13757
diff changeset
306 [ -d $${dir} ] \
c9243845a191 (install-arch-indep): Give all files read permission.
Richard M. Stallman <rms@gnu.org>
parents: 13757
diff changeset
307 && [ `(cd $${dir} && /bin/pwd)` != `(cd $${dest} && /bin/pwd)` ] \
c9243845a191 (install-arch-indep): Give all files read permission.
Richard M. Stallman <rms@gnu.org>
parents: 13757
diff changeset
308 && (echo "Copying $${dir} to $${dest}..." ; \
c9243845a191 (install-arch-indep): Give all files read permission.
Richard M. Stallman <rms@gnu.org>
parents: 13757
diff changeset
309 (cd $${dir}; tar -cf - . )|(cd $${dest};umask 022; tar -xvf - ); \
c9243845a191 (install-arch-indep): Give all files read permission.
Richard M. Stallman <rms@gnu.org>
parents: 13757
diff changeset
310 for subdir in `find $${dest} -type d ! -name RCS -print` ; do \
c9243845a191 (install-arch-indep): Give all files read permission.
Richard M. Stallman <rms@gnu.org>
parents: 13757
diff changeset
311 rm -rf $${subdir}/RCS ; \
c9243845a191 (install-arch-indep): Give all files read permission.
Richard M. Stallman <rms@gnu.org>
parents: 13757
diff changeset
312 rm -rf $${subdir}/CVS ; \
c9243845a191 (install-arch-indep): Give all files read permission.
Richard M. Stallman <rms@gnu.org>
parents: 13757
diff changeset
313 rm -f $${subdir}/\#* ; \
c9243845a191 (install-arch-indep): Give all files read permission.
Richard M. Stallman <rms@gnu.org>
parents: 13757
diff changeset
314 rm -f $${subdir}/.\#* ; \
c9243845a191 (install-arch-indep): Give all files read permission.
Richard M. Stallman <rms@gnu.org>
parents: 13757
diff changeset
315 rm -f $${subdir}/*~ ; \
c9243845a191 (install-arch-indep): Give all files read permission.
Richard M. Stallman <rms@gnu.org>
parents: 13757
diff changeset
316 rm -f $${subdir}/*.orig ; \
c9243845a191 (install-arch-indep): Give all files read permission.
Richard M. Stallman <rms@gnu.org>
parents: 13757
diff changeset
317 rm -f $${subdir}/[mM]akefile* ; \
c9243845a191 (install-arch-indep): Give all files read permission.
Richard M. Stallman <rms@gnu.org>
parents: 13757
diff changeset
318 rm -f $${subdir}/ChangeLog* ; \
c9243845a191 (install-arch-indep): Give all files read permission.
Richard M. Stallman <rms@gnu.org>
parents: 13757
diff changeset
319 rm -f $${subdir}/dired.todo ; \
c9243845a191 (install-arch-indep): Give all files read permission.
Richard M. Stallman <rms@gnu.org>
parents: 13757
diff changeset
320 done) ; \
c9243845a191 (install-arch-indep): Give all files read permission.
Richard M. Stallman <rms@gnu.org>
parents: 13757
diff changeset
321 done
9556
28320cad8c38 (bitmapdir): New variable.
Richard M. Stallman <rms@gnu.org>
parents: 9506
diff changeset
322 -rm -f ${lispdir}/subdirs.el
11227
91377b178920 (install-arch-indep, dist): look for `update-subdir' in $(srcdir).
Richard M. Stallman <rms@gnu.org>
parents: 10969
diff changeset
323 $(srcdir)/update-subdirs ${lispdir}
14143
bcc924fdb1f8 (install-arch-indep): Ignore error if no chmod -R.
Karl Heuer <kwzh@gnu.org>
parents: 13901
diff changeset
324 -chmod -R a+r ${COPYDESTS}
7390
989492b57d5e (install-arch-indep): Do install info/dired-x*.
Richard M. Stallman <rms@gnu.org>
parents: 7311
diff changeset
325 if [ `(cd ./etc; /bin/pwd)` != `(cd ${docdir}; /bin/pwd)` ]; \
989492b57d5e (install-arch-indep): Do install info/dired-x*.
Richard M. Stallman <rms@gnu.org>
parents: 7311
diff changeset
326 then \
13757
94f0319d4cbb Improve copying status message.
Karl Heuer <kwzh@gnu.org>
parents: 13676
diff changeset
327 echo "Copying etc/DOC-* to ${docdir} ..." ; \
15323
af013b84d1ad (install-arch-indep): If cd etc makes output,
Richard M. Stallman <rms@gnu.org>
parents: 14864
diff changeset
328 (cd ./etc; tar -cf - DOC*)|(cd ${docdir}; umask 0; tar -xvf - ); \
13901
c9243845a191 (install-arch-indep): Give all files read permission.
Richard M. Stallman <rms@gnu.org>
parents: 13757
diff changeset
329 (cd $(docdir); chmod a+r DOC*; rm DOC) \
7390
989492b57d5e (install-arch-indep): Do install info/dired-x*.
Richard M. Stallman <rms@gnu.org>
parents: 7311
diff changeset
330 else true; fi
15323
af013b84d1ad (install-arch-indep): If cd etc makes output,
Richard M. Stallman <rms@gnu.org>
parents: 14864
diff changeset
331 if [ -r ./lisp ] \
af013b84d1ad (install-arch-indep): If cd etc makes output,
Richard M. Stallman <rms@gnu.org>
parents: 14864
diff changeset
332 && [ x`(cd ./lisp; /bin/pwd)` != x`(cd ${lispdir}; /bin/pwd)` ] \
14555
af6c9bc726a9 (install-arch-indep): Install info/ccmode*.
Richard M. Stallman <rms@gnu.org>
parents: 14360
diff changeset
333 && [ x`(cd ${srcdir}/lisp; /bin/pwd)` != x`(cd ./lisp; /bin/pwd)` ]; \
af6c9bc726a9 (install-arch-indep): Install info/ccmode*.
Richard M. Stallman <rms@gnu.org>
parents: 14360
diff changeset
334 then \
af6c9bc726a9 (install-arch-indep): Install info/ccmode*.
Richard M. Stallman <rms@gnu.org>
parents: 14360
diff changeset
335 echo "Copying lisp/*.el and lisp/*.elc to ${lispdir} ..." ; \
af6c9bc726a9 (install-arch-indep): Install info/ccmode*.
Richard M. Stallman <rms@gnu.org>
parents: 14360
diff changeset
336 (cd lisp; tar -cf - *.el *.elc)|(cd ${lispdir}; umask 0; tar -xvf - ); \
af6c9bc726a9 (install-arch-indep): Install info/ccmode*.
Richard M. Stallman <rms@gnu.org>
parents: 14360
diff changeset
337 else true; fi
7704
022727dbe5f3 (install-arch-indep): Use /bin/pwd uniformly, not pwd.
Richard M. Stallman <rms@gnu.org>
parents: 7603
diff changeset
338 thisdir=`/bin/pwd`; \
3426
7ecee84713e6 (do-install): Partially rewrite using `if'.
Richard M. Stallman <rms@gnu.org>
parents: 3423
diff changeset
339 if [ `(cd ${srcdir}/info && /bin/pwd)` != `(cd ${infodir} && /bin/pwd)` ]; \
6394
a829e7875542 (install-arch-indep): Add missing backslash after a `then'.
Roland McGrath <roland@gnu.org>
parents: 6350
diff changeset
340 then \
13002
237f7920c3a2 (install-arch-indep): Always install the new dir file;
Richard M. Stallman <rms@gnu.org>
parents: 12579
diff changeset
341 (cd ${infodir}; \
13676
cace0c4acd88 Add missing backslash.
Erik Naggum <erik@naggum.no>
parents: 13660
diff changeset
342 if [ -f dir ]; then \
13660
7ccd8298d604 (install-arch-indep): Don't install
Richard M. Stallman <rms@gnu.org>
parents: 13570
diff changeset
343 if [ ! -f dir.old ]; then mv -f dir dir.old; \
7ccd8298d604 (install-arch-indep): Don't install
Richard M. Stallman <rms@gnu.org>
parents: 13570
diff changeset
344 else mv -f dir dir.bak; fi; \
7ccd8298d604 (install-arch-indep): Don't install
Richard M. Stallman <rms@gnu.org>
parents: 13570
diff changeset
345 fi; \
13002
237f7920c3a2 (install-arch-indep): Always install the new dir file;
Richard M. Stallman <rms@gnu.org>
parents: 12579
diff changeset
346 cd ${srcdir}/info ; \
237f7920c3a2 (install-arch-indep): Always install the new dir file;
Richard M. Stallman <rms@gnu.org>
parents: 12579
diff changeset
347 (cd $${thisdir}; ${INSTALL_DATA} ${srcdir}/info/dir ${infodir}/dir); \
13901
c9243845a191 (install-arch-indep): Give all files read permission.
Richard M. Stallman <rms@gnu.org>
parents: 13757
diff changeset
348 (cd $${thisdir}; chmod a+r ${infodir}/dir); \
15869
f7f9bd31bfaa (install-arch-indep): Install info/messages.
Richard M. Stallman <rms@gnu.org>
parents: 15323
diff changeset
349 for f in ccmode* cl* dired-x* ediff* emacs* forms* gnus* info* message* mh-e* sc* vip*; do \
13901
c9243845a191 (install-arch-indep): Give all files read permission.
Richard M. Stallman <rms@gnu.org>
parents: 13757
diff changeset
350 (cd $${thisdir}; \
c9243845a191 (install-arch-indep): Give all files read permission.
Richard M. Stallman <rms@gnu.org>
parents: 13757
diff changeset
351 ${INSTALL_DATA} ${srcdir}/info/$$f ${infodir}/$$f; \
c9243845a191 (install-arch-indep): Give all files read permission.
Richard M. Stallman <rms@gnu.org>
parents: 13757
diff changeset
352 chmod a+r ${infodir}/$$f); \
6350
9feb98fdf5aa (thisdir): New variable.
Richard M. Stallman <rms@gnu.org>
parents: 6071
diff changeset
353 done); \
3426
7ecee84713e6 (do-install): Partially rewrite using `if'.
Richard M. Stallman <rms@gnu.org>
parents: 3423
diff changeset
354 else true; fi
13901
c9243845a191 (install-arch-indep): Give all files read permission.
Richard M. Stallman <rms@gnu.org>
parents: 13757
diff changeset
355 thisdir=`/bin/pwd`; \
c9243845a191 (install-arch-indep): Give all files read permission.
Richard M. Stallman <rms@gnu.org>
parents: 13757
diff changeset
356 cd ${srcdir}/etc; \
c9243845a191 (install-arch-indep): Give all files read permission.
Richard M. Stallman <rms@gnu.org>
parents: 13757
diff changeset
357 for page in emacs etags ctags ; do \
c9243845a191 (install-arch-indep): Give all files read permission.
Richard M. Stallman <rms@gnu.org>
parents: 13757
diff changeset
358 (cd $${thisdir}; \
c9243845a191 (install-arch-indep): Give all files read permission.
Richard M. Stallman <rms@gnu.org>
parents: 13757
diff changeset
359 ${INSTALL_DATA} ${srcdir}/etc/$${page}.1 ${man1dir}/$${page}${manext}; \
c9243845a191 (install-arch-indep): Give all files read permission.
Richard M. Stallman <rms@gnu.org>
parents: 13757
diff changeset
360 chmod a+r ${man1dir}/$${page}${manext}); \
1698
e0acfb7b804d * INSTALL: The build process produces an executable called `emacs'
Jim Blandy <jimb@redhat.com>
parents: 1686
diff changeset
361 done
596
d02d6c2f7f80 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 550
diff changeset
362
14848
831061a3e4f1 (install-strip): New target.
Richard M. Stallman <rms@gnu.org>
parents: 14813
diff changeset
363 ### Build Emacs and install it, stripping binaries while installing them.
831061a3e4f1 (install-strip): New target.
Richard M. Stallman <rms@gnu.org>
parents: 14813
diff changeset
364 install-strip:
15975
9d392663cd09 (INSTALL_STRIP): New variable.
Richard M. Stallman <rms@gnu.org>
parents: 15898
diff changeset
365 $(MAKE) INSTALL_STRIP=-s
14848
831061a3e4f1 (install-strip): New target.
Richard M. Stallman <rms@gnu.org>
parents: 14813
diff changeset
366
1698
e0acfb7b804d * INSTALL: The build process produces an executable called `emacs'
Jim Blandy <jimb@redhat.com>
parents: 1686
diff changeset
367 ### Build all the directories we're going to install Emacs in. Since
1686
10650dfc82d0 * Makefile.in (install, install.sysv, install.xenix, install.aix):
Jim Blandy <jimb@redhat.com>
parents: 1647
diff changeset
368 ### we may be creating several layers of directories (for example,
9497
9d0e3c1c3f8c use mkinstalldirs instead of make-path
David J. MacKenzie <djm@gnu.org>
parents: 9457
diff changeset
369 ### /usr/local/lib/emacs/19.0/mips-dec-ultrix4.2), we use mkinstalldirs
10064
9d103084f33b (dvi): Run Make in our man subdir.
Richard M. Stallman <rms@gnu.org>
parents: 9866
diff changeset
370 ### instead of mkdir. Not all systems' mkdir programs have the `-p' flag.
8807
1fb0575ee03a Use just one FRC target.
Richard M. Stallman <rms@gnu.org>
parents: 8770
diff changeset
371 mkdir: FRC
13518
9e55dae21315 (mkdir): Create man1dir, not mandir.
Richard M. Stallman <rms@gnu.org>
parents: 13280
diff changeset
372 $(srcdir)/mkinstalldirs ${COPYDESTS} ${lockdir} ${infodir} ${man1dir} \
9457
a9a8a2326411 Use libexecdir and sharedstatedir as appropriate.
Richard M. Stallman <rms@gnu.org>
parents: 9051
diff changeset
373 ${bindir} ${datadir} ${docdir} ${libexecdir} \
8163
d836abb05e48 (mkdir, removenullpaths): Put g in sed replace commands.
Richard M. Stallman <rms@gnu.org>
parents: 7704
diff changeset
374 `echo ${locallisppath} | sed 's/:/ /g'`
12375
832d77b36f9d (mkdir): Use symbolic chmod.
Richard M. Stallman <rms@gnu.org>
parents: 12097
diff changeset
375 -chmod a+rwx ${lockdir}
491
77c38d1bc8a8 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
376
3780
20b847f36ade * Makefile.in (CPP): New variable.
Jim Blandy <jimb@redhat.com>
parents: 3749
diff changeset
377 ### Delete all the installed files that the `install' target would
20b847f36ade * Makefile.in (CPP): New variable.
Jim Blandy <jimb@redhat.com>
parents: 3749
diff changeset
378 ### create (but not the noninstalled files such as `make all' would
20b847f36ade * Makefile.in (CPP): New variable.
Jim Blandy <jimb@redhat.com>
parents: 3749
diff changeset
379 ### create).
3786
9f31f2f16644 * Makefile.in (uninstall): Don't remove the lisp and etc
Jim Blandy <jimb@redhat.com>
parents: 3780
diff changeset
380 ###
9f31f2f16644 * Makefile.in (uninstall): Don't remove the lisp and etc
Jim Blandy <jimb@redhat.com>
parents: 3780
diff changeset
381 ### Don't delete the lisp and etc directories if they're in the source tree.
3780
20b847f36ade * Makefile.in (CPP): New variable.
Jim Blandy <jimb@redhat.com>
parents: 3749
diff changeset
382 uninstall:
3786
9f31f2f16644 * Makefile.in (uninstall): Don't remove the lisp and etc
Jim Blandy <jimb@redhat.com>
parents: 3780
diff changeset
383 (cd lib-src; \
4793
0a1aaeea3623 (src/Makefile, lib-src/Makefile, oldXMenu/Makefile): If these files
Brian Fox <bfox@gnu.org>
parents: 4748
diff changeset
384 $(MAKE) $(MFLAGS) uninstall \
3786
9f31f2f16644 * Makefile.in (uninstall): Don't remove the lisp and etc
Jim Blandy <jimb@redhat.com>
parents: 3780
diff changeset
385 prefix=${prefix} exec_prefix=${exec_prefix} \
9457
a9a8a2326411 Use libexecdir and sharedstatedir as appropriate.
Richard M. Stallman <rms@gnu.org>
parents: 9051
diff changeset
386 bindir=${bindir} libexecdir=${libexecdir} archlibdir=${archlibdir})
3786
9f31f2f16644 * Makefile.in (uninstall): Don't remove the lisp and etc
Jim Blandy <jimb@redhat.com>
parents: 3780
diff changeset
387 for dir in ${lispdir} ${etcdir} ; do \
7405
a25ee02b41c8 (uninstall): When processing lispdir and etcdir,
Richard M. Stallman <rms@gnu.org>
parents: 7390
diff changeset
388 if [ -d $${dir} ]; then \
7704
022727dbe5f3 (install-arch-indep): Use /bin/pwd uniformly, not pwd.
Richard M. Stallman <rms@gnu.org>
parents: 7603
diff changeset
389 case `(cd $${dir} ; /bin/pwd)` in \
022727dbe5f3 (install-arch-indep): Use /bin/pwd uniformly, not pwd.
Richard M. Stallman <rms@gnu.org>
parents: 7603
diff changeset
390 `(cd ${srcdir} ; /bin/pwd)`* ) ;; \
7405
a25ee02b41c8 (uninstall): When processing lispdir and etcdir,
Richard M. Stallman <rms@gnu.org>
parents: 7390
diff changeset
391 * ) rm -rf $${dir} ;; \
a25ee02b41c8 (uninstall): When processing lispdir and etcdir,
Richard M. Stallman <rms@gnu.org>
parents: 7390
diff changeset
392 esac ; \
a25ee02b41c8 (uninstall): When processing lispdir and etcdir,
Richard M. Stallman <rms@gnu.org>
parents: 7390
diff changeset
393 case $${dir} in \
a25ee02b41c8 (uninstall): When processing lispdir and etcdir,
Richard M. Stallman <rms@gnu.org>
parents: 7390
diff changeset
394 ${datadir}/emacs/${version}/* ) \
a25ee02b41c8 (uninstall): When processing lispdir and etcdir,
Richard M. Stallman <rms@gnu.org>
parents: 7390
diff changeset
395 rm -rf ${datadir}/emacs/${version} \
a25ee02b41c8 (uninstall): When processing lispdir and etcdir,
Richard M. Stallman <rms@gnu.org>
parents: 7390
diff changeset
396 ;; \
a25ee02b41c8 (uninstall): When processing lispdir and etcdir,
Richard M. Stallman <rms@gnu.org>
parents: 7390
diff changeset
397 esac ; \
a25ee02b41c8 (uninstall): When processing lispdir and etcdir,
Richard M. Stallman <rms@gnu.org>
parents: 7390
diff changeset
398 fi ; \
3786
9f31f2f16644 * Makefile.in (uninstall): Don't remove the lisp and etc
Jim Blandy <jimb@redhat.com>
parents: 3780
diff changeset
399 done
12479
998641b2f5d6 (uninstall, install-arch-indep): Install info/ediff*.
Richard M. Stallman <rms@gnu.org>
parents: 12375
diff changeset
400 (cd ${infodir} && rm -f cl* dired-x* ediff* emacs* forms* gnus* info* mh-e* sc* vip*)
13518
9e55dae21315 (mkdir): Create man1dir, not mandir.
Richard M. Stallman <rms@gnu.org>
parents: 13280
diff changeset
401 (cd ${man1dir} && rm -f emacs.1 etags.1 ctags.1)
9815
cf81e1252f30 Don't rm files if cd fails.
Karl Heuer <kwzh@gnu.org>
parents: 9561
diff changeset
402 (cd ${bindir} && rm -f emacs-${version} $(EMACS))
3780
20b847f36ade * Makefile.in (CPP): New variable.
Jim Blandy <jimb@redhat.com>
parents: 3749
diff changeset
403
20b847f36ade * Makefile.in (CPP): New variable.
Jim Blandy <jimb@redhat.com>
parents: 3749
diff changeset
404
8807
1fb0575ee03a Use just one FRC target.
Richard M. Stallman <rms@gnu.org>
parents: 8770
diff changeset
405 FRC:
1686
10650dfc82d0 * Makefile.in (install, install.sysv, install.xenix, install.aix):
Jim Blandy <jimb@redhat.com>
parents: 1647
diff changeset
406
10650dfc82d0 * Makefile.in (install, install.sysv, install.xenix, install.aix):
Jim Blandy <jimb@redhat.com>
parents: 1647
diff changeset
407 # ==================== Cleaning up and miscellanea ====================
10650dfc82d0 * Makefile.in (install, install.sysv, install.xenix, install.aix):
Jim Blandy <jimb@redhat.com>
parents: 1647
diff changeset
408
10685
71fa5c477213 (maintainer-clean): Renamed from realclean.
Richard M. Stallman <rms@gnu.org>
parents: 10064
diff changeset
409 .PHONY: mostlyclean clean distclean maintainer-clean extraclean
5630
374b344ce3b6 (lwlib/Makefile): New target.
Richard M. Stallman <rms@gnu.org>
parents: 5599
diff changeset
410
3780
20b847f36ade * Makefile.in (CPP): New variable.
Jim Blandy <jimb@redhat.com>
parents: 3749
diff changeset
411 ### `mostlyclean'
20b847f36ade * Makefile.in (CPP): New variable.
Jim Blandy <jimb@redhat.com>
parents: 3749
diff changeset
412 ### Like `clean', but may refrain from deleting a few files that people
20b847f36ade * Makefile.in (CPP): New variable.
Jim Blandy <jimb@redhat.com>
parents: 3749
diff changeset
413 ### normally don't want to recompile. For example, the `mostlyclean'
20b847f36ade * Makefile.in (CPP): New variable.
Jim Blandy <jimb@redhat.com>
parents: 3749
diff changeset
414 ### target for GCC does not delete `libgcc.a', because recompiling it
20b847f36ade * Makefile.in (CPP): New variable.
Jim Blandy <jimb@redhat.com>
parents: 3749
diff changeset
415 ### is rarely necessary and takes a lot of time.
8807
1fb0575ee03a Use just one FRC target.
Richard M. Stallman <rms@gnu.org>
parents: 8770
diff changeset
416 mostlyclean: FRC
4793
0a1aaeea3623 (src/Makefile, lib-src/Makefile, oldXMenu/Makefile): If these files
Brian Fox <bfox@gnu.org>
parents: 4748
diff changeset
417 (cd src; $(MAKE) $(MFLAGS) mostlyclean)
0a1aaeea3623 (src/Makefile, lib-src/Makefile, oldXMenu/Makefile): If these files
Brian Fox <bfox@gnu.org>
parents: 4748
diff changeset
418 (cd oldXMenu; $(MAKE) $(MFLAGS) mostlyclean)
5630
374b344ce3b6 (lwlib/Makefile): New target.
Richard M. Stallman <rms@gnu.org>
parents: 5599
diff changeset
419 (cd lwlib; $(MAKE) $(MFLAGS) mostlyclean)
4793
0a1aaeea3623 (src/Makefile, lib-src/Makefile, oldXMenu/Makefile): If these files
Brian Fox <bfox@gnu.org>
parents: 4748
diff changeset
420 (cd lib-src; $(MAKE) $(MFLAGS) mostlyclean)
7603
1ddcf94fe9c9 (mostlyclean, clean, distclean, realclean)
Richard M. Stallman <rms@gnu.org>
parents: 7584
diff changeset
421 -(cd man && $(MAKE) $(MFLAGS) mostlyclean)
3780
20b847f36ade * Makefile.in (CPP): New variable.
Jim Blandy <jimb@redhat.com>
parents: 3749
diff changeset
422
1686
10650dfc82d0 * Makefile.in (install, install.sysv, install.xenix, install.aix):
Jim Blandy <jimb@redhat.com>
parents: 1647
diff changeset
423 ### `clean'
3780
20b847f36ade * Makefile.in (CPP): New variable.
Jim Blandy <jimb@redhat.com>
parents: 3749
diff changeset
424 ### Delete all files from the current directory that are normally
20b847f36ade * Makefile.in (CPP): New variable.
Jim Blandy <jimb@redhat.com>
parents: 3749
diff changeset
425 ### created by building the program. Don't delete the files that
20b847f36ade * Makefile.in (CPP): New variable.
Jim Blandy <jimb@redhat.com>
parents: 3749
diff changeset
426 ### record the configuration. Also preserve files that could be made
20b847f36ade * Makefile.in (CPP): New variable.
Jim Blandy <jimb@redhat.com>
parents: 3749
diff changeset
427 ### by building, but normally aren't because the distribution comes
20b847f36ade * Makefile.in (CPP): New variable.
Jim Blandy <jimb@redhat.com>
parents: 3749
diff changeset
428 ### with them.
1686
10650dfc82d0 * Makefile.in (install, install.sysv, install.xenix, install.aix):
Jim Blandy <jimb@redhat.com>
parents: 1647
diff changeset
429 ###
3780
20b847f36ade * Makefile.in (CPP): New variable.
Jim Blandy <jimb@redhat.com>
parents: 3749
diff changeset
430 ### Delete `.dvi' files here if they are not part of the distribution.
8807
1fb0575ee03a Use just one FRC target.
Richard M. Stallman <rms@gnu.org>
parents: 8770
diff changeset
431 clean: FRC
4793
0a1aaeea3623 (src/Makefile, lib-src/Makefile, oldXMenu/Makefile): If these files
Brian Fox <bfox@gnu.org>
parents: 4748
diff changeset
432 (cd src; $(MAKE) $(MFLAGS) clean)
0a1aaeea3623 (src/Makefile, lib-src/Makefile, oldXMenu/Makefile): If these files
Brian Fox <bfox@gnu.org>
parents: 4748
diff changeset
433 (cd oldXMenu; $(MAKE) $(MFLAGS) clean)
5630
374b344ce3b6 (lwlib/Makefile): New target.
Richard M. Stallman <rms@gnu.org>
parents: 5599
diff changeset
434 (cd lwlib; $(MAKE) $(MFLAGS) clean)
4793
0a1aaeea3623 (src/Makefile, lib-src/Makefile, oldXMenu/Makefile): If these files
Brian Fox <bfox@gnu.org>
parents: 4748
diff changeset
435 (cd lib-src; $(MAKE) $(MFLAGS) clean)
7603
1ddcf94fe9c9 (mostlyclean, clean, distclean, realclean)
Richard M. Stallman <rms@gnu.org>
parents: 7584
diff changeset
436 -(cd man && $(MAKE) $(MFLAGS) clean)
617
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 604
diff changeset
437
1686
10650dfc82d0 * Makefile.in (install, install.sysv, install.xenix, install.aix):
Jim Blandy <jimb@redhat.com>
parents: 1647
diff changeset
438 ### `distclean'
3780
20b847f36ade * Makefile.in (CPP): New variable.
Jim Blandy <jimb@redhat.com>
parents: 3749
diff changeset
439 ### Delete all files from the current directory that are created by
20b847f36ade * Makefile.in (CPP): New variable.
Jim Blandy <jimb@redhat.com>
parents: 3749
diff changeset
440 ### configuring or building the program. If you have unpacked the
20b847f36ade * Makefile.in (CPP): New variable.
Jim Blandy <jimb@redhat.com>
parents: 3749
diff changeset
441 ### source and built the program without creating any other files,
20b847f36ade * Makefile.in (CPP): New variable.
Jim Blandy <jimb@redhat.com>
parents: 3749
diff changeset
442 ### `make distclean' should leave only the files that were in the
20b847f36ade * Makefile.in (CPP): New variable.
Jim Blandy <jimb@redhat.com>
parents: 3749
diff changeset
443 ### distribution.
20b847f36ade * Makefile.in (CPP): New variable.
Jim Blandy <jimb@redhat.com>
parents: 3749
diff changeset
444 top_distclean=\
12375
832d77b36f9d (mkdir): Use symbolic chmod.
Richard M. Stallman <rms@gnu.org>
parents: 12097
diff changeset
445 rm -f config.status config.cache config.log ; \
3780
20b847f36ade * Makefile.in (CPP): New variable.
Jim Blandy <jimb@redhat.com>
parents: 3749
diff changeset
446 rm -f Makefile ${SUBDIR_MAKEFILES} ; \
14848
831061a3e4f1 (install-strip): New target.
Richard M. Stallman <rms@gnu.org>
parents: 14813
diff changeset
447 (cd lock && (rm * || true))
8807
1fb0575ee03a Use just one FRC target.
Richard M. Stallman <rms@gnu.org>
parents: 8770
diff changeset
448 distclean: FRC
4793
0a1aaeea3623 (src/Makefile, lib-src/Makefile, oldXMenu/Makefile): If these files
Brian Fox <bfox@gnu.org>
parents: 4748
diff changeset
449 (cd src; $(MAKE) $(MFLAGS) distclean)
0a1aaeea3623 (src/Makefile, lib-src/Makefile, oldXMenu/Makefile): If these files
Brian Fox <bfox@gnu.org>
parents: 4748
diff changeset
450 (cd oldXMenu; $(MAKE) $(MFLAGS) distclean)
5630
374b344ce3b6 (lwlib/Makefile): New target.
Richard M. Stallman <rms@gnu.org>
parents: 5599
diff changeset
451 (cd lwlib; $(MAKE) $(MFLAGS) distclean)
4793
0a1aaeea3623 (src/Makefile, lib-src/Makefile, oldXMenu/Makefile): If these files
Brian Fox <bfox@gnu.org>
parents: 4748
diff changeset
452 (cd lib-src; $(MAKE) $(MFLAGS) distclean)
7603
1ddcf94fe9c9 (mostlyclean, clean, distclean, realclean)
Richard M. Stallman <rms@gnu.org>
parents: 7584
diff changeset
453 (cd man && $(MAKE) $(MFLAGS) distclean)
3780
20b847f36ade * Makefile.in (CPP): New variable.
Jim Blandy <jimb@redhat.com>
parents: 3749
diff changeset
454 ${top_distclean}
617
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 604
diff changeset
455
10685
71fa5c477213 (maintainer-clean): Renamed from realclean.
Richard M. Stallman <rms@gnu.org>
parents: 10064
diff changeset
456 ### `maintainer-clean'
3780
20b847f36ade * Makefile.in (CPP): New variable.
Jim Blandy <jimb@redhat.com>
parents: 3749
diff changeset
457 ### Delete everything from the current directory that can be
20b847f36ade * Makefile.in (CPP): New variable.
Jim Blandy <jimb@redhat.com>
parents: 3749
diff changeset
458 ### reconstructed with this Makefile. This typically includes
20b847f36ade * Makefile.in (CPP): New variable.
Jim Blandy <jimb@redhat.com>
parents: 3749
diff changeset
459 ### everything deleted by distclean, plus more: C source files
20b847f36ade * Makefile.in (CPP): New variable.
Jim Blandy <jimb@redhat.com>
parents: 3749
diff changeset
460 ### produced by Bison, tags tables, info files, and so on.
20b847f36ade * Makefile.in (CPP): New variable.
Jim Blandy <jimb@redhat.com>
parents: 3749
diff changeset
461 ###
10685
71fa5c477213 (maintainer-clean): Renamed from realclean.
Richard M. Stallman <rms@gnu.org>
parents: 10064
diff changeset
462 ### One exception, however: `make maintainer-clean' should not delete
3780
20b847f36ade * Makefile.in (CPP): New variable.
Jim Blandy <jimb@redhat.com>
parents: 3749
diff changeset
463 ### `configure' even if `configure' can be remade using a rule in the
10685
71fa5c477213 (maintainer-clean): Renamed from realclean.
Richard M. Stallman <rms@gnu.org>
parents: 10064
diff changeset
464 ### Makefile. More generally, `make maintainer-clean' should not delete
3780
20b847f36ade * Makefile.in (CPP): New variable.
Jim Blandy <jimb@redhat.com>
parents: 3749
diff changeset
465 ### anything that needs to exist in order to run `configure' and then
20b847f36ade * Makefile.in (CPP): New variable.
Jim Blandy <jimb@redhat.com>
parents: 3749
diff changeset
466 ### begin to build the program.
10685
71fa5c477213 (maintainer-clean): Renamed from realclean.
Richard M. Stallman <rms@gnu.org>
parents: 10064
diff changeset
467 maintainer-clean: FRC
71fa5c477213 (maintainer-clean): Renamed from realclean.
Richard M. Stallman <rms@gnu.org>
parents: 10064
diff changeset
468 (cd src; $(MAKE) $(MFLAGS) maintainer-clean)
71fa5c477213 (maintainer-clean): Renamed from realclean.
Richard M. Stallman <rms@gnu.org>
parents: 10064
diff changeset
469 (cd oldXMenu; $(MAKE) $(MFLAGS) maintainer-clean)
71fa5c477213 (maintainer-clean): Renamed from realclean.
Richard M. Stallman <rms@gnu.org>
parents: 10064
diff changeset
470 (cd lwlib; $(MAKE) $(MFLAGS) maintainer-clean)
71fa5c477213 (maintainer-clean): Renamed from realclean.
Richard M. Stallman <rms@gnu.org>
parents: 10064
diff changeset
471 (cd lib-src; $(MAKE) $(MFLAGS) maintainer-clean)
71fa5c477213 (maintainer-clean): Renamed from realclean.
Richard M. Stallman <rms@gnu.org>
parents: 10064
diff changeset
472 -(cd man && $(MAKE) $(MFLAGS) maintainer-clean)
3780
20b847f36ade * Makefile.in (CPP): New variable.
Jim Blandy <jimb@redhat.com>
parents: 3749
diff changeset
473 ${top_distclean}
617
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 604
diff changeset
474
1686
10650dfc82d0 * Makefile.in (install, install.sysv, install.xenix, install.aix):
Jim Blandy <jimb@redhat.com>
parents: 1647
diff changeset
475 ### This doesn't actually appear in the coding standards, but Karl
10650dfc82d0 * Makefile.in (install, install.sysv, install.xenix, install.aix):
Jim Blandy <jimb@redhat.com>
parents: 1647
diff changeset
476 ### says GCC supports it, and that's where the configuration part of
10650dfc82d0 * Makefile.in (install, install.sysv, install.xenix, install.aix):
Jim Blandy <jimb@redhat.com>
parents: 1647
diff changeset
477 ### the coding standards seem to come from. It's like distclean, but
10650dfc82d0 * Makefile.in (install, install.sysv, install.xenix, install.aix):
Jim Blandy <jimb@redhat.com>
parents: 1647
diff changeset
478 ### it deletes backup and autosave files too.
10650dfc82d0 * Makefile.in (install, install.sysv, install.xenix, install.aix):
Jim Blandy <jimb@redhat.com>
parents: 1647
diff changeset
479 extraclean:
4793
0a1aaeea3623 (src/Makefile, lib-src/Makefile, oldXMenu/Makefile): If these files
Brian Fox <bfox@gnu.org>
parents: 4748
diff changeset
480 for i in ${SUBDIR}; do (cd $$i; $(MAKE) $(MFLAGS) extraclean); done
14360
74660e3d9659 (extraclean): Use ${top_distclean} to ensure
Richard M. Stallman <rms@gnu.org>
parents: 14143
diff changeset
481 ${top_distclean}
74660e3d9659 (extraclean): Use ${top_distclean} to ensure
Richard M. Stallman <rms@gnu.org>
parents: 14143
diff changeset
482 -rm config-tmp-*
1686
10650dfc82d0 * Makefile.in (install, install.sysv, install.xenix, install.aix):
Jim Blandy <jimb@redhat.com>
parents: 1647
diff changeset
483 -rm -f *~ \#*
10650dfc82d0 * Makefile.in (install, install.sysv, install.xenix, install.aix):
Jim Blandy <jimb@redhat.com>
parents: 1647
diff changeset
484
2261
17cbbc48a154 Added unlock and relock productions.
Eric S. Raymond <esr@snark.thyrsus.com>
parents: 2225
diff changeset
485 ### Unlocking and relocking. The idea of these productions is to reduce
17cbbc48a154 Added unlock and relock productions.
Eric S. Raymond <esr@snark.thyrsus.com>
parents: 2225
diff changeset
486 ### hassles when installing an incremental tar of Emacs. Do `make unlock'
17cbbc48a154 Added unlock and relock productions.
Eric S. Raymond <esr@snark.thyrsus.com>
parents: 2225
diff changeset
487 ### before unlocking the file to take the write locks off all sources so
17cbbc48a154 Added unlock and relock productions.
Eric S. Raymond <esr@snark.thyrsus.com>
parents: 2225
diff changeset
488 ### that tar xvof will overwrite them without fuss. Then do `make relock'
17cbbc48a154 Added unlock and relock productions.
Eric S. Raymond <esr@snark.thyrsus.com>
parents: 2225
diff changeset
489 ### afterward so that VC mode will know which files should be checked in
17cbbc48a154 Added unlock and relock productions.
Eric S. Raymond <esr@snark.thyrsus.com>
parents: 2225
diff changeset
490 ### if you want to mung them.
17cbbc48a154 Added unlock and relock productions.
Eric S. Raymond <esr@snark.thyrsus.com>
parents: 2225
diff changeset
491 ###
17cbbc48a154 Added unlock and relock productions.
Eric S. Raymond <esr@snark.thyrsus.com>
parents: 2225
diff changeset
492 ### Note: it's no disaster if these productions miss a file or two; tar
17cbbc48a154 Added unlock and relock productions.
Eric S. Raymond <esr@snark.thyrsus.com>
parents: 2225
diff changeset
493 ### and VC will swiftly let you know if this happens, and it is easily
17cbbc48a154 Added unlock and relock productions.
Eric S. Raymond <esr@snark.thyrsus.com>
parents: 2225
diff changeset
494 ### corrected.
17cbbc48a154 Added unlock and relock productions.
Eric S. Raymond <esr@snark.thyrsus.com>
parents: 2225
diff changeset
495 SOURCES = ChangeLog GETTING.GNU.SOFTWARE INSTALL Makefile.in PROBLEMS \
9506
2341ee469132 (top_distclean): Don't rm build-install.
Richard M. Stallman <rms@gnu.org>
parents: 9497
diff changeset
496 README configure make-dist move-if-change
2261
17cbbc48a154 Added unlock and relock productions.
Eric S. Raymond <esr@snark.thyrsus.com>
parents: 2225
diff changeset
497
5630
374b344ce3b6 (lwlib/Makefile): New target.
Richard M. Stallman <rms@gnu.org>
parents: 5599
diff changeset
498 .PHONY: unlock relock
374b344ce3b6 (lwlib/Makefile): New target.
Richard M. Stallman <rms@gnu.org>
parents: 5599
diff changeset
499
2261
17cbbc48a154 Added unlock and relock productions.
Eric S. Raymond <esr@snark.thyrsus.com>
parents: 2225
diff changeset
500 unlock:
17cbbc48a154 Added unlock and relock productions.
Eric S. Raymond <esr@snark.thyrsus.com>
parents: 2225
diff changeset
501 chmod u+w $(SOURCES) cpp/*
17cbbc48a154 Added unlock and relock productions.
Eric S. Raymond <esr@snark.thyrsus.com>
parents: 2225
diff changeset
502 -(cd elisp; chmod u+w Makefile README *.texi)
4793
0a1aaeea3623 (src/Makefile, lib-src/Makefile, oldXMenu/Makefile): If these files
Brian Fox <bfox@gnu.org>
parents: 4748
diff changeset
503 (cd etc; $(MAKE) $(MFLAGS) unlock)
0a1aaeea3623 (src/Makefile, lib-src/Makefile, oldXMenu/Makefile): If these files
Brian Fox <bfox@gnu.org>
parents: 4748
diff changeset
504 (cd lib-src; $(MAKE) $(MFLAGS) unlock)
0a1aaeea3623 (src/Makefile, lib-src/Makefile, oldXMenu/Makefile): If these files
Brian Fox <bfox@gnu.org>
parents: 4748
diff changeset
505 (cd lisp; $(MAKE) $(MFLAGS) unlock)
2261
17cbbc48a154 Added unlock and relock productions.
Eric S. Raymond <esr@snark.thyrsus.com>
parents: 2225
diff changeset
506 (cd lisp/term; chmod u+w README *.el)
17cbbc48a154 Added unlock and relock productions.
Eric S. Raymond <esr@snark.thyrsus.com>
parents: 2225
diff changeset
507 (cd man; chmod u+w *texi* ChangeLog split-man)
17cbbc48a154 Added unlock and relock productions.
Eric S. Raymond <esr@snark.thyrsus.com>
parents: 2225
diff changeset
508 (cd oldXMenu; chmod u+w *.[ch] Makefile README)
5630
374b344ce3b6 (lwlib/Makefile): New target.
Richard M. Stallman <rms@gnu.org>
parents: 5599
diff changeset
509 (cd lwlib; chmod u+w *.[ch] Makefile README)
4793
0a1aaeea3623 (src/Makefile, lib-src/Makefile, oldXMenu/Makefile): If these files
Brian Fox <bfox@gnu.org>
parents: 4748
diff changeset
510 (cd src; $(MAKE) $(MFLAGS) unlock)
2261
17cbbc48a154 Added unlock and relock productions.
Eric S. Raymond <esr@snark.thyrsus.com>
parents: 2225
diff changeset
511
17cbbc48a154 Added unlock and relock productions.
Eric S. Raymond <esr@snark.thyrsus.com>
parents: 2225
diff changeset
512 relock:
17cbbc48a154 Added unlock and relock productions.
Eric S. Raymond <esr@snark.thyrsus.com>
parents: 2225
diff changeset
513 chmod u-w $(SOURCES) cpp/*
17cbbc48a154 Added unlock and relock productions.
Eric S. Raymond <esr@snark.thyrsus.com>
parents: 2225
diff changeset
514 -(cd elisp; chmod u-w Makefile README *.texi)
4793
0a1aaeea3623 (src/Makefile, lib-src/Makefile, oldXMenu/Makefile): If these files
Brian Fox <bfox@gnu.org>
parents: 4748
diff changeset
515 (cd etc; $(MAKE) $(MFLAGS) relock)
0a1aaeea3623 (src/Makefile, lib-src/Makefile, oldXMenu/Makefile): If these files
Brian Fox <bfox@gnu.org>
parents: 4748
diff changeset
516 (cd lib-src; $(MAKE) $(MFLAGS) relock)
0a1aaeea3623 (src/Makefile, lib-src/Makefile, oldXMenu/Makefile): If these files
Brian Fox <bfox@gnu.org>
parents: 4748
diff changeset
517 (cd lisp; $(MAKE) $(MFLAGS) relock)
2261
17cbbc48a154 Added unlock and relock productions.
Eric S. Raymond <esr@snark.thyrsus.com>
parents: 2225
diff changeset
518 (cd lisp/term; chmod u+w README *.el)
17cbbc48a154 Added unlock and relock productions.
Eric S. Raymond <esr@snark.thyrsus.com>
parents: 2225
diff changeset
519 (cd man; chmod u+w *texi* ChangeLog split-man)
17cbbc48a154 Added unlock and relock productions.
Eric S. Raymond <esr@snark.thyrsus.com>
parents: 2225
diff changeset
520 (cd oldXMenu; chmod u+w *.[ch] Makefile README)
5630
374b344ce3b6 (lwlib/Makefile): New target.
Richard M. Stallman <rms@gnu.org>
parents: 5599
diff changeset
521 (cd lwlib; chmod u+w *.[ch] Makefile README)
4793
0a1aaeea3623 (src/Makefile, lib-src/Makefile, oldXMenu/Makefile): If these files
Brian Fox <bfox@gnu.org>
parents: 4748
diff changeset
522 (cd src; $(MAKE) $(MFLAGS) relock)
1686
10650dfc82d0 * Makefile.in (install, install.sysv, install.xenix, install.aix):
Jim Blandy <jimb@redhat.com>
parents: 1647
diff changeset
523
617
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 604
diff changeset
524 TAGS tags: lib-src
7462
2ead438fa63a (TAGS): Use the makefile in src subdir.
Richard M. Stallman <rms@gnu.org>
parents: 7405
diff changeset
525 cd ${srcdir}/src; $(MAKE) tags
617
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 604
diff changeset
526
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 604
diff changeset
527 check:
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 604
diff changeset
528 @echo "We don't have any tests for GNU Emacs yet."
621
eca8812e61cd *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 617
diff changeset
529
eca8812e61cd *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 617
diff changeset
530 dist:
1686
10650dfc82d0 * Makefile.in (install, install.sysv, install.xenix, install.aix):
Jim Blandy <jimb@redhat.com>
parents: 1647
diff changeset
531 cd ${srcdir}; make-dist
3780
20b847f36ade * Makefile.in (CPP): New variable.
Jim Blandy <jimb@redhat.com>
parents: 3749
diff changeset
532
5321
69d64181891b (mkdir): Make only the lockdir writable.
Richard M. Stallman <rms@gnu.org>
parents: 5200
diff changeset
533 .PHONY: info dvi dist check
69d64181891b (mkdir): Make only the lockdir writable.
Richard M. Stallman <rms@gnu.org>
parents: 5200
diff changeset
534 force-info:
69d64181891b (mkdir): Make only the lockdir writable.
Richard M. Stallman <rms@gnu.org>
parents: 5200
diff changeset
535 info: force-info
4793
0a1aaeea3623 (src/Makefile, lib-src/Makefile, oldXMenu/Makefile): If these files
Brian Fox <bfox@gnu.org>
parents: 4748
diff changeset
536 (cd ${srcdir}/man; $(MAKE) $(MFLAGS) info)
3780
20b847f36ade * Makefile.in (CPP): New variable.
Jim Blandy <jimb@redhat.com>
parents: 3749
diff changeset
537 dvi:
10064
9d103084f33b (dvi): Run Make in our man subdir.
Richard M. Stallman <rms@gnu.org>
parents: 9866
diff changeset
538 (cd man; $(MAKE) $(MFLAGS) dvi)