branch: externals/emacs-lisp-intro-es
commit 5962aae568d3745a0336e473847b68528fda3f1d
Author: David Arroyo Menéndez <[email protected]>
Commit: David Arroyo Menéndez <[email protected]>

    Makefile: add install and uninstall
---
 Makefile | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/Makefile b/Makefile
index 0de959b8cb..a38c8e688f 100644
--- a/Makefile
+++ b/Makefile
@@ -87,6 +87,15 @@ maintainer-clean: distclean
        rm -f *.aux *.cps *.fns *.kys *.pgs *.vrs *.toc *.tmp* 
        cd $(infodir); rm -f eintr eintr-[1-9]
 
+install: emacs-lisp-intro-es.html emacs-lisp-intro-es.pdf
+       mkdir -p $(DESTDIR)/usr/share/doc/elisp-es/html
+       mkdir -p $(DESTDIR)/usr/share/doc/elisp-es/pdf
+       cp emacs-lisp-intro-es.html $(DESTDIR)/usr/share/doc/elisp-es/html
+       cp emacs-lisp-intro-es.pdf $(DESTDIR)/usr/share/doc/elisp-es/pdf
+
+uninstall:
+       rm -rf $(DESTDIR)/usr/share/doc/elisp-es/
+
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
 # Otherwise a system limit (for SysV at least) may be exceeded.
 .NOEXPORT:

Reply via email to