tftor...@tftorrey.com (T.F. Torrey) writes:

> I wonder how much effort it would take to copy onto my own machine the
> scripts on the server that package the git maint version into an ELPA
> version, and modify them to package master instead.  Probably not much.

The shell script below is what I use to create my own org-plus-contrib
ELPA package.

Rather than relying on elpa.gnu.org, melpa.org, orgmode.org/elpa, etc.,
I've been creating my own packages over the past year or so.  This way I
know exactly which packages are installed in not only my emacs, but my
colleagues who use my packages.  So far this has worked out great for
me.


#!/bin/sh

# This script builds org-plus-contrib-YYYYMMDD.tar ELPA package from the git
# clone of org-mode.

if [ ! -f mk/server.mk ]; then
  echo "Current directory must be org-mode root directory"
  exit 1
fi

# Where to install the tarballs 
SERVROOT=$HOME/public_html/elpa/orgmode

# server.mk has the elpaplus makefile target
echo " include mk/server.mk" >> Makefile

make SERVROOT=$SERVROOT elpaplus elpaplus-up

# Undo the change made above
git checkout Makefile
rm -f archive-contents

# $SERVROOT/org-plus-contrib-YYYYMMDD.tar
# should now be created with today as value of YYYYMMDD.

Reply via email to