Skip to content

Commit

Permalink
Generate man from README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
maximbaz committed Jan 21, 2022
1 parent f605553 commit fd0da3a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,19 @@ run:
clean:
rm -rf dist

.PHONY: docs
docs:
marked-man -i README.md -o "$(BIN).7"
gzip "$(BIN).7"

.PHONY: install
install:
install -Dm755 -t "$(BIN_DIR)/" "target/release/$(BIN)"
install -Dm644 -t "$(LIB_DIR)/udev/rules.d/" "90-$(BIN)-backlight.rules"
install -Dm644 -t "$(LIB_DIR)/systemd/user" "$(BIN).service"
install -Dm644 -t "$(SHARE_DIR)/licenses/$(BIN)/" LICENSE
install -Dm644 -t "$(SHARE_DIR)/doc/$(BIN)/" README.md
install -Dm644 -t "$(SHARE_DIR)/man/man7" "$(BIN).7.gz"
install -Dm644 -t "$(SHARE_DIR)/$(BIN)/examples/" config.toml

.PHONY: dist
Expand Down

0 comments on commit fd0da3a

Please sign in to comment.