File: domake.sh

package info (click to toggle)
crawl 2%3A0.4.1-1
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 23,396 kB
  • ctags: 21,352
  • sloc: cpp: 190,349; ansic: 60,021; python: 488; perl: 451; makefile: 358; ruby: 200; sh: 21
file content (12 lines) | stat: -rw-r--r-- 331 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh
#jmf: automate making normal & wizard binaries, until they merge
#jmf: N.B.: requires symlink directories; run ./dolinks.sh to make

pushd NORMAL && make && popd && pushd WIZARD && make wizard ; popd

if [ -f NORMAL/crawl ]; then
	ln -sf NORMAL/crawl ncrawl
fi
if [ -f WIZARD/crawl ]; then
	ln -sf WIZARD/crawl wcrawl
fi