Thanks to the help of Marc Petit-Huguenin I have been able to create (and upload) debian packages (install fine on Ubuntu) for Pandoc2rfc and xml2rfc. For Pandoc2rfc I choose to add a little shell script that calls pandoc and xml2rfc for you. So creating an I-D is as simple as:

pandoc2rfc *.mkd    # or a few other extensions

The shell script depends on transform.xsl to be installed in /usr/lib/pandoc2rfc/, allthough this can be overridden with a flag. When pandoc2rfc is installed you don’t have carry the supports scripts inside your I-D’s source repo. My pandoc2rfc I-D source directory now only has: template.xml, abstract.pdc, back.pdc, middle.pdc and a bib/ directory with references.

Debian packages

As said there are now debian packages, see below on the setup. If you are finished you can install the pandoc2rfc and xml2rfc combo with:

sudo apt-get install python-xml2rfc pandoc2rfc

I’m still learning this create-deb-and-upload stuff, so some breakage might be expected….

With the help of Marc Petit-Huguenin I have access to a debian infra structure over at pandoc2rfc.implementers.org

Here’s what you should probably put in your: /etc/apt/sources.list.d/pandoc2rfc.list:

deb http://pandoc2rfc.implementers.org/ testing/$(ARCH)/
deb http://pandoc2rfc.implementers.org/ testing/all/
deb http://pandoc2rfc.implementers.org/ stable/$(ARCH)/
deb http://pandoc2rfc.implementers.org/ stable/all/
deb-src http://pandoc2rfc.implementers.org/ testing/source/
deb-src http://pandoc2rfc.implementers.org/ stable/source/

Note that if the apt-transport-https package is installed then I recommend to use https instead:

deb https://pandoc2rfc.implementers.org/ testing/$(ARCH)/
deb https://pandoc2rfc.implementers.org/ testing/all/
deb https://pandoc2rfc.implementers.org/ stable/$(ARCH)/
deb https://pandoc2rfc.implementers.org/ stable/all/
deb-src https://pandoc2rfc.implementers.org/ testing/source/
deb-src https://pandoc2rfc.implementers.org/ stable/source/

All the packages are automatically signed, you can install the public key like this:

wget https://pandoc2rfc.implementers.org/config/key.asc
sudo apt-key add key.asc

The fingerprint of the key is as follow:

CDB3 BC52 DFDC 8A58 35F1 714D 0309 943D 9AD0 8F3F