Skip to content

Commit

Permalink
Update makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
pawamoy committed Aug 29, 2018
1 parent acff94a commit a5abd60
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ MANDIR := man
WIKIDIR := wiki

MANPAGES := $(addprefix $(MANDIR)/,shellm-debug.1)
WIKIPAGES := $(addprefix $(WIKIDIR)/,bin/shellm-debug.md)
WIKIPAGES := $(addprefix $(WIKIDIR)/,Scripts/shellm-debug.md)

ifeq ($(PREFIX), )
PREFIX := /usr/local
Expand All @@ -17,16 +17,16 @@ all: doc
install:
@./install.sh $(PREFIX)

$(MANDIR)/%.1 : $(BINDIR)/%
$(MANDIR)/%.1: $(BINDIR)/%
@shellman -t manpage $< -o $@

$(MANDIR)/%.sh.3 : $(LIBDIR)/%.sh
$(MANDIR)/%.sh.3: $(LIBDIR)/%.sh
@shellman -t manpage $< -o $@

$(WIKIDIR)/bin/%.md : $(BINDIR)/%
$(WIKIDIR)/Scripts/%.md: $(BINDIR)/%
@shellman -t wikipage $< -o $@

$(WIKIDIR)/lib/%.sh.md : $(LIBDIR)/%.sh
$(WIKIDIR)/Library/%.sh.md: $(LIBDIR)/%.sh
@shellman -t wikipage $< -o $@

man: $(MANPAGES)
Expand All @@ -36,4 +36,4 @@ wiki: $(WIKIPAGES)
doc: man wiki

rmdoc:
@rm man/* wiki/bin/* wiki/lib/*
@rm man/* wiki/Scripts/* wiki/Library/*

0 comments on commit a5abd60

Please sign in to comment.