Fix makefile, add roff to gitignore
Signed-off-by: Sam Therapy <sam@samtherapy.net>
This commit is contained in:
parent
e3c5184438
commit
4704f7baa2
2 changed files with 29 additions and 28 deletions
53
.gitignore
vendored
53
.gitignore
vendored
|
@ -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
|
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue