summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar erics <erics@web>2017-11-01 20:56:11 +0000
committerGravatar admin <admin@branchable.com>2017-11-01 20:56:11 +0000
commitedac0b25d65f1f6f29dcf1861622c79cdd5fb1c1 (patch)
treec76aa6832b391692713e55908f19e88017840dbe
parent3b85f405fa587edcb51fde230e04a8a133819478 (diff)
-rw-r--r--doc/bugs/__91__PATCH__93___Build_Build__47__InstallDesktopFile_at___34__make_all__34___time.mdwn24
1 files changed, 24 insertions, 0 deletions
diff --git a/doc/bugs/__91__PATCH__93___Build_Build__47__InstallDesktopFile_at___34__make_all__34___time.mdwn b/doc/bugs/__91__PATCH__93___Build_Build__47__InstallDesktopFile_at___34__make_all__34___time.mdwn
new file mode 100644
index 000000000..0ee250c6c
--- /dev/null
+++ b/doc/bugs/__91__PATCH__93___Build_Build__47__InstallDesktopFile_at___34__make_all__34___time.mdwn
@@ -0,0 +1,24 @@
+ 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