Skip to content

Commit

Permalink
Update Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
weppos authored Dec 29, 2024
1 parent 1ad2813 commit 5e39807
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
REBAR:=$(shell which rebar3 || echo ./rebar3)
REBAR_URL:="https://s3.amazonaws.com/rebar3/rebar3"

gh-pages : TMPDIR := $(shell mktemp -d -t dns_erlang.gh-pages.XXXX)
gh-pages : BRANCH := $(shell git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/\1 /')
gh-pages : STASH := $(shell (test -z "`git status --porcelain`" && echo false) || echo true)
gh-pages : VERSION := $(shell sed -n 's/.*{vsn,.*"\(.*\)"}.*/\1/p' src/dns_erlang.app.src)

all: build

$(REBAR):
Expand All @@ -22,11 +17,11 @@ doc: $(REBAR)
.PHONY: clean
clean: $(REBAR)
@$(REBAR) clean
@rm -fr doc/*
@rm -rf doc

.PHONY: fresh
fresh: clean
rm -fr _build/*
rm -rf _build

.PHONY: test
test: $(REBAR) all
Expand Down

0 comments on commit 5e39807

Please sign in to comment.