guile-user
[Top][All Lists]
Advanced

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

Re: Starting a GNU Guile awesome list


From: Zelphir Kaltstahl
Subject: Re: Starting a GNU Guile awesome list
Date: Sun, 8 Nov 2020 18:09:00 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0

Hi Ricardo!

Thanks for your reply. I've not gotten around to trying this yet.

I was hoping for a solution, which could use Elisp in one part of the
makefile and bash in another part of the makefile. I seem to remember a
blog post somewhere, in which someone explained how to use various
things as shells in makefiles, but I have lost the link to it and could
not find it again. I also do not remember, whether that was multiple
different things as shell in one makefile, or in separate files.

For example I would like to use Elisp for the Emacs stuff and Bash for
removing files.

However, in the meantime I figured out, that I could simply mark
something as .PHONY when I do not care about its output already being
there or when it has no output.

At some point I need to learn more about makefiles again. For now I
think my makefile knowledge is only basic.

Thanks,
Zelphir

On 10/12/20 12:33 PM, Ricardo Wurmus wrote:
> Zelphir Kaltstahl <zelphirkaltstahl@posteo.de> writes:
>
>>>> ~~~~
>>>> $ make clean
>>>> /bin/rm --verbose *.html *.md *.texi || true;
>>>> Symbol’s value as variable is void: /bin/rm
>>>> make: *** [Makefile:19: clean] Error 255
>>>> ~~~~
>>> Well, isn’t that expected as you’re using Emacs as a shell?
>> Yes : ) But that is the problem: How can I add a clean step, even though
>> I am using Emacs as shell? Or can I switch shell for one command?
> Try this elisp snippet:
>
>     (call-process "/bin/rm" nil nil nil "the-file-to-delete")
>
-- 
repositories: https://notabug.org/ZelphirKaltstahl




reply via email to

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