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".
This commit is contained in:
Eric Siegerman 2017-11-07 16:22:25 -04:00 committed by Joey Hess
parent 711f1e26bb
commit 5e68b322ec
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38

View file

@ -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