Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fix generation of autoloads

this should fix issue 6
  • Loading branch information...
commit d6d0ed71bd006a913978bbdef04fdf06340bfaf1 1 parent cd20ad4
@alexott alexott authored
Showing with 6 additions and 7 deletions.
  1. +1 −0  .gitignore
  2. +5 −7 Makefile
View
1  .gitignore
@@ -3,3 +3,4 @@
/TAGS
/html-help/
/info-help/
+/ecb-autoloads.el
View
12 Makefile
@@ -126,6 +126,8 @@ ecb_VERSION=2.41
include ecb-makedef.mk
+all: ecb autoloads online-help
+
ecb: $(ecb_LISP_EL)
@echo "Byte-compiling ECB with LOADPATH=${LOADPATH} ..."
@$(RM) $(ecb_LISP_ELC) ecb-compile-script
@@ -150,8 +152,6 @@ ecb: $(ecb_LISP_EL)
$(EBATCH) -l ecb-compile-script --eval '(ecb-byte-compile t)'
@$(RM) ecb-compile-script
-all: ecb online-help
-
online-help: $(ecb_TEXI)
@if test -x "$(MAKEINFO)"; then\
$(RM) -R $(ecb_INFO_DIR) $(ecb_HTML_DIR); \
@@ -210,7 +210,7 @@ install-help: $(ecb_INFO_DIR)/$(ecb_INFO)
clean:
- @$(RM) $(ecb_LISP_ELC) ecb-compile-script
+ @$(RM) $(ecb_LISP_ELC) ecb-compile-script ecb-autoloads.el*
# The targets below are only for maintaining the ECB-package.
@@ -239,11 +239,9 @@ prepversion:
echo "w"; \
echo "q") | ed -s $(ecb_TEXI) 1> /dev/null
-
-autoloads:
+autoloads: ecb
@$(RM) $(ecb_AUTOLOADS) $(ecb_AUTOLOADS)c
- $(EBATCH) -l ecb-autogen -f ecb-update-autoloads
-
+ $(EBATCH) --eval "(add-to-list 'load-path nil)" -l ecb-autogen -f ecb-update-autoloads
# builds the distribution file $(ecb_VERSION).tar.gz
distrib: $(ecb_INFO_DIR)/$(ecb_INFO) prepversion autoloads ecb
Please sign in to comment.
Something went wrong with that request. Please try again.