pyratelog

personal blog
git clone git://git.pyratebeard.net/pyratelog.git
Log | Files | Refs | README

commit a95fc7dab42d6186c1ddd2bf6e3caf6c34bb8c09
parent 098a40cb16639267ab7002430a7e1ebbade7b709
Author: pyratebeard <root@pyratebeard.net>
Date:   Tue, 18 Oct 2022 22:44:30 +0100

if no arg use branch name

Diffstat:
MMakefile | 10++++++++++
1 file changed, 10 insertions(+), 0 deletions(-)

diff --git a/Makefile b/Makefile @@ -18,6 +18,16 @@ endif endif endif +ifeq ($(DRAFT_ARGS), ) + DRAFT_ARGS := $(shell git branch --show-current) +endif +ifeq ($(VIEW_ARGS), ) + VIEW_ARGS := $(shell git branch --show-current) +endif +ifeq ($(PUB_ARGS), ) + PUB_ARGS := $(shell git branch --show-current) +endif + prog: # ... # ...