summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2024-01-02 03:53:50 -0300
committerEuAndreh <eu@euandre.org>2024-01-02 03:55:26 -0300
commit78bc474b26301f0c725ef0f962cc6a29d29ddcc1 (patch)
tree92654e677ec0aaf60f796fd19285cd8e85599e82 /Makefile
parentMakefile: Don't build shared libraries anymore (diff)
downloadpindaiba-78bc474b26301f0c725ef0f962cc6a29d29ddcc1.tar.gz
pindaiba-78bc474b26301f0c725ef0f962cc6a29d29ddcc1.tar.xz
Makefile: Replace $(TRANSLATIONS) with $(LANGUAGES)
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 92ef0db..501b17b 100644
--- a/Makefile
+++ b/Makefile
@@ -4,7 +4,7 @@ VERSION = 0.1.0
NAME = pindaiba
NAME_UC = PindaĆ­ba
MAILING_LIST = public-inbox
-TRANSLATIONS =
+LANGUAGES = en
## Installation prefix. Defaults to "/usr".
PREFIX = /usr
BINDIR = $(PREFIX)/bin
@@ -150,7 +150,7 @@ install: all
mkdir -p "$$dir"; \
cp -P "$$f" "$$dir"; \
done
- for l in en $(TRANSLATIONS); do \
+ for l in $(LANGUAGES); do \
dir='$(DESTDIR)$(LOCALEDIR)'/"$$l"/LC_MESSAGES; \
mkdir -p "$$dir"; \
cp src/$(NAME)."$$l".cat "$$dir"/$(NAME).cat; \
@@ -166,7 +166,7 @@ uninstall:
'$(DESTDIR)$(LIBDIR)'/lib$(NAME).a \
'$(DESTDIR)$(INCLUDEDIR)'/$(NAME).h \
'$(DESTDIR)$(SRCDIR)'
- for l in en $(TRANSLATIONS); do \
+ for l in $(LANGUAGES); do \
rm -f '$(DESTDIR)$(LOCALEDIR)'/"$$l"/LC_MESSAGES/$(NAME).cat; \
done
sh tools/manpages.sh -up '$(DESTDIR)$(MANDIR)' $(manpages)