~adnano/kiln-devel

mdtohtml: restructure docs section v2 APPLIED

Edd Salkield: 1
 restructure docs section

 3 files changed, 7 insertions(+), 5 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/35844/mbox | git am -3
Learn more about email & git

[PATCH mdtohtml v2] restructure docs section Export this patch

---
 .gitignore                            |  2 +-
 Makefile                              | 10 ++++++----
 mdtohtml.1.scd => docs/mdtohtml.1.scd |  0
 3 files changed, 7 insertions(+), 5 deletions(-)
 rename mdtohtml.1.scd => docs/mdtohtml.1.scd (100%)

diff --git a/.gitignore b/.gitignore
index 879797a..88b2533 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,2 @@
mdtohtml
mdtohtml.1
docs/mdtohtml.1
diff --git a/Makefile b/Makefile
index 61524e8..8d5bc2e 100644
--- a/Makefile
+++ b/Makefile
@@ -9,13 +9,15 @@ RM=rm
GO=go
GOFLAGS=

all: mdtohtml mdtohtml.1
all: mdtohtml docs

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

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

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

clean:
	$(RM) mdtohtml
@@ -30,4 +32,4 @@ uninstall:
	$(RM) $(DESTDIR)$(BINDIR)/mdtohtml
	$(RM) $(DESTDIR)$(MANDIR)/man1/mdtohtml.1

.PHONY: all clean install uninstall
.PHONY: all docs clean install uninstall
diff --git a/mdtohtml.1.scd b/docs/mdtohtml.1.scd
similarity index 100%
rename from mdtohtml.1.scd
rename to docs/mdtohtml.1.scd
-- 
2.38.0
Thanks!

To git@git.sr.ht:~adnano/mdtohtml
   c646b33..a63ad6d  master -> master