~adnano/gmnitohtml

eee3c1b53cf8382855699c24047fa812bc5fadc9 — Edd Salkield 11 months ago 1018ac8
restructure docs section
2 files changed, 6 insertions(+), 4 deletions(-)

M Makefile
R gmnitohtml.1.scd => docs/gmnitohtml.1.scd
M Makefile => Makefile +6 -4
@@ 9,13 9,15 @@ RM=rm
GO=go
GOFLAGS=

all: gmnitohtml gmnitohtml.1
all: gmnitohtml docs

gmnitohtml: main.go go.mod go.sum
	$(GO) build $(GOFLAGS) -o $@

gmnitohtml.1: gmnitohtml.1.scd
	scdoc < gmnitohtml.1.scd > $@
docs: docs/gmnitohtml.1

docs/gmnitohtml.1: docs/gmnitohtml.1.scd
	scdoc < docs/gmnitohtml.1.scd > $@

clean:
	$(RM) gmnitohtml


@@ 30,4 32,4 @@ uninstall:
	$(RM) $(DESTDIR)$(BINDIR)/gmnitohtml
	$(RM) $(DESTDIR)$(MANDIR)/man1/gmnitohtml.1

.PHONY: all clean install uninstall
.PHONY: all docs clean install uninstall

R gmnitohtml.1.scd => docs/gmnitohtml.1.scd +0 -0