repo

List, download and sync packs with remote repositories
Log | Files | Refs | README

commit 949380fb7c6ff87c565d290d93ac2c528572f821
parent 45b5355116912d982fa1faf5f9f965ddfb03675a
Author: z3bra <contactatz3bradotorg>
Date:   Sat Apr 29 00:27:42 +0200

Add makefile for weak minds

Diffstat:
makefile | 22++++++++++++++++++++++
1 file changed, 22 insertions(+), 0 deletions(-)
diff --git a/makefile b/makefile @@ -0,0 +1,22 @@ +include config.mk + +repo: y.tab.o repo.o + ${LD} -o $@ $^ ${LDFLAGS} ${LIBS} + +y.tab.c: parse.y + ${YACC} $< + +clean: + rm -f y.tab.c *.o repo + +install: repo + mkdir -p ${DESTDIR}${PREFIX}/bin + cp repo ${DESTDIR}${PREFIX}/bin/repo + chmod 755 ${DESTDIR}${PREFIX}/bin/repo + mkdir -p ${DESTDIR}${MANDIR}/man1 + cp repo ${DESTDIR}${MANDIR}/man1/repo.1 + chmod 755 ${DESTDIR}${MANDIR}/man1/repo.1 + +uninstall: + rm ${DESTDIR}${PREFIX}/bin/repo + rm ${DESTDIR}${MANDIR}/man1/repo.1