diff options
author | Lukas Fleischer <archlinux@cryptocrack.de> | 2011-02-05 17:42:47 +0100 |
---|---|---|
committer | Lukas Fleischer <archlinux@cryptocrack.de> | 2011-02-11 14:43:22 +0100 |
commit | 400d7845e4c959660edf4cbeb1a390c6590cc4fc (patch) | |
tree | b404bf77af58e698d1ac55b82555c2fda35b9a7f /scripts/aurblup/Makefile | |
parent | b69f548065e78d14afcdc91548d73539762f8d93 (diff) | |
download | aur-400d7845e4c959660edf4cbeb1a390c6590cc4fc.tar.gz aur-400d7845e4c959660edf4cbeb1a390c6590cc4fc.tar.xz |
Add AUR package blacklist updater (aurblup).
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
Diffstat (limited to 'scripts/aurblup/Makefile')
-rw-r--r-- | scripts/aurblup/Makefile | 30 |
1 files changed, 30 insertions, 0 deletions
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 |