Browse Source

Further Makefile cleanup

master
Jason T. Lenz 2 years ago
parent
commit
63bd44a01b
  1. 11
      Makefile
  2. 11
      template/Makefile.got
  3. 1
      template/README.md

11
Makefile

@ -4,21 +4,17 @@ PNAME = chuf @@ -4,21 +4,17 @@ PNAME = chuf
RTEMPLATE ?= ../repo-template
all: goUtil doc
doc: docMan
all: goUtil docMan
clean: cleanGoUtil cleanCheck
cleanDoc: cleanDocMain cleanDocMan
install: installGoUtil installMan
uninstall: uninstallGoUtil uninstallMan
.DEFAULT_GOAL := all
.PHONY: all doc clean cleanDoc install uninstall
.PHONY: all clean install uninstall
#---Helper Macros to Remove Files---
@ -136,5 +132,4 @@ todo: @@ -136,5 +132,4 @@ todo:
-exec grep -Hn TODO '{}' ';'
.PHONY: todo
# vim:set noet tw=80:.POSIX:
# vim:set noet tw=80:

11
template/Makefile.got

@ -19,21 +19,17 @@ PNAME = chuf @@ -19,21 +19,17 @@ PNAME = chuf
RTEMPLATE ?= ../repo-template
all: goUtil doc
doc: docMan
all: goUtil docMan
clean: cleanGoUtil cleanCheck
cleanDoc: cleanDocMain cleanDocMan
install: installGoUtil installMan
uninstall: uninstallGoUtil uninstallMan
.DEFAULT_GOAL := all
.PHONY: all doc clean cleanDoc install uninstall
.PHONY: all clean install uninstall
{{template "mk-rm" .}}
@ -50,5 +46,4 @@ uninstall: uninstallGoUtil uninstallMan @@ -50,5 +46,4 @@ uninstall: uninstallGoUtil uninstallMan
{{template "mk-lint" .}}
{{template "mk-todo" .}}
# vim:set noet tw=80:.POSIX:
# vim:set noet tw=80:

1
template/README.md

@ -15,4 +15,5 @@ this repository root. I.E. ../repo-template @@ -15,4 +15,5 @@ this repository root. I.E. ../repo-template
Once this is in place you can regenerate the documents from templates using the
following command from the main repository folder:
$ make regenMakefile
$ make regenDocMain

Loading…
Cancel
Save