Makefile.am 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. # Copyright (C) 2004 Free Software Foundation, Inc.
  2. ## This program is free software; you can redistribute it and/or modify
  3. ## it under the terms of the GNU General Public License as published by
  4. ## the Free Software Foundation; either version 2, or (at your option)
  5. ## any later version.
  6. ## This program is distributed in the hope that it will be useful,
  7. ## but WITHOUT ANY WARRANTY; without even the implied warranty of
  8. ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  9. ## GNU General Public License for more details.
  10. ## You should have received a copy of the GNU General Public License
  11. ## along with this program; if not, write to the Free Software
  12. ## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
  13. ## 02111-1307, USA.
  14. libexec_SCRIPTS=backup.sh dump-remind
  15. AM_INSTALLCHECK_STD_OPTIONS_EXEMPT=backup.sh dump-remind
  16. sbin_SCRIPTS=backup restore
  17. EXTRA_DIST=\
  18. backup.sh.in\
  19. backup.in\
  20. restore.in\
  21. dump-remind.in\
  22. backup-specs
  23. CLEANFILES=backup.sh backup restore dump-remind
  24. SED_CMD="s,\@libexecdir\@,$(libexecdir),;\
  25. s,\@sysconfdir\@,$(sysconfdir),;\
  26. s,\@PACKAGE\@,$(PACKAGE),;\
  27. s,\@VERSION\@,$(VERSION),;\
  28. s,\@PACKAGE_BUGREPORT\@,$(PACKAGE_BUGREPORT),;\
  29. s,\@DATE_FORMAT_OK\@,$(DATE_FORMAT_OK),;@BACKUP_SED_COND@"
  30. backup.sh: $(srcdir)/backup.sh.in
  31. sed $(SED_CMD) $? > $@
  32. backup: $(srcdir)/backup.in
  33. sed $(SED_CMD) $? > $@
  34. restore: $(srcdir)/restore.in
  35. sed $(SED_CMD) $? > $@
  36. dump-remind: $(srcdir)/dump-remind.in
  37. sed $(SED_CMD) $? > $@