summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAchim Gratz <Stromeko@Stromeko.DE>2012-09-27 20:36:08 +0200
committerAchim Gratz <Stromeko@Stromeko.DE>2012-09-27 20:36:08 +0200
commit418ec0f5e7be3cda66b05c63d60c6633a244c587 (patch)
tree1c26facbbbe8b9037bce11b87af790d55623a056
parent453be213cec00167c043d7db2dae5cc9c7503f32 (diff)
downloadorg-mode-418ec0f5e7be3cda66b05c63d60c6633a244c587.tar.gz
mk/server.mk: (hopefully) correct generation of the package description vector
* mk/server.mk: Correct generation of the package description vector. Use empty list instead of nil and add the package type "tar". With these changes a local copy of the package directory is recognized correctly. Add local file variable to the package description files so that the byte compiler does not try to compile them.
-rw-r--r--mk/server.mk20
1 files changed, 12 insertions, 8 deletions
diff --git a/mk/server.mk b/mk/server.mk
index ae91dae..7cdae55 100644
--- a/mk/server.mk
+++ b/mk/server.mk
@@ -65,17 +65,19 @@ elpa-dirty:
@$(MAKE) GITVERSION=$(GITVERSION:release_%=%)-elpa version autoloads
-@$(RM) $(ORGDIR) $(ORGTAR) $(ORGZIP)
ln -s . $(ORGDIR)
- echo "(define-package \"org\" \"$(PKG_TAG)\" \"$(PKG_DOC)\" $(PKG_REQ))" \
- > org-pkg.el
- tar --exclude=Makefile --exclude="org-colview-xemacs.el" --transform='s:\(lisp\|doc\)/::' -cf $(ORGDIR).tar \
+ echo "(define-package \"org\"" > org-pkg.el
+ echo " \"$(PKG_TAG)\" \"$(PKG_DOC)\" ($(PKG_REQ)))" >> org-pkg.el
+ echo ";; no-byte-compile: t" >> org-pkg.el
+ tar --exclude=Makefile --exclude="org-colview-xemacs.el" \
+ --transform='s:\(lisp\|doc\)/::' -cf $(ORGDIR).tar \
$(foreach dist, $(ORGELPA), $(ORGDIR)/$(dist))
-@$(RM) $(ORGDIR) org-pkg.el
elpa-up: info card elpa-dirty archive-contents
$(CP) archive-contents $(ORGDIR).tar $(SERVROOT)/pkg/daily/
archive-contents:
- echo "(1 (org . [($(PKG_TAG)) nil \"$(PKG_DOC)\"])\n" > $@ \
- " (org-plus-contrib . [($(PKG_TAG)) nil \"$(PKG_DOC)\"]))" >> $@
+ echo "(1 (org . [($(PKG_TAG)) ($(PKG_REQ)) \"$(PKG_DOC)\" tar])" > $@
+ echo " (org-plus-contrib . [($(PKG_TAG)) ($(PKG_REQ)) \"$(PKG_DOC)\" tar]))" >> $@
elpaplus: cleanall info card elpaplus-dirty
elpaplus-dirty elpaplus-up: ORG_ADD_CONTRIB=org-*
@@ -84,9 +86,11 @@ elpaplus-dirty:
@$(MAKE) GITVERSION=$(GITVERSION:release_%=%)-elpaplus version autoloads
-@$(RM) $(ORGDIR) $(ORGTAR) $(ORGZIP)
ln -s . $(ORGDIR)
- echo "(define-package \"org-plus-contrib\" \"$(PKG_TAG)\" \"$(PKG_DOC)\" $(PKG_REQ))" \
- > org-plus-contrib-pkg.el
- tar --exclude=Makefile --exclude="org-colview-xemacs.el" --transform='s:\(lisp\|doc\)/::' -cf $(ORGDIR).tar \
+ echo "(define-package \"org-plus-contrib\"" > org-plus-contrib-pkg.el
+ echo " \"$(PKG_TAG)\" \"$(PKG_DOC)\" ($(PKG_REQ)))" >> org-plus-contrib-pkg.el
+ echo ";; no-byte-compile: t" >> org-plus-contrib-pkg.el
+ tar --exclude=Makefile --exclude="org-colview-xemacs.el" \
+ --transform='s:\(lisp\|doc\)/::' -cf $(ORGDIR).tar \
$(foreach dist, $(ORGELPAPLUS), $(ORGDIR)/$(dist))
-@$(RM) $(ORGDIR) org-plus-contrib-pkg.el
@$(MAKE) cleanlisp