Skip to content

Commit

Permalink
Generate tuareg.install
Browse files Browse the repository at this point in the history
This prevents it from desynchronizing from the Makefile which manages
the compilation of Emacs Lisp files.

Fixes #281
  • Loading branch information
Chris00 committed Sep 29, 2022
1 parent 9447a6a commit 38c68bc
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 12 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ packages
/tuareg.*/
ChangeLog
tuareg-site-file.el
tuareg.install
8 changes: 8 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,14 @@ tuareg-site-file.el: $(SOURCES)
echo " ") >$@
$(EMACS) --batch --eval '(if (>= emacs-major-version 28) (make-directory-autoloads "." "'`pwd`'/$@") (setq generated-autoload-file "'`pwd`'/$@") (batch-update-autoloads))' "."

tuareg.install:
echo "share_root: [" > $@
for f in $(ELS); do \
echo " \"$$f\" {\"emacs/site-lisp/$$f\"}" >> $@; \
echo " \"?$${f}c\" {\"emacs/site-lisp/$${f}c\"}" >> $@; \
done
echo "]" >> $@

dist distrib: $(TARBALL)

$(TARBALL): $(DIST_FILES)
Expand Down
12 changes: 0 additions & 12 deletions tuareg.install

This file was deleted.

0 comments on commit 38c68bc

Please sign in to comment.