dup: checked that bandwidthlimit still works with duplicity 0.4.2, reflected
[matthijs/upstream/backupninja.git] / src / Makefile.am
1 # tyhle vygenerujeme ...
2 sbin_SCRIPTS  = backupninja ninjahelper
3
4 # a proto je taky musíme smazat ...
5 CLEANFILES = $(sbin_SCRIPTS)
6
7 EXTRA_DIST = backupninja.in ninjahelper.in
8
9 edit = sed \
10     -e "s,@CFGDIR\@,$(CFGDIR),g" \
11     -e "s,@BASH\@,$(BASH),g" \
12     -e 's,@datadir\@,$(pkgdatadir),g' \
13     -e "s,@libdir\@,$(pkglibdir),g" \
14     -e 's,@localstatedir\@,$(localstatedir),g' \
15         -e 's,@prefix\@,$(prefix),g'
16
17 #install-exec-hook:
18
19 backupninja: $(srcdir)/backupninja.in
20         rm -f backupninja
21         $(edit) $(srcdir)/backupninja.in > backupninja
22         chmod ugo+x backupninja
23
24 ninjahelper: $(srcdir)/ninjahelper.in
25         rm -f ninjahelper
26         $(edit) $(srcdir)/ninjahelper.in > ninjahelper
27         chmod ugo+x ninjahelper
28