1# Copyright (C) 2004, 2006 Free Software Foundation, Inc.
2
3## This program is free software; you can redistribute it and/or modify
4## it under the terms of the GNU General Public License as published by
5## the Free Software Foundation; either version 2, or (at your option)
6## any later version.
7
8## This program is distributed in the hope that it will be useful,
9## but WITHOUT ANY WARRANTY; without even the implied warranty of
10## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
11## GNU General Public License for more details.
12
13## You should have received a copy of the GNU General Public License
14## along with this program; if not, write to the Free Software
15## Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
16## 02110-1301, USA.
17
18BACKUP_LIBEXEC_SCRIPTS_LIST=backup.sh dump-remind
19BACKUP_SBIN_SCRIPTS_LIST=backup restore
20libexec_SCRIPTS=@BACKUP_LIBEXEC_SCRIPTS@
21AM_INSTALLCHECK_STD_OPTIONS_EXEMPT=backup.sh dump-remind
22sbin_SCRIPTS=@BACKUP_SBIN_SCRIPTS@
23EXTRA_SCRIPTS=tarcat
24EXTRA_DIST=\
25 backup.sh.in\
26 backup.in\
27 restore.in\
28 dump-remind.in\
29 backup-specs
30CLEANFILES=backup.sh backup restore dump-remind
31
32SED_CMD="s,\@libexecdir\@,$(libexecdir),;\
33         s,\@sysconfdir\@,$(sysconfdir),;\
34         s,\@PACKAGE_NAME\@,$(PACKAGE_NAME),;\
35         s,\@VERSION\@,$(VERSION),;\
36         s,\@PACKAGE_BUGREPORT\@,$(PACKAGE_BUGREPORT),;\
37         s,\@DATE_FORMAT_OK\@,$(DATE_FORMAT_OK),;@BACKUP_SED_COND@"
38
39backup.sh: $(srcdir)/backup.sh.in
40	sed $(SED_CMD) $? > $@
41
42backup: $(srcdir)/backup.in
43	sed $(SED_CMD) $? > $@
44
45restore: $(srcdir)/restore.in
46	sed $(SED_CMD) $? > $@
47
48dump-remind: $(srcdir)/dump-remind.in
49	sed $(SED_CMD) $? > $@
50