Remove unnecessary elements from Makefile

master v0.1.4
Jason T. Lenz 2 years ago
parent 92126e65be
commit ebb80ce95f
  1. 15
      Makefile
  2. 8
      template/Makefile.got

@ -4,15 +4,11 @@ PNAME = chunkio
RTEMPLATE ?= ../repo-template
all: doc mkFile
doc: docMain
cleanDoc: cleanDocMain
all: check
.DEFAULT_GOAL := all
.PHONY: all doc cleanDoc
.PHONY: all
#---Golang Library Section---
@ -35,9 +31,6 @@ regenDocMain:
#---Generate Makefile---
Makefile: template/Makefile.got
pgot -i ":$(RTEMPLATE)" -o $@ $<
regenMakefile:
pgot -i ":$(RTEMPLATE)" -o Makefile template/Makefile.got
@ -50,6 +43,8 @@ lint:
-type f -and -not -name 'Makefile' \
-exec grep -Hn '<no value>' '{}' ';'
.PHONY: lint
#---TODO Helper Target---
todo:
@ -57,4 +52,6 @@ todo:
-type f -and -not -name 'Makefile' \
-exec grep -Hn TODO '{}' ';'
.PHONY: todo
# vim:set noet tw=80:

@ -16,15 +16,11 @@ PNAME = chunkio
RTEMPLATE ?= ../repo-template
all: doc mkFile
doc: docMain
cleanDoc: cleanDocMain
all: check
.DEFAULT_GOAL := all
.PHONY: all doc cleanDoc
.PHONY: all
{{template "mk-goLib" .}}

Loading…
Cancel
Save