diff options
author | Adam Spragg <adam@spra.gg> | 2022-06-29 11:45:52 +0100 |
---|---|---|
committer | Adam Spragg <adam@spra.gg> | 2022-06-29 15:29:41 +0100 |
commit | ac9b5fc70175459651df32731b35a9de9079ec2d (patch) | |
tree | e0ddaec7d92db93cb96d53e67317d8dc5f60419e | |
parent | 58422d1a4a82ba48e045a9603bd5ee7916f6c922 (diff) |
Attempt to build metastore.1 man page like other targets.doc-pandoc
Doesn't work, but I'm not sure why. My make-fu is not strong enough!
Do not merge!
-rw-r--r-- | Makefile | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -73,6 +73,7 @@ else OBJS_DIR := ./obj/ BINS_DIR := ./bin/ LIBS_DIR := ./lib/ + MANS_DIR := ./ endif @@ -85,10 +86,11 @@ SLL_EXT := .a ### Default target -all: libs bins man1/metastore.1 +all: libs bins mans bins: $(BINS) libs: $(LIBS) +mans: $(MANS) ### Flags MUSTHAVE_FLAGS := \ @@ -191,7 +193,7 @@ HIDE := $(HIDE_$(V)) ### Rules for directories -$(sort $(OBJS_DIR) $(BINS_DIR) $(LIBS_DIR)): +$(sort $(OBJS_DIR) $(BINS_DIR) $(LIBS_DIR) $(MANS_DIR)man1/): @mkdir -p $@ ### Templated rules @@ -316,7 +318,6 @@ $(SDEP): $(SRCS) $(PROJ_DIR)Makefile done) >>$(SDEP) $(MANS_DIR)man1/metastore.1: $(DOCS_DIR)metastore.md - @mkdir -p $(MANS_DIR)man1 @echo " PANDOC $@" $(HIDE)pandoc -s --shift-heading-level=-1 -f markdown -t man $^ >$@ |