addrom

Simple tool for adding a rom entry to a Pandora's Box 3 list.dat
Log | Files | Refs | LICENSE

commit a6e8f0f9bda9be08046b401e4447f314929f7f86
parent 1b9902c453678ccc3d3942c7950f63d2949120c5
Author: Quentin Rameau <quinq@fifth.space>
Date:   Mon,  9 Nov 2015 19:18:41 +0100

Append manual to installation

Diffstat:
Makefile | 6++++++
config.mk | 1+
2 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/Makefile b/Makefile @@ -30,9 +30,15 @@ install: all @mkdir -p ${DESTDIR}${PREFIX}/bin @cp -f addrom ${DESTDIR}${PREFIX}/bin @chmod 755 ${DESTDIR}${PREFIX}/bin/addrom + @echo installing manual page to ${DESTDIR}${MANPREFIX}/man1 + @mkdir -p ${DESTDIR}${MANPREFIX}/man1 + @cp -f addrom.1 ${DESTDIR}${MANPREFIX}/man1/addrom.1 + @chmod 644 ${DESTDIR}${MANPREFIX}/man1/addrom.1 uninstall: @echo removing executable file from ${DESTDIR}${PREFIX}/bin @rm -f ${DESTDIR}${PREFIX}/bin/addrom + @echo removing manual page from ${DESTDIR}${MANPREFIX}/man1 + @rm -f ${DESTDIR}${MANPREFIX}/man1/addrom.1 .PHONY: all options clean install uninstall diff --git a/config.mk b/config.mk @@ -1,5 +1,6 @@ # paths PREFIX = /usr/local +MANPREFIX = ${PREFIX}/share/man # includes and libs INCS = -I. -I/usr/include