Skip to content

Commit

Permalink
Merge pull request #63 from jmtd/sub-prefix-in-lib-search-path
Browse files Browse the repository at this point in the history
Substitute /usr/local for PREFIX in search path
  • Loading branch information
dspinellis authored Oct 1, 2020
2 parents 8e20ad5 + f4d504a commit 2da4e63
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ install:
@mkdir -p $(DESTDIR)$(MANPREFIX)
@mkdir -p $(DESTDIR)$(BINPREFIX)
@mkdir -p $(DESTDIR)$(LIBPREFIX)/git-issue
install git-issue.sh $(DESTDIR)$(BINPREFIX)/git-issue
sed "s|/usr/local|$(PREFIX)|g" git-issue.sh > git-issue
install git-issue $(DESTDIR)$(BINPREFIX)/git-issue
install lib/git-issue/import-export.sh $(DESTDIR)$(LIBPREFIX)/git-issue/import-export.sh
install -m 644 git-issue.1 $(DESTDIR)$(MANPREFIX)/
@mkdir -p $(DESTDIR)$(SYSCONFDIR)/bash_completion.d
Expand All @@ -34,5 +35,6 @@ uninstall:
rm -f $(DESTDIR)$(SYSCONFDIR)/bash_completion.d/git-issue

clean:
rm -f git-issue

.PHONY: default clean install uninstall sync-docs test

0 comments on commit 2da4e63

Please sign in to comment.