~adnano/kiln-devel

gmnitohtml: restructure docs section v1 APPLIED

Edd Salkield: 1
 restructure docs section

 2 files changed, 6 insertions(+), 4 deletions(-)
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.sr.ht/~adnano/kiln-devel/patches/35848/mbox | git am -3
Learn more about email & git

[PATCH gmnitohtml] restructure docs section Export this patch

---
 Makefile                                  | 10 ++++++----
 gmnitohtml.1.scd => docs/gmnitohtml.1.scd |  0
 2 files changed, 6 insertions(+), 4 deletions(-)
 rename gmnitohtml.1.scd => docs/gmnitohtml.1.scd (100%)

diff --git a/Makefile b/Makefile
index f827084..b767ac3 100644
--- a/Makefile
+++ b/Makefile
@@ -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
diff --git a/gmnitohtml.1.scd b/docs/gmnitohtml.1.scd
similarity index 100%
rename from gmnitohtml.1.scd
rename to docs/gmnitohtml.1.scd
-- 
2.38.0
Thanks!

To git@git.sr.ht:~adnano/gmnitohtml
   1018ac8..eee3c1b  master -> master