diff options
author | EuAndreh <eu@euandre.org> | 2021-09-29 12:03:07 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2021-09-29 12:03:07 -0300 |
commit | 1b1d414c67b7351762233f9f57b5a2afddd44ce2 (patch) | |
tree | b10653206c8651a3926d0cefb188556c8213d478 /Makefile | |
parent | TODOs.md: Add #td-0c4937c5-fbbd-9ec9-4a23-e71eebf18fee (diff) | |
download | git-permalink-1b1d414c67b7351762233f9f57b5a2afddd44ce2.tar.gz git-permalink-1b1d414c67b7351762233f9f57b5a2afddd44ce2.tar.xz |
Makefile: Also install and uninstall en.sh translations
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 20 |
1 files changed, 11 insertions, 9 deletions
@@ -38,6 +38,7 @@ manpages = $(manpages.in:.in=) all: src/git-permalink src/load-locale-messages.sh $(manpages) + check: all sh tests/cli-opts.sh sh tests/remotes.sh @@ -50,24 +51,25 @@ clean: install: all mkdir -p \ - $(DESTDIR)$(BINDIR) \ - $(DESTDIR)$(LOCALEDIR) \ - $(DESTDIR)$(LIBEXECDIR)/$(NAME) - cp src/git-permalink $(DESTDIR)$(BINDIR) - for l in $(TRANSLATIONS) $(CONTRIBLANGS); do \ + $(DESTDIR)$(BINDIR) \ + $(DESTDIR)$(LIBEXECDIR)/$(NAME) \ + $(DESTDIR)$(LOCALEDIR) + cp src/$(NAME) $(DESTDIR)$(BINDIR) + cp src/load-locale-messages.sh $(DESTDIR)$(LIBEXECDIR)/$(NAME) + for l in $(TRANSLATIONS) en $(CONTRIBLANGS); do \ mkdir -p $(DESTDIR)$(LOCALEDIR)/$$l/LC_MESSAGES; \ cp src/locale/$$l.sh \ $(DESTDIR)$(LOCALEDIR)/$$l/LC_MESSAGES/$(NAME).sh; \ done - cp src/load-locale-messages.sh $(DESTDIR)$(LIBEXECDIR)/$(NAME) sh doc/manpages.sh -ip $(DESTDIR)$(MANDIR) $(manpages) uninstall: - rm -f $(DESTDIR)$(BINDIR)/git-permalink - for l in $(TRANSLATIONS) $(CONTRIBLANGS); do \ + rm -f \ + $(DESTDIR)$(BINDIR)/$(NAME) \ + $(DESTDIR)$(LIBEXECDIR)/$(NAME)/load-locale-messages.sh + for l in $(TRANSLATIONS) en $(CONTRIBLANGS); do \ rm -f $(DESTDIR)$(LOCALEDIR)/$$l/LC_MESSAGES/$(NAME).sh; \ done - rm -f $(DESTDIR)$(LIBEXECDIR)/$(NAME)/load-locale-messages.sh sh doc/manpages.sh -up $(DESTDIR)$(MANDIR) $(manpages) |