summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 77920f76365..9523b733481 100644
--- a/Makefile
+++ b/Makefile
@@ -5,7 +5,7 @@ EMACS=emacs
ARCHIVE_TMP=archive-tmp
SITE_DIR=site
-.PHONY: archive-tmp process-archive archive-full org-fetch clean all
+.PHONY: archive-tmp process-archive archive-full org-fetch clean all do-it
## Set up the source files for direct usage, by pointing
## `package-directory-list' to the site/ directory.
@@ -14,6 +14,10 @@ site: packages
$(EMACS) -batch -l $(CURDIR)/admin/archive-contents.el \
--eval "(batch-make-site-dir \"packages\" \"$(SITE_DIR)\")"
+site/%: do-it
+ $(EMACS) -batch -l $(CURDIR)/admin/archive-contents.el \
+ --eval "(progn (setq debug-on-error t) (batch-make-site-package \"$@\"))"
+
## Deploy the package archive to archive/, with packages in
## archive/packages/:
archive: archive-tmp