]> git.proxmox.com Git - spiceterm.git/commitdiff
add install target
authorDietmar Maurer <dietmar@proxmox.com>
Thu, 31 Oct 2013 05:34:22 +0000 (06:34 +0100)
committerDietmar Maurer <dietmar@proxmox.com>
Thu, 31 Oct 2013 05:34:22 +0000 (06:34 +0100)
Makefile

index b6f20351732293527717d3e8e43d14bcc9737af6..27c42984778d3af8c0e0ffb1d83dc1e2d2479872 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -22,6 +22,13 @@ keysyms.h: genkeysym.pl
 glyphs: genfont
        ./genfont > glyphs.h
 
+.PHONY: install
+install:
+       mkdir -p ${DESTDIR}/usr/share/doc/${PACKAGE}
+       mkdir -p ${DESTDIR}/usr/share/man/man1
+       mkdir -p ${DESTDIR}/usr/bin
+       install -s -m 0755 spiceterm ${DESTDIR}/usr/bin
+
 .PHONY: test
 test: spiceterm
        ./spiceterm --noauth --keymap de & remote-viewer spice://localhost?tls-port=5900