aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2022-01-20 23:29:42 -0300
committerEuAndreh <eu@euandre.org>2022-01-20 23:29:42 -0300
commit7bb30b4d8ec7fdb24b23b02f04897d9b0480056f (patch)
treeda43640e508355eb73a3492e79546a312b1cf66d /Makefile
parentaux/workflow/TODOs.sh: Fix catenation of aux/workflow/preamble.md (diff)
downloadgit-permalink-7bb30b4d8ec7fdb24b23b02f04897d9b0480056f.tar.gz
git-permalink-7bb30b4d8ec7fdb24b23b02f04897d9b0480056f.tar.xz
Add diacritic and spaces to mk{s,d}temp paths to enforce that everything works with it
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile27
1 files changed, 13 insertions, 14 deletions
diff --git a/Makefile b/Makefile
index 9d1157b..2d094a0 100644
--- a/Makefile
+++ b/Makefile
@@ -66,27 +66,27 @@ clean:
install: all
mkdir -p \
- $(DESTDIR)$(BINDIR) \
- $(DESTDIR)$(LIBEXECDIR)/$(NAME) \
- $(DESTDIR)$(LOCALEDIR)
- cp src/$(NAME) $(DESTDIR)$(BINDIR)
- cp src/locale/load-messages.sh $(DESTDIR)$(LIBEXECDIR)/$(NAME)
+ '$(DESTDIR)$(BINDIR)' \
+ '$(DESTDIR)$(LIBEXECDIR)/$(NAME)' \
+ '$(DESTDIR)$(LOCALEDIR)'
+ cp src/$(NAME) '$(DESTDIR)$(BINDIR)'
+ cp src/locale/load-messages.sh '$(DESTDIR)$(LIBEXECDIR)/$(NAME)'
for l in $(TRANSLATIONS) en $(CONTRIBLANGS); do \
- mkdir -p $(DESTDIR)$(LOCALEDIR)/$$l/LC_MESSAGES/$(NAME); \
+ mkdir -p '$(DESTDIR)$(LOCALEDIR)/'$$l'/LC_MESSAGES/$(NAME)'; \
cp \
src/locale/$$l.sh src/locale/*.$$l.txt \
- $(DESTDIR)$(LOCALEDIR)/$$l/LC_MESSAGES/$(NAME); \
+ '$(DESTDIR)$(LOCALEDIR)/'$$l'/LC_MESSAGES/$(NAME)'; \
done
- sh doc/manpages.sh -ip $(DESTDIR)$(MANDIR) $(manpages)
+ sh doc/manpages.sh -ip '$(DESTDIR)$(MANDIR)' $(manpages)
uninstall:
rm -f \
- $(DESTDIR)$(BINDIR)/$(NAME) \
- $(DESTDIR)$(LIBEXECDIR)/$(NAME)/load-messages.sh
+ '$(DESTDIR)$(BINDIR)/$(NAME)' \
+ '$(DESTDIR)$(LIBEXECDIR)/$(NAME)/load-messages.sh'
for l in $(TRANSLATIONS) en $(CONTRIBLANGS); do \
- rm -f $(DESTDIR)$(LOCALEDIR)/$$l/LC_MESSAGES/$(NAME)/*; \
+ rm -f '$(DESTDIR)$(LOCALEDIR)/'$$l'/LC_MESSAGES/$(NAME)'/*; \
done
- sh doc/manpages.sh -up $(DESTDIR)$(MANDIR) $(manpages)
+ sh doc/manpages.sh -up '$(DESTDIR)$(MANDIR)' $(manpages)
#
@@ -102,8 +102,7 @@ dev-check: check public
$(EXTRA_VERSION)
sh aux/workflow/assert-manpages.sh -n '$(NAME)' -m '$(MAILING_LIST)' \
-l '$(TRANSLATIONS) en' $(manpages.en.in)
- env ASSERT_NO_MISSING_TRANSLATIONS=1 sh aux/workflow/repocheck.sh \
- -x1 -l1 -f30
+ sh aux/workflow/repocheck.sh -x1 -l1 -f30
dist:
sh aux/workflow/dist.sh -d '$(DATE)' -V '$(VERSION)' -n '$(NAME)' \