Makefile.am 1.6 KB

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