Skip to content

Commit

Permalink
Add a setup target
Browse files Browse the repository at this point in the history
  • Loading branch information
pbrisbin committed Mar 18, 2019
1 parent ad73f40 commit d65f41e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ PREFIX ?= /usr/local
MANPREFIX ?= $(PREFIX)/share/man
PANDOC ?= $(shell which pandoc)

setup:
command -v cram || aurget cram
command -v pandoc || stack install pandoc

potfile: downgrade
xgettext \
--from-code=utf-8 -L shell \
Expand Down Expand Up @@ -29,4 +33,4 @@ uninstall:
$(DESTDIR)/$(PREFIX)/share/bash-completion/completions/downgrade \
$(DESTDIR)/$(PREFIX)/share/zsh/site-functions/_downgrade

.PHONY: test install uninstall
.PHONY: setup test install uninstall

0 comments on commit d65f41e

Please sign in to comment.