1 # Copyright (C) 2004 Free Software Foundation, Inc.
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)
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.
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
18 BACKUP_LIBEXEC_SCRIPTS_LIST=backup.sh dump-remind
19 BACKUP_SBIN_SCRIPTS_LIST=backup restore
20 libexec_SCRIPTS=@BACKUP_LIBEXEC_SCRIPTS@
21 AM_INSTALLCHECK_STD_OPTIONS_EXEMPT=backup.sh dump-remind
22 sbin_SCRIPTS=@BACKUP_SBIN_SCRIPTS@
30 CLEANFILES=backup.sh backup restore dump-remind
32 SED_CMD="s,\@libexecdir\@,$(libexecdir),;\
33 s,\@sysconfdir\@,$(sysconfdir),;\
34 s,\@PACKAGE\@,$(PACKAGE),;\
35 s,\@VERSION\@,$(VERSION),;\
36 s,\@PACKAGE_BUGREPORT\@,$(PACKAGE_BUGREPORT),;\
37 s,\@DATE_FORMAT_OK\@,$(DATE_FORMAT_OK),;@BACKUP_SED_COND@"
39 backup.sh: $(srcdir)/backup.sh.in
40 sed $(SED_CMD) $? > $@
42 backup: $(srcdir)/backup.in
43 sed $(SED_CMD) $? > $@
45 restore: $(srcdir)/restore.in
46 sed $(SED_CMD) $? > $@
48 dump-remind: $(srcdir)/dump-remind.in
49 sed $(SED_CMD) $? > $@