diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2021-05-19 22:02:45 -0700 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2021-05-19 22:02:45 -0700 |
| commit | f824d3f3e2e3d3f1d441b94e18d7991ff523cef8 (patch) | |
| tree | 99676777dd5550b4a0e6aa849f136769c0b6ff21 /Makefile | |
| parent | 5d5817c2a3d21e91db4eaaf607ff881d71b57638 (diff) | |
Added markdown manpage, which converts to roff using pandoc.
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -12,7 +12,7 @@ ALL_FLAGS=$(CFLAGS) -DBP_NAME="\"$(NAME)\"" $(EXTRA) $(CWARN) $(G) $(O) CFILES=pattern.c definitions.c utils.c match.c files.c print.c json.c OBJFILES=$(CFILES:.c=.o) -all: $(NAME) tags +all: $(NAME) bp.1 %.o: %.c %.h types.h $(CC) -c $(ALL_FLAGS) -o $@ $< @@ -20,6 +20,9 @@ all: $(NAME) tags $(NAME): $(OBJFILES) bp.c $(CC) $(ALL_FLAGS) -o $@ $(OBJFILES) bp.c +bp.1: bp.1.md + pandoc -s $< -t man -o $@ + tags: $(CFILES) bp.c ctags *.c *.h |
