diff options
author | Joe <rbo@gmx.us> | 2024-05-17 20:20:20 +0200 |
---|---|---|
committer | Joe <rbo@gmx.us> | 2024-05-17 20:20:20 +0200 |
commit | 9ae8cac98238f8c05ed0aa105082ba51a3a6749c (patch) | |
tree | 285d571df484d1b48a3651378daec905642af9d5 /Makefile | |
parent | test (diff) | |
download | hardflip-9ae8cac98238f8c05ed0aa105082ba51a3a6749c.tar.gz hardflip-9ae8cac98238f8c05ed0aa105082ba51a3a6749c.tar.bz2 hardflip-9ae8cac98238f8c05ed0aa105082ba51a3a6749c.tar.xz hardflip-9ae8cac98238f8c05ed0aa105082ba51a3a6749c.tar.zst hardflip-9ae8cac98238f8c05ed0aa105082ba51a3a6749c.zip |
go
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -21,7 +21,7 @@ SHELL := /bin/sh SRC_DIR := ./src/ SRC_NAME := *.go SRC = $(addprefix ${SRC_DIR}, ${SRC_NAME}) -DEST := /usr/local/bin +DEST := /usr .DEFAULT_GOAL := ${TARGET} run: ${SRC} @@ -30,12 +30,12 @@ run: ${SRC} ${TARGET}: ${SRC} go build -o ${TARGET} ${SRC_DIR} -install: ${TARGET} - mkdir -p ${DEST} - cp -f ${TARGET} ${DEST} +install: + mkdir -p ${DEST}/bin + cp -f ${TARGET} ${DEST}/bin # man shit - # mkdir -p $(DESTDIR)$(MANPREFIX)/man1 - # cp -f man/lowbat.1 $(DESTDIR)$(MANPREFIX)/man1/lowbat.1 + # mkdir -p $(DESTDIR)/share/man/man1 + # cp -f man/lowbat.1 $(DESTDIR)/share/man/man1/lowbat.1 clean: go clean |