pmlag

Poor man's link aggregation
git clone git://git.finwo.net/app/pmlag
Log | Files | Refs | README | LICENSE

commit cc1a72352763ee1582bb8baa65e486de08355993
parent 9988c8d87b5818154dd6e72b4304b1efd8a1477e
Author: Yersa Nordman <yersa@finwo.nl>
Date:   Mon, 13 Mar 2023 23:57:08 +0100

Added install make target

Diffstat:
MMakefile | 7+++++--
1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile @@ -5,6 +5,7 @@ SRC+=$(wildcard src/*.c) SRC+=$(wildcard src/*/*.c) override CFLAGS?=-Wall -s -O2 +override DESTDIR?=/usr/local INCLUDES:= INCLUDES+=-I src @@ -32,8 +33,10 @@ $(BIN).1: manpage.1.md env NAME=$(BIN) envsubst < manpage.1.md | pandoc --standalone --from markdown --to man -o $(BIN).1 env NAME=$(BIN) envsubst < manpage.1.md | pandoc --standalone --from markdown --to html -o $(BIN).html -README.md: manpage.1.md - env NAME=$(BIN) envsubst < manpage.1.md > README.md +.PHONY: install +install: default + install pmlag $(DESTDIR)/bin + install pmlag.1 $(DESTDIR)/share/man/man1 .PHONY: clean clean: