aboutsummaryrefslogtreecommitdiff
path: root/doc/bugs/__91__PATCH__93___Build_Build__47__InstallDesktopFile_at___34__make_all__34___time.mdwn
blob: ef4e63ffae43950662f4da0599bd68ee50e68b7d (plain)
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
26
27
28
29
	commit 69138285fd4671855184a2de68e1b99aa0a4f3a8
	Author: Eric Siegerman <pub08-git@davor.org>
	Date:   Tue Oct 31 02:17:27 2017 -0400

	    Build Build/InstallDesktopFile at "make all" time
	    
	    If you run stack as root (e.g. for "make install"), any files it
	    creates under ./ will, of course, be owned by root.  That's a
	    problem for subsequent runs as non-root.
	    
	    Reduce the likelihood of that happening by building
	    Build/InstallDesktopFile during "make all", so that it needn't be
	    built by "make install".

	diff --git a/Makefile b/Makefile
	index aceb65cae..6ac241f67 100644
	--- a/Makefile
	+++ b/Makefile
	@@ -1,4 +1,4 @@
	-all=git-annex git-annex-shell mans docs
	+all=git-annex git-annex-shell mans docs Build/InstallDesktopFile
	 
	 # set to "./Setup" if you lack a cabal program. Or can be set to "stack"
	 BUILDER?=cabal

> Applied [[done]]. Note that I had to do a considerable amount of editing to
> get that in to a form that `git am` would accept. In the future,
> providing a patch in a form that `git am` can use would be better.
> --[[Joey]]