|
|
1.1 root 1:
2: # the vers.c file is created by running the vers_string command. This command
3: # strips off the version from the name of the directory in which we are
4: # building. (See the vers_string man page.)
5: vers.c:
6: vers_string -c Graph > $(SYMROOT)/$@
7:
8: # making this forces creation of a new vers.c, with up to date version info
9: force_version::
10: -/bin/rm -f $(SYMROOT)/vers.c
11:
12: # whenever we install, we make sure the version info is up to date
13: install:: force_version
14:
15: # dependencies to force lex'ing before yacc'ing, so things build correctly
16: token.m: y.tab.h
17: y.tab.h: expr.m
18:
19: # copy some test documents along with our source when we install
20: # set files to be readonly and directories to be searchable
21: installsrc::
22: mkdirs $(SRCROOT)/DemoDocs
23: cp -r DemoDocs/*.xyzgraph DemoDocs/*.xygraph $(SRCROOT)/DemoDocs
24: (cd $(SRCROOT)/DemoDocs; find * ! -type d -exec /bin/chmod 444 {} \; ; find * -type d -exec /bin/chmod 755 {} \; ;)
25:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.