diff options
| author | Glenn Morris | 2015-06-30 15:23:07 -0400 |
|---|---|---|
| committer | Glenn Morris | 2015-06-30 15:23:07 -0400 |
| commit | 290acafd7e908b964fc8844f62f3309fca943a4b (patch) | |
| tree | 476adb17790125bf2f70d30ce960e9273b0b9ab0 | |
| parent | 9ae0d76c3b4cb82ef3107638b89cfa2c9781d59d (diff) | |
| download | emacs-290acafd7e908b964fc8844f62f3309fca943a4b.tar.gz emacs-290acafd7e908b964fc8844f62f3309fca943a4b.zip | |
* lisp/Makefile.in (MH_E_SRC, TRAMP_SRC, CAL_SRC):
Replace hard-coded lists with wildcard + filter-out.
| -rw-r--r-- | lisp/Makefile.in | 39 |
1 files changed, 7 insertions, 32 deletions
diff --git a/lisp/Makefile.in b/lisp/Makefile.in index 46de98925de..e4c1ca1fdc9 100644 --- a/lisp/Makefile.in +++ b/lisp/Makefile.in | |||
| @@ -368,20 +368,8 @@ compile-one-process: $(LOADDEFS) compile-first | |||
| 368 | # Update MH-E internal autoloads. These are not to be confused with | 368 | # Update MH-E internal autoloads. These are not to be confused with |
| 369 | # the autoloads for the MH-E entry points, which are already in loaddefs.el. | 369 | # the autoloads for the MH-E entry points, which are already in loaddefs.el. |
| 370 | MH_E_DIR = $(lisp)/mh-e | 370 | MH_E_DIR = $(lisp)/mh-e |
| 371 | ## MH_E_SRC avoids a circular dependency warning for mh-loaddefs.el. | 371 | MH_E_SRC = $(sort $(wildcard ${MH_E_DIR}/mh*.el)) |
| 372 | MH_E_SRC = $(MH_E_DIR)/mh-acros.el $(MH_E_DIR)/mh-alias.el \ | 372 | MH_E_SRC := $(filter-out ${MH_E_DIR}/mh-loaddefs.el,${MH_E_SRC}) |
| 373 | $(MH_E_DIR)/mh-buffers.el $(MH_E_DIR)/mh-compat.el \ | ||
| 374 | $(MH_E_DIR)/mh-comp.el $(MH_E_DIR)/mh-e.el \ | ||
| 375 | $(MH_E_DIR)/mh-folder.el $(MH_E_DIR)/mh-funcs.el \ | ||
| 376 | $(MH_E_DIR)/mh-gnus.el $(MH_E_DIR)/mh-identity.el \ | ||
| 377 | $(MH_E_DIR)/mh-inc.el $(MH_E_DIR)/mh-junk.el \ | ||
| 378 | $(MH_E_DIR)/mh-letter.el $(MH_E_DIR)/mh-limit.el \ | ||
| 379 | $(MH_E_DIR)/mh-mime.el $(MH_E_DIR)/mh-print.el \ | ||
| 380 | $(MH_E_DIR)/mh-scan.el $(MH_E_DIR)/mh-search.el \ | ||
| 381 | $(MH_E_DIR)/mh-seq.el $(MH_E_DIR)/mh-show.el \ | ||
| 382 | $(MH_E_DIR)/mh-speed.el $(MH_E_DIR)/mh-thread.el \ | ||
| 383 | $(MH_E_DIR)/mh-tool-bar.el $(MH_E_DIR)/mh-utils.el \ | ||
| 384 | $(MH_E_DIR)/mh-xface.el | ||
| 385 | 373 | ||
| 386 | .PHONY: mh-autoloads | 374 | .PHONY: mh-autoloads |
| 387 | mh-autoloads: $(MH_E_DIR)/mh-loaddefs.el | 375 | mh-autoloads: $(MH_E_DIR)/mh-loaddefs.el |
| @@ -395,12 +383,8 @@ $(MH_E_DIR)/mh-loaddefs.el: $(MH_E_SRC) | |||
| 395 | # an own subdirectory. OTOH, it does not hurt to keep them in | 383 | # an own subdirectory. OTOH, it does not hurt to keep them in |
| 396 | # lisp/net. | 384 | # lisp/net. |
| 397 | TRAMP_DIR = $(lisp)/net | 385 | TRAMP_DIR = $(lisp)/net |
| 398 | TRAMP_SRC = $(TRAMP_DIR)/tramp.el $(TRAMP_DIR)/tramp-adb.el \ | 386 | TRAMP_SRC = $(sort $(wildcard ${TRAMP_DIR}/tramp*.el)) |
| 399 | $(TRAMP_DIR)/tramp-cache.el $(TRAMP_DIR)/tramp-cmds.el \ | 387 | TRAMP_SRC := $(filter-out ${TRAMP_DIR}/tramp-loaddefs.el,${TRAMP_SRC}) |
| 400 | $(TRAMP_DIR)/tramp-compat.el $(TRAMP_DIR)/tramp-ftp.el \ | ||
| 401 | $(TRAMP_DIR)/tramp-gvfs.el $(TRAMP_DIR)/tramp-gw.el \ | ||
| 402 | $(TRAMP_DIR)/tramp-sh.el $(TRAMP_DIR)/tramp-smb.el \ | ||
| 403 | $(TRAMP_DIR)/tramp-uu.el $(TRAMP_DIR)/trampver.el | ||
| 404 | 388 | ||
| 405 | $(TRAMP_DIR)/tramp-loaddefs.el: $(TRAMP_SRC) | 389 | $(TRAMP_DIR)/tramp-loaddefs.el: $(TRAMP_SRC) |
| 406 | $(AM_V_GEN)$(emacs) -l autoload \ | 390 | $(AM_V_GEN)$(emacs) -l autoload \ |
| @@ -410,18 +394,9 @@ $(TRAMP_DIR)/tramp-loaddefs.el: $(TRAMP_SRC) | |||
| 410 | 394 | ||
| 411 | CAL_DIR = $(lisp)/calendar | 395 | CAL_DIR = $(lisp)/calendar |
| 412 | ## Those files that may contain internal calendar autoload cookies. | 396 | ## Those files that may contain internal calendar autoload cookies. |
| 413 | ## Avoids circular dependency warning for *-loaddefs.el. | 397 | CAL_SRC = $(addprefix ${CAL_DIR}/,diary-lib.el holidays.el lunar.el solar.el) |
| 414 | CAL_SRC = $(CAL_DIR)/cal-bahai.el $(CAL_DIR)/cal-china.el \ | 398 | CAL_SRC := $(sort ${CAL_SRC} $(wildcard ${CAL_DIR}/cal*.el)) |
| 415 | $(CAL_DIR)/cal-coptic.el $(CAL_DIR)/cal-dst.el \ | 399 | CAL_SRC := $(filter-out ${CAL_DIR}/cal-loaddefs.el,${CAL_SRC}) |
| 416 | $(CAL_DIR)/cal-french.el $(CAL_DIR)/cal-hebrew.el \ | ||
| 417 | $(CAL_DIR)/cal-html.el $(CAL_DIR)/cal-islam.el \ | ||
| 418 | $(CAL_DIR)/cal-iso.el $(CAL_DIR)/cal-julian.el \ | ||
| 419 | $(CAL_DIR)/cal-mayan.el $(CAL_DIR)/cal-menu.el \ | ||
| 420 | $(CAL_DIR)/cal-move.el $(CAL_DIR)/cal-persia.el \ | ||
| 421 | $(CAL_DIR)/cal-tex.el $(CAL_DIR)/cal-x.el \ | ||
| 422 | $(CAL_DIR)/calendar.el $(CAL_DIR)/diary-lib.el \ | ||
| 423 | $(CAL_DIR)/holidays.el $(CAL_DIR)/lunar.el \ | ||
| 424 | $(CAL_DIR)/solar.el | ||
| 425 | 400 | ||
| 426 | $(CAL_DIR)/cal-loaddefs.el: $(CAL_SRC) | 401 | $(CAL_DIR)/cal-loaddefs.el: $(CAL_SRC) |
| 427 | $(AM_V_GEN)$(emacs) -l autoload \ | 402 | $(AM_V_GEN)$(emacs) -l autoload \ |