~goorzhel/radm

83fe1a76426d5e74dd540d3df9db3d88a7fa0ef3 — Antonio Gurgel 3 months ago 709d891
Fix `make install` command

It should just install everything.
1 files changed, 5 insertions(+), 5 deletions(-)

M Makefile
M Makefile => Makefile +5 -5
@@ 3,11 3,10 @@ SOURCES := $(wildcard src/*)
target/release/radm: $(SOURCES)
	cargo build --release

res/radm.1: res/radm.1.md
	pandoc -f markdown -t man res/radm.1.md -o res/radm.1
install: install-bin install-manual install-runit install-rsyslog install-pam

.PHONY: install
install: target/release/radm
install-bin: target/release/radm
	install -m 755 -o root -g root target/release/radm /usr/bin/

install-manual: res/radm.1


@@ 23,10 22,11 @@ install-rsyslog:
install-pam:
	install -m 644 -o root -g root res/pam /etc/pam.d/radm

install-all: install install-manual install-runit install-rsyslog install-pam

uninstall:
	rm -f /usr/bin/radm
	rm -f /usr/share/man/man1/radm.1
	rm -rf /etc/sv/radm
	rm -f /etc/rsyslog.d/radm

res/radm.1: res/radm.1.md
	pandoc -f markdown -t man res/radm.1.md -o res/radm.1