##// END OF EJS Templates
chg: remove outdated rule to start test server...
Yuya Nishihara -
r34656:01c57eeb default
parent child Browse files
Show More
@@ -181,7 +181,6 b' osx:'
181 make -C contrib/chg \
181 make -C contrib/chg \
182 HGPATH=/usr/local/bin/hg \
182 HGPATH=/usr/local/bin/hg \
183 PYTHON=/usr/bin/python2.7 \
183 PYTHON=/usr/bin/python2.7 \
184 HG=/usr/local/bin/hg \
185 HGEXTDIR=/Library/Python/2.7/site-packages/hgext \
184 HGEXTDIR=/Library/Python/2.7/site-packages/hgext \
186 DESTDIR=../../build/mercurial \
185 DESTDIR=../../build/mercurial \
187 PREFIX=/usr/local \
186 PREFIX=/usr/local \
@@ -1,5 +1,3 b''
1 HG = $(CURDIR)/../../hg
2
3 TARGET = chg
1 TARGET = chg
4 SRCS = chg.c hgclient.c procutil.c util.c
2 SRCS = chg.c hgclient.c procutil.c util.c
5 OBJS = $(SRCS:.c=.o)
3 OBJS = $(SRCS:.c=.o)
@@ -15,9 +13,6 b' DESTDIR ='
15 PREFIX = /usr/local
13 PREFIX = /usr/local
16 MANDIR = $(PREFIX)/share/man/man1
14 MANDIR = $(PREFIX)/share/man/man1
17
15
18 CHGSOCKDIR = /tmp/chg$(shell id -u)
19 CHGSOCKNAME = $(CHGSOCKDIR)/server
20
21 .PHONY: all
16 .PHONY: all
22 all: $(TARGET)
17 all: $(TARGET)
23
18
@@ -36,13 +31,6 b' install: $(TARGET)'
36 install -d "$(DESTDIR)$(MANDIR)"
31 install -d "$(DESTDIR)$(MANDIR)"
37 install -m 644 chg.1 "$(DESTDIR)$(MANDIR)"
32 install -m 644 chg.1 "$(DESTDIR)$(MANDIR)"
38
33
39 .PHONY: serve
40 serve:
41 [ -d "$(CHGSOCKDIR)" ] || ( umask 077; mkdir "$(CHGSOCKDIR)" )
42 "$(HG)" serve --cwd / --cmdserver chgunix \
43 --address $(CHGSOCKNAME) \
44 --config cmdserver.log=/dev/stderr
45
46 .PHONY: clean
34 .PHONY: clean
47 clean:
35 clean:
48 $(RM) $(OBJS)
36 $(RM) $(OBJS)
General Comments 0
You need to be logged in to leave comments. Login now