Makefile.am 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738
  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
  17. EXTRA_DIST=$(libexec_SCRIPTS) backup.in dump-remind.in backup-specs
  18. CLEANFILES=backup dump-remind
  19. backup: $(srcdir)/backup.in
  20. sed "s,\@libexecdir\@,$(libexecdir),;\
  21. s,\@sysconfdir\@,$(sysconfdir),;\
  22. s,\@PACKAGE\@,$(PACKAGE),;\
  23. s,\@VERSION\@,$(VERSION),;\
  24. s,\@PACKAGE_BUGREPORT\@,$(PACKAGE_BUGREPORT),;\
  25. s,\@DATE_FORMAT_OK\@,$(DATE_FORMAT_OK),;@BACKUP_SED_COND@" $? > $@
  26. dump-remind: $(srcdir)/dump-remind.in
  27. sed "s,\@libexecdir\@,$(libexecdir),;\
  28. s,\@sysconfdir\@,$(sysconfdir),;\
  29. s,\@PACKAGE\@,$(PACKAGE),;\
  30. s,\@VERSION\@,$(VERSION),;\
  31. s,\@PACKAGE_BUGREPORT\@,$(PACKAGE_BUGREPORT),;\
  32. s,\@DATE_FORMAT_OK\@,$(DATE_FORMAT_OK),;@BACKUP_SED_COND@" $? > $@