unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
blob 3e956bedd597f99f545d492ed79f86d7d8ed6104 776 bytes (raw)
name: packages/patches/laby-make-install.patch 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
 
From e9896b8951f9faf1f76a3b45be6e70d0aeb30a73 Mon Sep 17 00:00:00 2001
From: Jan Nieuwenhuizen <janneke@gnu.org>
Date: Sat, 15 Nov 2014 17:48:18 +0100
Subject: [PATCH] Add make install.

---
 Makefile | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/Makefile b/Makefile
index ca18c1e..65af31b 100644
--- a/Makefile	2016-02-09 21:34:01.883660009 +0100
+++ b/Makefile	2016-02-09 21:34:30.672150679 +0100
@@ -19,3 +19,11 @@
 	@git archive --prefix="$(PROJECT_ARCHIVE)/" HEAD \
 		 | gzip >_dist/"$(PROJECT_ARCHIVE)".tar.gz
 	@echo archive stored in "_dist/$(PROJECT_ARCHIVE).tar.gz"
+
+PREFIX=/usr/local
+install:
+	strip laby
+	mkdir -p $(PREFIX)/bin
+	cp laby $(PREFIX)/bin/laby
+	mkdir -p $(PREFIX)/share/laby
+	tar -C data -cf - . | tar -C $(PREFIX)/share/laby -xf-

debug log:

solving 3e956bedd597f99f545d492ed79f86d7d8ed6104 ...
found 3e956bedd597f99f545d492ed79f86d7d8ed6104 in https://git.savannah.gnu.org/cgit/guix.git

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).