From 400d7845e4c959660edf4cbeb1a390c6590cc4fc Mon Sep 17 00:00:00 2001 From: Lukas Fleischer Date: Sat, 5 Feb 2011 17:42:47 +0100 Subject: Add AUR package blacklist updater (aurblup). Signed-off-by: Lukas Fleischer --- scripts/aurblup/Makefile | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 scripts/aurblup/Makefile (limited to 'scripts/aurblup/Makefile') diff --git a/scripts/aurblup/Makefile b/scripts/aurblup/Makefile new file mode 100644 index 00000000..67fcac19 --- /dev/null +++ b/scripts/aurblup/Makefile @@ -0,0 +1,30 @@ +include config.mk + +SRC = aurblup.c +OBJ = ${SRC:.c=.o} + +all: aurblup + +.c.o: + ${CC} -c ${CFLAGS} $< + +config.h: + cp config.h.proto config.h + +${OBJ}: config.h + +aurblup: ${OBJ} + ${CC} -o $@ ${OBJ} ${LDFLAGS} + +install: aurblup + install -Dm0755 aurblup "${DESTDIR}${PREFIX}/bin/aurblup" + install -dm0755 "${DESTDIR}/var/lib/aurblup/" + +uninstall: + rm -f "${DESTDIR}${PREFIX}/bin/aurblup" + rm -f "${DESTDIR}/var/lib/aurblup/" + +clean: + rm -f aurblup ${OBJ} + +.PHONY: all install uninstall clean -- cgit v1.2.3-24-g4f1b