summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Eric Siegerman <pub08-git@davor.org>2017-11-07 16:22:25 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2017-11-07 16:28:05 -0400
commit9199ba473bda4eacc6d1bdde99180fef35bc2049 (patch)
tree740d2f1c39fe057358302558254b05f5a25472d0
parent8cf26c018cbc75a8238d848067386125dc25775f (diff)
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".
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
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