Fix makefile, add roff to gitignore
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing

Signed-off-by: Sam Therapy <sam@samtherapy.net>
This commit is contained in:
Sam Therapy 2022-08-06 19:19:01 +02:00
parent e3c5184438
commit 4704f7baa2
Signed by: sam
GPG key ID: 4D8B07C18F31ACBD
2 changed files with 29 additions and 28 deletions

53
.gitignore vendored
View file

@ -1,27 +1,28 @@
# Binaries for programs and plugins
*.exe
*.exe~
*.dll
*.so
*.dylib
# Test binary, built with `go test -c`
*.test
# Output of the go coverage tool, specifically when used with LiteIDE
*.out
# Dependency directories (remove the comment below to include it)
# vendor/
# Go workspace file
go.work
dist/
# Test coverage
coverage/*
!coverage/.gitkeep
awl
# Binaries for programs and plugins
*.exe
*.exe~
*.dll
*.so
*.dylib
# Test binary, built with `go test -c`
*.test
# Output of the go coverage tool, specifically when used with LiteIDE
*.out
# Dependency directories (remove the comment below to include it)
# vendor/
# Go workspace file
go.work
dist/
# Test coverage
coverage/*
!coverage/.gitkeep
awl
doc/awl.1
.dccache

View file

@ -26,8 +26,7 @@ PROG ?= awl
all: $(PROG) doc/$(PROG).1
doc/$(PROG).1: doc/$(PROG).1.scd
@cp doc/awl.1 doc/awl.bak
$(SCDOC) <doc/$(PROG).1.scd >doc/$(PROG).1 && rm doc/awl.bak || mv doc/awl.bak doc/awl.1
$(SCDOC) <doc/$(PROG).1.scd >doc/$(PROG).1
## test: run go test
@ -65,6 +64,7 @@ lint: fmt vet
## clean: clean the build files
clean:
$(GO) clean
rm doc/$(PROG).1
## help: Prints this help message
help: