From a9a6b62cf2abb833d54c60aa1363e5acfc3cdfd5 Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Mon, 9 Jun 2008 15:26:56 +0000 Subject: Check properly whether a certain dn exists in storage, must have at least one attribute --- Makefile | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 Makefile (limited to 'Makefile') diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..ced020b --- /dev/null +++ b/Makefile @@ -0,0 +1,28 @@ +VERSION = 0.0.1 +PREFIX = /usr/local + +FILES = \ + Backend.py \ + Config.py \ + Pivot.py \ + slapd-pivot.py \ + Makefile + +SUBDIRS = \ + files + +all: + @echo "usage: make install" + @echo " make dist [PREFIX=/path]" + +dist: + tar -jcvf slapd-pivot-$(VERSION).tbz \ + --exclude '*.pyc' --exclude 'test' --exclude '*.tbz' \ + --exclude '*.tar.bz2' --exclude '\.*' \ + $(FILES) $(SUBDIRS) + +install: + chmod +x slapd-pivot.py + cp files/slapd-pivot.conf.sample $(PREFIX)/etc/slapd-pivot.conf.sample + ln -sf `pwd`/slapd-pivot.py $(PREFIX)/sbin/slapd-pivot + -- cgit v1.2.3