blob: bf6bc215db49314f38166b74085a51c72c31912a (
plain) (
blame)
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
|
--- Makefile.orig 2017-10-20 04:48:01 UTC
+++ Makefile
@@ -6,7 +6,7 @@ EPREFIX = $(PREFIX)
LIBINSTALLDIR = $(EPREFIX)/lib
DATADIR = $(PREFIX)/share
-MANPREFIX = $(PREFIX)/share
+MANPREFIX ?= $(PREFIX)/share
# /etc if PREFIX is /usr, $PREFIX/etc otherwise.
ETCDIR := $(shell [ "$(PREFIX)" = "/usr" ] && echo /etc || echo "$(PREFIX)/etc")
XDGCONFDIR = $(ETCDIR)/xdg
@@ -23,6 +23,7 @@ EXAILELIBDIR = $(DESTDIR)$(LIBINSTALLDIR)/exaile
EXAILESHAREDIR = $(DESTDIR)$(DATADIR)/exaile
EXAILECONFDIR = $(DESTDIR)$(XDGCONFDIR)/exaile
EXAILEMANDIR = $(DESTDIR)$(MANPREFIX)/man
+BASHCOMPDIR = $(ETCDIR)/bash_completion.d
.PHONY: dist test completion coverage clean sanitycheck builddir
@@ -202,7 +203,7 @@ po/messages.pot: pot
# The "set -o pipefail" (only works on Bash) makes the whole thing die if any of the find fails.
# The "LC_ALL=C" disables any locale-dependent sort behavior.
pot:
- ( set -o pipefail || true && \
+ ( set || true && \
export LC_ALL=C && cd po && \
{ find ../xl ../xlgui -name "*.py" | sort && \
find ../data/ui -name "*.ui" | sort && \
|