X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Ftar;a=blobdiff_plain;f=scripts%2FMakefile.am;h=7484ff803596e8fe957462fade81ce659fc4b57b;hp=3d04e4e0e26ece90565f2c7627c0fabb4d928e6f;hb=45ccda119355a1087450039a250359c1d0de0d08;hpb=c291b3864202e112de41eea501e7e0989f51a166 diff --git a/scripts/Makefile.am b/scripts/Makefile.am index 3d04e4e..7484ff8 100644 --- a/scripts/Makefile.am +++ b/scripts/Makefile.am @@ -1,20 +1,51 @@ -# Makefile for GNU tar scripts. -# Copyright (C) 1994 Free Software Foundation, Inc. +# Make GNU tar scripts. -## This program is free software; you can redistribute it and/or modify -## it under the terms of the GNU General Public License as published by -## the Free Software Foundation; either version 2, or (at your option) -## any later version. +# Copyright 2004, 2006-2007, 2013-2014 Free Software Foundation, Inc. -## This program is distributed in the hope that it will be useful, -## but WITHOUT ANY WARRANTY; without even the implied warranty of -## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -## GNU General Public License for more details. +# This file is part of GNU tar. -## You should have received a copy of the GNU General Public License -## along with this program; if not, write to the Free Software Foundation, -## Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +# GNU tar is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 3 of the License, or +# (at your option) any later version. -AUTOMAKE_OPTIONS = gnits +# GNU tar is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. -EXTRA_DIST = WARNING backup-specs dump-remind level-0 level-1 weekly.new +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . + +BACKUP_LIBEXEC_SCRIPTS_LIST=backup.sh dump-remind +BACKUP_SBIN_SCRIPTS_LIST=backup restore +libexec_SCRIPTS=@BACKUP_LIBEXEC_SCRIPTS@ +AM_INSTALLCHECK_STD_OPTIONS_EXEMPT=backup.sh dump-remind +sbin_SCRIPTS=@BACKUP_SBIN_SCRIPTS@ +EXTRA_SCRIPTS=tarcat +EXTRA_DIST=\ + backup.sh.in\ + backup.in\ + restore.in\ + dump-remind.in\ + backup-specs +CLEANFILES=backup.sh backup restore dump-remind + +SED_CMD="s,\@libexecdir\@,$(libexecdir),;\ + s,\@sysconfdir\@,$(sysconfdir),;\ + s,\@PACKAGE_NAME\@,$(PACKAGE_NAME),;\ + s,\@VERSION\@,$(VERSION),;\ + s,\@PACKAGE_BUGREPORT\@,$(PACKAGE_BUGREPORT),;\ + s,\@DATE_FORMAT_OK\@,$(DATE_FORMAT_OK),;@BACKUP_SED_COND@" + +backup.sh: $(srcdir)/backup.sh.in + sed $(SED_CMD) $? > $@ + +backup: $(srcdir)/backup.in + sed $(SED_CMD) $? > $@ + +restore: $(srcdir)/restore.in + sed $(SED_CMD) $? > $@ + +dump-remind: $(srcdir)/dump-remind.in + sed $(SED_CMD) $? > $@