mycfetch/Makefile

22 lines
436 B
Makefile
Raw Permalink Normal View History

2023-11-23 20:03:50 +03:00
PREFIX ?= /usr/local
BINDIR ?= ${PREFIX}/bin
MANDIR ?= ${PREFIX}/share/man
2023-06-10 21:11:58 +03:00
2023-11-12 14:54:45 +03:00
all: mycfetch
mycfetch: config.h defs.h
2023-10-21 22:06:33 +03:00
clean:
2023-11-23 20:03:50 +03:00
rm -f mycfetch
2023-11-12 14:54:45 +03:00
install: mycfetch mycfetch.1
install -d ${DESTDIR}${BINDIR} ${DESTDIR}${MANDIR}/man1
install mycfetch ${DESTDIR}${BINDIR}
install -m 644 mycfetch.1 ${DESTDIR}${MANDIR}/man1
uninstall:
rm -f ${DESTDIR}${BINDIR}/mycfetch
rm -f ${DESTDIR}${MANDIR}/man1/mycfetch.1
2023-11-12 14:54:45 +03:00
.PHONY: all install clean