home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.os2.misc
- Path: sparky!uunet!munnari.oz.au!bruce.cs.monash.edu.au!monu6!yoyo.cc.monash.edu.au!parry
- From: parry@yoyo.cc.monash.edu.au (Tom J Parry)
- Subject: GMAKE and GCC and RCS
- Message-ID: <1992Sep10.051255.8068@monu6.cc.monash.edu.au>
- Originator: parry@yoyo.cc.monash.edu.au
- Sender: news@monu6.cc.monash.edu.au (Usenet system)
- Organization: Monash University, Melb., Australia.
- Date: Thu, 10 Sep 1992 05:12:55 GMT
- Lines: 22
-
- I have a slight problem using GMAKE, GCC and RCS together. This is
- slightly related to my previous post about read only files under HPFS.
-
- When using RCS, checked out files are marked read-only as they are under
- UNIX and because of this GCC can not compile them because read-only implies
- system and hidden (or so it seems), but that argument I've gone into in my
- previous post.
-
- My current grievance is as follows: When using RCS and GMAKE together,
- GMAKe executes a command like the following:
- test -f filename.c || co filename.c
-
- In a UNIX shell, this tests if filename.c exists and if not it checks it
- out of the RCS system [Did I mention that the checked-out copy is read-only
- :-] Can anybody think of an equivalent way of doing such a thing in OS/2.
- You only want the 'co' to execute if the 'test' fails, hence the ||.
-
- Anybody think of a solution?
-
- --
- Tom J Parry.
- Your reality is a figment of my imagination.
-