-
Notifications
You must be signed in to change notification settings - Fork 4
/
Makefile.am
21 lines (21 loc) · 1.02 KB
/
Makefile.am
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
SUBDIRS = src doc doc/fr
vardatdir = $(PARAMDIR)
varrundir = /var/run/pqmessenger
ACLOCAL_AMFLAGS = -I m4
makedirs: ; @mkdir -p $(vardatdir) \
; USR=`id -un ldap 2>/dev/null` \
; if [ -z $$USR ]; then \
USR=`id -un openldap 2>/dev/null` \
; if [ -z $$USR ]; then \
echo "-------------------------------------- WARNING !! WARNING !! ---------------------------------------" \
; echo " To complete the installation.." \
; echo " The folder $(vardatdir) and its content owner must be modified to the user executing slapd" \
; echo "------------------------------------------------------------------------------------------------------" \
; fi \
fi \
; cp pqparams.dat $(vardatdir) \
; if [ ! -z $$USR ]; then \
chown $$USR:$$USR -R $(vardatdir) \
; fi
install-exec-hook: makedirs
uninstall-hook: ; rm -rf $(vardatdir)