From a3882bf0e5291aac4090d483e1e38fd30007a563 Mon Sep 17 00:00:00 2001 From: nobutaka Date: Sat, 26 Jan 2013 17:19:03 +0000 Subject: Fix build error when WRKDIRPREFIX is set. PR: ports/173573 Submitted by: Joel Ray Holveck --- editors/semi/Makefile | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'editors') diff --git a/editors/semi/Makefile b/editors/semi/Makefile index 195d94a56ee3..874fc394e60f 100644 --- a/editors/semi/Makefile +++ b/editors/semi/Makefile @@ -76,35 +76,35 @@ MAKEINFO_EMACS_FLAGS= -e texinfo-format-buffer -f save-buffer pre-build: .if defined(EMACS_PACKAGESDIR) && defined(XEMACS_PKGNAME) - @${MAKE} pkg-el-copy + @${MAKE} -C ${.CURDIR} pkg-el-copy .endif post-build: .if defined(BUILD_INFO_BY_EMACS) && (${BUILD_INFO_BY_EMACS} == "YES") - @${MAKE} info-build-by-emacs + @${MAKE} -C ${.CURDIR} info-build-by-emacs .else - @${MAKE} info-build + @${MAKE} -C ${.CURDIR} info-build .endif pre-install: .if defined(EMACS_PACKAGESDIR) && defined(EMACS_PACKAGES_SUBDIRS) - @${MAKE} mkdir-site-packages + @${MAKE} -C ${.CURDIR} mkdir-site-packages .endif .if defined(EMACS_PACKAGESDIR) && defined(XEMACS_PKGNAME) - @${MAKE} pkg-el-install + @${MAKE} -C ${.CURDIR} pkg-el-install .endif post-install: @${MKDIR} ${LOCALBASE}/share/semi @${TOUCH} ${LOCALBASE}/share/semi/${SEMI_COOKIE} .if defined(EMACS_PACKAGESDIR) && defined(MANIFEST) - @${MAKE} info-package-install - @${MAKE} manifest-install + @${MAKE} -C ${.CURDIR} info-package-install + @${MAKE} -C ${.CURDIR} manifest-install .else - @${MAKE} info-install + @${MAKE} -C ${.CURDIR} info-install .endif .if ${PORT_OPTIONS:MDOCS} - @${MAKE} doc-install + @${MAKE} -C ${.CURDIR} doc-install .endif ############################################################################### -- cgit