Show More
@@ -181,7 +181,6 b' osx:' | |||
|
181 | 181 | make -C contrib/chg \ |
|
182 | 182 | HGPATH=/usr/local/bin/hg \ |
|
183 | 183 | PYTHON=/usr/bin/python2.7 \ |
|
184 | HG=/usr/local/bin/hg \ | |
|
185 | 184 | HGEXTDIR=/Library/Python/2.7/site-packages/hgext \ |
|
186 | 185 | DESTDIR=../../build/mercurial \ |
|
187 | 186 | PREFIX=/usr/local \ |
@@ -1,5 +1,3 b'' | |||
|
1 | HG = $(CURDIR)/../../hg | |
|
2 | ||
|
3 | 1 |
|
|
4 | 2 | SRCS = chg.c hgclient.c procutil.c util.c |
|
5 | 3 | OBJS = $(SRCS:.c=.o) |
@@ -15,9 +13,6 b' DESTDIR =' | |||
|
15 | 13 | PREFIX = /usr/local |
|
16 | 14 | MANDIR = $(PREFIX)/share/man/man1 |
|
17 | 15 | |
|
18 | CHGSOCKDIR = /tmp/chg$(shell id -u) | |
|
19 | CHGSOCKNAME = $(CHGSOCKDIR)/server | |
|
20 | ||
|
21 | 16 | .PHONY: all |
|
22 | 17 | all: $(TARGET) |
|
23 | 18 | |
@@ -36,13 +31,6 b' install: $(TARGET)' | |||
|
36 | 31 | install -d "$(DESTDIR)$(MANDIR)" |
|
37 | 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 | 34 | .PHONY: clean |
|
47 | 35 | clean: |
|
48 | 36 | $(RM) $(OBJS) |
General Comments 0
You need to be logged in to leave comments.
Login now