Mercurial > hg > mercurial-crew-with-dirclash
view contrib/hgsh/Makefile @ 2736:a5c43944e1ee
avoid calling (cd ...) with `nil' as a directory name
When (hg-root) cannot determine the current Mercurial root, print an
error message instead of trying to evaluate (cd nil).
author | Giorgos Keramidas <keramida@ceid.upatras.gr> |
---|---|
date | Sun, 30 Jul 2006 09:37:08 +0300 |
parents | dbbe7f72d15a |
children |
line wrap: on
line source
CC := gcc CFLAGS := -g -O2 -Wall -Werror prefix ?= /usr/bin hgsh: hgsh.o $(CC) -o $@ $< install: hgsh install -m755 hgsh $(prefix) clean: rm -f *.o hgsh