Skip to content

Commit

Permalink
tweak man page creation
Browse files Browse the repository at this point in the history
  • Loading branch information
trapexit committed Mar 10, 2016
1 parent 93acfb0 commit 382ca87
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ obj/%.o: src/%.cpp
clean: rpm-clean
$(RM) -rf obj
$(RM) -f src/version.hpp
$(RM) -f "$(TARGET)" "$(MANPAGE)" mount.mergerfs
$(RM) -f "$(TARGET)" mount.mergerfs
$(FIND) . -name "*~" -delete

distclean: clean
Expand All @@ -150,7 +150,7 @@ install-mount.mergerfs: mount.mergerfs
$(CP) -a "$<" "$(INSTALLBINDIR)/$<"

install-man: $(MANPAGE)
$(INSTALL) -v -m 0644 -D "$(MANPAGE)" "$(INSTALLMAN1DIR)/$(MANPAGE)"
$(INSTALL) -v -m 0644 -D "man/$(MANPAGE)" "$(INSTALLMAN1DIR)/$(MANPAGE)"

install-strip: install-base
$(STRIP) "$(INSTALLBINDIR)/$(TARGET)"
Expand All @@ -168,9 +168,7 @@ uninstall-man:

$(MANPAGE): README.md
ifneq (,$(PANDOC))
$(PANDOC) -s -t man -o $(MANPAGE) README.md
else
$(CP) man/mergerfs.1 .
$(PANDOC) -s -t man -o "man/$(MANPAGE)" README.md
endif

man: $(MANPAGE)
Expand Down

0 comments on commit 382ca87

Please sign in to comment.