X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=scripts%2FMakefile.am;h=dc8cfda88495cbcf3d6c41fb7e2510957cedb2cc;hb=31e36b1e938c61e3dc5c2da77c60643456d9f82f;hp=4b73dcd06860cc23a9f354bb5c101658b6b095da;hpb=09d04878de9d2ffa496e1c371bed1d5e12913544;p=chaz%2Ftar diff --git a/scripts/Makefile.am b/scripts/Makefile.am index 4b73dcd..dc8cfda 100644 --- a/scripts/Makefile.am +++ b/scripts/Makefile.am @@ -1,20 +1,38 @@ -# Makefile for GNU tar scripts. -# Copyright (C) 1994 Free Software Foundation, Inc. +# Copyright (C) 2004 Free Software Foundation, Inc. -# 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. +## 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. -# 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 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. -# 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. +## 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. -AUTOMAKE_OPTIONS = gnits +libexec_SCRIPTS=backup.sh dump-remind +AM_INSTALLCHECK_STD_OPTIONS_EXEMPT=backup.sh dump-remind +sbin_SCRIPTS=backup +EXTRA_DIST=$(libexec_SCRIPTS) backup.in dump-remind.in backup-specs +CLEANFILES=backup dump-remind -EXTRA_DIST = WARNING backup-specs dump-remind level-0 level-1 weekly.new +backup: $(srcdir)/backup.in + sed "s,\@libexecdir\@,$(libexecdir),;\ + s,\@sysconfdir\@,$(sysconfdir),;\ + s,\@PACKAGE\@,$(PACKAGE),;\ + s,\@VERSION\@,$(VERSION),;\ + s,\@PACKAGE_BUGREPORT\@,$(PACKAGE_BUGREPORT),;\ + s,\@DATE_FORMAT_OK\@,$(DATE_FORMAT_OK),;@BACKUP_SED_COND@" $? > $@ + +dump-remind: $(srcdir)/dump-remind.in + sed "s,\@libexecdir\@,$(libexecdir),;\ + s,\@sysconfdir\@,$(sysconfdir),;\ + s,\@PACKAGE\@,$(PACKAGE),;\ + s,\@VERSION\@,$(VERSION),;\ + s,\@PACKAGE_BUGREPORT\@,$(PACKAGE_BUGREPORT),;\ + s,\@DATE_FORMAT_OK\@,$(DATE_FORMAT_OK),;@BACKUP_SED_COND@" $? > $@ \ No newline at end of file