Makefile.am 1.6 KB

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