SUBDIRS=. lib examples doc noinst_SCRIPTS=build.sed backup.sh restore.sh bin_SCRIPTS=backup-cleanup CLEANFILES=backup.sh restore.sh install-exec-hook: for file in backup restore; \ do \ test -z "$(DESTDIR)$(bindir)" || \ $(mkdir_p) "$(DESTDIR)$(bindir)"; \ ${INSTALL} $(top_builddir)/$$file.sh \ $(DESTDIR)$(bindir)/$$file; \ done install-data-hook: test -z "$(DESTDIR)$(sysconfdir)" || \ $(mkdir_p) "$(DESTDIR)$(sysconfdir)"; \ if test -f $(DESTDIR)$(sysconfdir)/backup.conf; then :; else \ ${INSTALL} -m 644 $(top_srcdir)/backup.conf $(DESTDIR)$(sysconfdir);\ fi uninstall-hook: for file in backup restore; \ do \ rm -f "$(DESTDIR)$(bindir)/$$file"; \ done backup.sh restore.sh: build.sed EXTRA_DIST=backup.in restore.in backup.conf backup-cleanup distuninstallcheck_listfiles=find $(DESTDIR)$(prefix) -type f -not -wholename '$(DESTDIR)$(sysconfdir)/backup.conf' $(top_builddir)/build.sed: Makefile $(AM_V_GEN){ \ echo 's|@''SYSCONFDIR''@|${sysconfdir}|g';\ echo 's|@''LIBDIR''@|${libdir}|g'; \ echo 's|@''BINDIR''@|${bindir}|g'; \ } > $(top_builddir)/build.sed DISTCLEANFILES=build.sed backup.sh restore.sh include $(top_srcdir)/Make.rules .PHONY: ChangeLog ChangeLog: $(AM_V_GEN)if test -d .git; then \ git log --pretty='format:%ct %an <%ae>%n%n%s%n%n%b%n' | \ awk -f $(top_srcdir)/git2chg.awk > ChangeLog.tmp; \ cmp ChangeLog ChangeLog.tmp > /dev/null 2>&1 || \ mv ChangeLog.tmp ChangeLog; \ rm -f ChangeLog.tmp; \ fi