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