diff options
Diffstat (limited to 'Makefile')
-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 $^ >$@ |