aboutsummaryrefslogtreecommitdiff
path: root/handlers/Makefile.am
blob: 24efe89c5455b361f2c5d4069e89b829d3661223 (plain)
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
HANDLERS = dup dup.helper ldap ldap.helper maildir makecd		\
         makecd.helper mysql mysql.helper pgsql pgsql.helper rdiff	\
         rdiff.helper rsnap rub sh svn sys sys.helper trac

EXTRA_DIST = Makefile.am $(HANDLERS)

edit = sed \
    -e "s,@BASH\@,$(BASH),g" \
    -e "s,@AWK\@,$(AWK),g" \
    -e "s,@SED\@,$(SED),g" 

dist_pkgdata_DATA = $(HANDLERS)

dup: $(srcdir)/dup.in
	rm -f dup
	$(edit) $(srcdir)/dup.in > dup

dup.helper: $(srcdir)/dup.helper.in
	rm -f dup.helper
	$(edit) $(srcdir)/dup.helper.in > dup.helper

ldap: $(srcdir)/ldap.in
	rm -f ldap
	$(edit) $(srcdir)/ldap.in > ldap

ldap.helper: $(srcdir)/ldap.helper.in
	rm -f ldap.helper
	$(edit) $(srcdir)/ldap.helper.in > ldap.helper

maildir: $(srcdir)/maildir.in
	rm -f maildir
	$(edit) $(srcdir)/maildir.in > maildir

makecd: $(srcdir)/makecd.in
	rm -f makecd
	$(edit) $(srcdir)/makecd.in > makecd

makecd.helper: $(srcdir)/makecd.helper.in
	rm -f makecd.helper
	$(edit) $(srcdir)/makecd.helper.in > makecd.helper

mysql: $(srcdir)/mysql.in
	rm -f mysql
	$(edit) $(srcdir)/mysql.in > mysql

mysql.helper: $(srcdir)/mysql.helper.in
	rm -f mysql.helper
	$(edit) $(srcdir)/mysql.helper.in > mysql.helper

pgsql: $(srcdir)/pgsql.in
	rm -f pgsql
	$(edit) $(srcdir)/pgsql.in > pgsql

pgsql.helper: $(srcdir)/pgsql.helper.in
	rm -f pgsql.helper
	$(edit) $(srcdir)/pgsql.helper.in > pgsql.helper

rdiff: $(srcdir)/rdiff.in
	rm -f rdiff
	$(edit) $(srcdir)/rdiff.in > rdiff

rdiff.helper: $(srcdir)/rdiff.helper.in
	rm -f rdiff.helper
	$(edit) $(srcdir)/rdiff.helper.in > rdiff.helper

rsnap: $(srcdir)/rsnap.in
	rm -f rsnap
	$(edit) $(srcdir)/rsnap.in > rsnap

rub: $(srcdir)/rub.in
	rm -f rub
	$(edit) $(srcdir)/rub.in > rub

sh: $(srcdir)/sh.in
	rm -f sh
	$(edit) $(srcdir)/sh.in > sh

svn: $(srcdir)/svn.in
	rm -f svn
	$(edit) $(srcdir)/svn.in > svn

sys: $(srcdir)/sys.in
	rm -f sys
	$(edit) $(srcdir)/sys.in > sys

sys.helper: $(srcdir)/sys.helper.in
	rm -f sys.helper
	$(edit) $(srcdir)/sys.helper.in > sys.helper

trac: $(srcdir)/trac.in
	rm -f trac
	$(edit) $(srcdir)/trac.in > trac