From: Brendan Cully Date: Sat, 15 Jan 2005 08:01:35 +0000 (+0000) Subject: Update commit targets to work when builddir != srcdir. X-Git-Tag: mutt-1-5-7-rel~57 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8489a32366255a48ebb38be86dc3d2b4815b1df0;p=mutt Update commit targets to work when builddir != srcdir. --- diff --git a/Makefile.am b/Makefile.am index 0e0f8dbf..7b787642 100644 --- a/Makefile.am +++ b/Makefile.am @@ -153,23 +153,24 @@ install-data-local: Muttrc # used manually. pclean: - cat /dev/null > PATCHES + cat /dev/null > $(top_srcdir)/PATCHES check-security: - ./check_sec.sh + (cd $(top_srcdir) && ./check_sec.sh) commit-real: - cvs commit + (cd $(top_srcdir) && cvs commit) commit-changelog: - cvs commit -m "# changelog commit" ChangeLog + (cd $(top_srcdir) && cvs commit -m "# changelog commit" ChangeLog) commit: pclean check-security commit-real changelog commit-changelog changelog: - cvs update ChangeLog - sh ./mkchangelog.sh | fmt -c | cat - ChangeLog > ChangeLog.$$$$ && mv ChangeLog.$$$$ ChangeLog - $${VISUAL:-vi} ChangeLog + (cd $(top_srcdir); \ + cvs update ChangeLog; \ + sh ./mkchangelog.sh | fmt -c | cat - ChangeLog > ChangeLog.$$$$ && mv ChangeLog.$$$$ ChangeLog; \ + $${VISUAL:-vi} ChangeLog) ChangeLog: changelog