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