From owner-freebsd-current Mon Jun 10 17: 6:24 2002 Delivered-To: freebsd-current@freebsd.org Received: from rumba.clave.gr.jp (rumba.clave.gr.jp [202.248.115.186]) by hub.freebsd.org (Postfix) with ESMTP id 5DA6A37B400 for ; Mon, 10 Jun 2002 17:06:19 -0700 (PDT) Received: from localhost (rumba.clave.gr.jp [202.248.115.186]) by rumba.clave.gr.jp (8.9.3+3.2W/3.7W) with ESMTP id JAA70784; Tue, 11 Jun 2002 09:06:17 +0900 (JST) Date: Mon, 10 Jun 2002 22:49:24 +0900 (JST) Message-Id: <20020610.224924.74752528.mac@clave.gr.jp> To: current@FreeBSD.org Subject: about beforeinstall target in /usr/share/mk/*.mk From: Masahide -mac- NODA X-Mailer: Mew version 2.2 on Emacs 21.2 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi. In /usr/share/mk/bsd.*.mk, 'beforeinstall' target execute after install on current. You found it to doing below in current: % cd /usr/src/share/mk % make install -n install -c -o root -g wheel -m 444 bsd.README bsd.cpu.mk bsd.dep.mk bsd.doc.mk bsd.files.mk bsd.info.mk bsd.incs.mk bsd.init.mk bsd.kern.mk bsd.kmod.mk bsd.lib.mk bsd.libnames.mk bsd.man.mk bsd.nls.mk bsd.obj.mk bsd.own.mk bsd.port.mk bsd.port.post.mk bsd.port.pre.mk bsd.port.subdir.mk bsd.prog.mk bsd.subdir.mk bsd.sys.mk sys.mk /usr/share/mk date '+%Y%m%d' > /var/db/port.mkversion % but, in makefile, beforeinstall: date '+%Y%m%d' > ${DESTDIR}/var/db/port.mkversion beforeinstall target execute after install. ### I found it at installing portupgrade from ports. :-) -- mac@clave.gr.jp/mac@jp.freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message