use wget or curl according to what is available

* doc/Makefile.am, elisp/Makefile.am: here.
* HACKING: add missing requirements.
This commit is contained in:
Etienne Renault 2017-01-31 16:09:07 +01:00 committed by Alexandre Duret-Lutz
parent 63116ff79c
commit 4fdaf0e14e
3 changed files with 4 additions and 3 deletions

View file

@ -1,5 +1,5 @@
## -*- coding: utf-8 -*-
## Copyright (C) 2015, 2016 Laboratoire de Recherche et Développement
## Copyright (C) 2015, 2016, 2017 Laboratoire de Recherche et Développement
## de l'Epita (LRDE).
##
## This file is part of Spot, a model checking library.
@ -23,5 +23,5 @@ GIT = https://gitlab.lrde.epita.fr/spot/emacs-modes/raw/master/
.PHONY: update-el
update-el:
wget $(GIT)/hoa-mode.el -O $(srcdir)/hoa-mode.el
wget $(GIT)/hoa-mode.el -O $(srcdir)/hoa-mode.el || curl $(GIT)/hoa-mode.el -o $(srcdir)/hoa-mode.el
chmod a-w $(srcdir)/hoa-mode.el