-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathMakefile.am
38 lines (31 loc) · 907 Bytes
/
Makefile.am
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
## Makefile.am
## Process this file with automake to produce Makefile.in
##
sbin_SCRIPTS = ldap-git-backup safe-ldif
check_SCRIPTS = t/mock-slapcat
man_MANS = ldap-git-backup.1 safe-ldif.1
CLEANFILES = $(sbin_SCRIPTS) $(check_SCRIPTS) $(man_MANS)
EXTRA_DIST = \
ldap-git-backup.in \
README.mdown \
build-all \
examples \
ChangeLog \
redhat/ldap-git-backup.spec \
t/testdata
edit = sed \
-e 's|@bindir[@]|$(bindir)|g' \
-e 's|@sbindir[@]|$(sbindir)|g'
ldap-git-backup.1: ldap-git-backup
pod2man -c 'User Commands' -r "$(VERSION)" $< $@
safe-ldif.1: safe-ldif
pod2man -c 'User Commands' -r "$(VERSION)" $< $@
ldap-git-backup: ldap-git-backup.in
rm -f $@ $@.tmp
$(edit) $< > $@.tmp
chmod a+x $@.tmp
mv $@.tmp $@
check-local: ldap-git-backup
GIT_AUTHOR_NAME=Test GIT_AUTHOR_EMAIL=test@example.org \
GIT_COMMITTER_NAME=Test GIT_COMMITTER_EMAIL=test@example.org \
prove t