fixed bug where maildirs that start with a number were skipped. make deleted maildirs...
[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 ninjareport.in
8
9 edit = sed \
10     -e "s,@CFGDIR\@,$(CFGDIR),g" \
11     -e "s,@BASH\@,$(BASH),g" \
12     -e "s,@AWK\@,$(AWK),g" \
13     -e "s,@SED\@,$(SED),g" \
14     -e 's,@datadir\@,$(pkgdatadir),g' \
15     -e "s,@libdir\@,$(pkglibdir),g" \
16     -e 's,@localstatedir\@,$(localstatedir),g' \
17     -e 's,@prefix\@,$(prefix),g'
18
19 #install-exec-hook:
20
21 backupninja: $(srcdir)/backupninja.in
22         rm -f backupninja
23         $(edit) $(srcdir)/backupninja.in > backupninja
24         chmod ugo+x backupninja
25
26 ninjahelper: $(srcdir)/ninjahelper.in
27         rm -f ninjahelper
28         $(edit) $(srcdir)/ninjahelper.in > ninjahelper
29         chmod ugo+x ninjahelper
30
31 ninjareport: $(srcdir)/ninjareport.in
32         rm -f ninjareport
33         $(edit) $(srcdir)/ninjareport.in > ninjareport
34         chmod ugo+x ninjareport