From 7bb30b4d8ec7fdb24b23b02f04897d9b0480056f Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Thu, 20 Jan 2022 23:29:42 -0300 Subject: Add diacritic and spaces to mk{s,d}temp paths to enforce that everything works with it --- Makefile | 27 +++++++++++++-------------- 1 file changed, 13 insertions(+), 14 deletions(-) (limited to 'Makefile') 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)' \ -- cgit v1.2.3