From mboxrd@z Thu Jan 1 00:00:00 1970 Message-Id: <200203271310.g2RDAqU02875@cbe.ericsson.se> From: Bengt Kleberg To: 9fans@cse.psu.edu MIME-Version: 1.0 Content-Type: TEXT/plain; charset=us-ascii Subject: [9fans] mk surprises me Date: Wed, 27 Mar 2002 14:10:52 +0100 Topicbox-Message-UUID: 6e1c499a-eaca-11e9-9e20-41e7f4b1d025 mk does not do what i expect it to do. here are some facts: the mkfile % : hdr.h % : %.c cp $stem.c $target the files -rw-rw-r-- 1 eleberg avall 0 Mar 20 15:47 f2.c -rw-rw-r-- 1 eleberg avall 0 Mar 27 13:12 f2 -rw-rw-r-- 1 eleberg avall 0 Mar 27 13:17 hdr.h the test ; inferno/Solaris/sparc/bin/mk -f mkfile f2 mk: no recipe to make 'f2.c' according to my interpretation of 'maintaining files on plan9 with mk' (from plan9v2 documentation), page 188, the mkfile should produce f2 from f2.c if hdr.h is younger then f2. but instead i get the error message above that i do not understand. is there anybody that sees where i go wrong? possible sources of errors: i use mk from inferno, not plan9 i have only the plan9v2 documentation, not v3 documentation. i am not very good with mkfiles bengt