X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=scripts%2FMakefile.am;h=a250a66f90169a0e04ad71fd85c0b696a2203e39;hb=93f8f6780ad64b2e7e57f077cfab8bd9c1f8ccf4;hp=dc8cfda88495cbcf3d6c41fb7e2510957cedb2cc;hpb=31e36b1e938c61e3dc5c2da77c60643456d9f82f;p=chaz%2Ftar diff --git a/scripts/Makefile.am b/scripts/Makefile.am index dc8cfda..a250a66 100644 --- a/scripts/Makefile.am +++ b/scripts/Makefile.am @@ -1,4 +1,4 @@ -# Copyright (C) 2004 Free Software Foundation, Inc. +# Copyright (C) 2004, 2006 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 @@ -12,27 +12,38 @@ ## 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. +## Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA +## 02110-1301, USA. -libexec_SCRIPTS=backup.sh dump-remind +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 -EXTRA_DIST=$(libexec_SCRIPTS) backup.in dump-remind.in backup-specs -CLEANFILES=backup 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 "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@" $? > $@ + sed $(SED_CMD) $? > $@ + +restore: $(srcdir)/restore.in + sed $(SED_CMD) $? > $@ 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 + sed $(SED_CMD) $? > $@