/[emacs]/emacs/lisp/Makefile.in
ViewVC logotype

Diff of /emacs/lisp/Makefile.in

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.34.2.2 by miles, Sat Jun 15 16:51:28 2002 UTC revision 1.34.2.3 by miles, Fri Apr 4 06:20:00 2003 UTC
# Line 65  DONTCOMPILE = \ Line 65  DONTCOMPILE = \
65          $(lisp)/international/mule-conf.el \          $(lisp)/international/mule-conf.el \
66          $(lisp)/language/czech.el \          $(lisp)/language/czech.el \
67          $(lisp)/language/devanagari.el \          $(lisp)/language/devanagari.el \
68            $(lisp)/language/malayalam.el \
69            $(lisp)/language/tamil.el \
70          $(lisp)/language/english.el \          $(lisp)/language/english.el \
71          $(lisp)/language/greek.el \          $(lisp)/language/greek.el \
72          $(lisp)/language/hebrew.el \          $(lisp)/language/hebrew.el \
# Line 133  setwins=subdirs=`find $$wd -type d -prin Line 135  setwins=subdirs=`find $$wd -type d -prin
135             esac; \             esac; \
136          done          done
137    
138  finder_setwins=subdirs=`find $$wd -type d -print`; \  setwins_almost=subdirs=`find $$wd -type d -print`; \
139          for file in $$subdirs; do \          for file in $$subdirs; do \
140             case $$file in */Old | */RCS | */CVS | */CVS/* | */=* | */obsolete | */term ) ;; \             case $$file in */Old | */RCS | */CVS | */CVS/* | */=* | */obsolete | */term ) ;; \
141                  *) wins="$$wins $$file" ;; \                  *) wins="$$wins $$file" ;; \
# Line 142  finder_setwins=subdirs=`find $$wd -type Line 144  finder_setwins=subdirs=`find $$wd -type
144    
145  doit:  doit:
146    
147  cus-load.el:  $(lisp)/cus-load.el:
148          touch $@          touch $@
149  custom-deps: cus-load.el doit  custom-deps: $(lisp)/cus-load.el doit
150          wd=$(lisp); $(setwins); \          wd=$(lisp); $(setwins_almost); \
151          echo Directories: $$wins; \          echo Directories: $$wins; \
152          $(EMACS) $(EMACSOPT) -l cus-dep -f custom-make-dependencies $$wins          $(EMACS) $(EMACSOPT) -l cus-dep --eval '(setq generated-custom-dependencies-file "$(lisp)/cus-load.el")' -f custom-make-dependencies $$wins
153    
154  finder-data: doit  finder-data: doit
155          wd=$(lisp); $(finder_setwins); \          wd=$(lisp); $(setwins_almost); \
156          echo Directories: $$wins; \          echo Directories: $$wins; \
157          $(EMACS) $(EMACSOPT) -l finder -f finder-compile-keywords-make-dist $$wins          $(EMACS) $(EMACSOPT) -l finder --eval '(setq generated-finder-keywords-file "$(lisp)/finder-inf.el")' -f finder-compile-keywords-make-dist $$wins
158    
159  loaddefs.el:  $(lisp)/loaddefs.el:
160          echo ";;; loaddefs.el --- automatically extracted autoloads" >> $@          echo ";;; loaddefs.el --- automatically extracted autoloads" >> $@
161          echo ";;" >> $@; echo ";;; Code:" >> $@          echo ";;" >> $@; echo ";;; Code:" >> $@
162          echo " " >> $@          echo " " >> $@
# Line 164  loaddefs.el: Line 166  loaddefs.el:
166          echo ";;; no-update-autoloads: t" >> $@          echo ";;; no-update-autoloads: t" >> $@
167          echo ";;; End:" >> $@          echo ";;; End:" >> $@
168          echo ";;; loaddefs.el ends here" >> $@          echo ";;; loaddefs.el ends here" >> $@
169  autoloads: loaddefs.el doit  autoloads: $(lisp)/loaddefs.el doit
170          wd=$(lisp); $(setwins); \          wd=$(lisp); $(setwins); \
171          echo Directories: $$wins; \          echo Directories: $$wins; \
172          $(EMACS) $(EMACSOPT) -l autoload --eval '(setq generated-autoload-file "$(lisp)/loaddefs.el")' -f batch-update-autoloads $$wins          $(EMACS) $(EMACSOPT) -l autoload --eval '(setq generated-autoload-file "$(lisp)/loaddefs.el")' -f batch-update-autoloads $$wins
173    
174  subdirs.el:  $(lisp)/subdirs.el:
175          $(MAKE) $(MFLAGS) update-subdirs          $(MAKE) $(MFLAGS) update-subdirs
176  update-subdirs: doit  update-subdirs: doit
177          wd=$(lisp); $(setwins); \          wd=$(lisp); $(setwins); \
# Line 194  TAGS-LISP: $(lisptagsfiles1) $(lisptagsf Line 196  TAGS-LISP: $(lisptagsfiles1) $(lisptagsf
196    
197  .SUFFIXES: .elc .el  .SUFFIXES: .elc .el
198    
199  .el.elc: subdirs.el  .el.elc: $(lisp)/subdirs.el
200          -$(emacs) -f batch-byte-compile $<          -$(emacs) -f batch-byte-compile $<
201    
202  $(DONTCOMPILE:.el=.elc):  $(DONTCOMPILE:.el=.elc):
# Line 215  $(DONTCOMPILE:.el=.elc): Line 217  $(DONTCOMPILE:.el=.elc):
217  # $(DONTCOMPILE) twice.  This is in case one of the files in DONTCOMPILE  # $(DONTCOMPILE) twice.  This is in case one of the files in DONTCOMPILE
218  # is absent.  -stef  # is absent.  -stef
219    
220  compile: subdirs.el doit  compile: $(lisp)/subdirs.el doit
221          find $(lisp) -name "*.elc" -print | xargs chmod +w >/dev/null 2>&1; \          find $(lisp) -name "*.elc" -print | xargs chmod +w >/dev/null 2>&1; \
222          wd=$(lisp); $(setwins);                                             \          wd=$(lisp); $(setwins);                                             \
223          elpat=`echo $$wins | tr '       ' '\012\012' |                      \          elpat=`echo $$wins | tr '       ' '\012\012' |                      \
# Line 232  compile: subdirs.el doit Line 234  compile: subdirs.el doit
234    
235  # Compile all Lisp files, except those from DONTCOMPILE.  This  # Compile all Lisp files, except those from DONTCOMPILE.  This
236  # is like `compile' but compiles files unconditionally.  # is like `compile' but compiles files unconditionally.
237  compile-always: subdirs.el doit  compile-always: $(lisp)/subdirs.el doit
238          find $(lisp) -name "*.elc" -print | xargs chmod +w >/dev/null 2>&1; \          # `|| true' prevents old Bash versions from getting confused
239            # by an error.
240            find $(lisp) -name "*.elc" -print | xargs chmod +w >/dev/null 2>&1 || true; \
241          wd=$(lisp); $(setwins); \          wd=$(lisp); $(setwins); \
242          elpat=`echo $$wins | tr '       ' '\012\012' | \          elpat=`echo $$wins | tr '       ' '\012\012' | \
243                  sed -e 's|\(.\)$$|\1/|' -e 's|^\./||' -e 's|$$|*.el|'`; \                  sed -e 's|\(.\)$$|\1/|' -e 's|^\./||' -e 's|$$|*.el|'`; \
# Line 247  compile-always: subdirs.el doit Line 251  compile-always: subdirs.el doit
251            fi \            fi \
252          done          done
253    
254  compile-calc:  compile-calc:
255          for el in $(find $(lisp)/calc -name '*.el'); do \          for el in `find $(lisp)/calc -name '*.el'`; do \
256            echo Compiling $$el; \            echo Compiling $$el; \
257            $(emacs) -f batch-byte-compile $$el || exit 1; \            $(emacs) -f batch-byte-compile $$el || exit 1; \
258          done          done
# Line 279  recompile: doit Line 283  recompile: doit
283    
284  bootstrap-clean:  bootstrap-clean:
285          if test -x $(EMACS); then $(MAKE) $(MFLAGS) autoloads; fi          if test -x $(EMACS); then $(MAKE) $(MFLAGS) autoloads; fi
286          -rm -f $(lisp)/*.elc $(lisp)/*/*.elc          cd $(lisp); rm -f *.elc */*.elc
287    
288  # Generate/update files for the bootstrap process.  # Generate/update files for the bootstrap process.
289    
290  bootstrap: update-subdirs autoloads compile finder-data custom-deps  bootstrap: update-subdirs autoloads compile
291    
292    # Generate/update files after the bootstrap process.
293    # custom-deps needs `preloaded-file-list'.
294    
295    bootstrap-after: finder-data custom-deps
296    
297  distclean:  distclean:
298          -rm -f ./Makefile          -rm -f ./Makefile

Legend:
Removed from v.1.34.2.2  
changed lines
  Added in v.1.34.2.3

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26