[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: regenerating HACKING

From: Jose E. Marchesi
Subject: Re: regenerating HACKING
Date: Sat, 20 Feb 2021 23:42:09 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

> Btw, do you have a Makefile rule
>   HACKING : etc/hacking.org
> somewhere? I guess it could be done through an 'emacs' invocation,
> but what would be the argument list to pass?

Hmm, good question.

This call:

emacs hacking.org --batch -f org-ascii-export-to-ascii --kill

Produces a file named hacking.txt with the ASCII export.

So, something like this in the top-level Makefile.am?

        emacs etc/hacking.org --batch -f org-ascii-export-to-ascii --kill
        mv etc/hacking.txt HACKING

reply via email to

[Prev in Thread] Current Thread [Next in Thread]