Mercurial > hg
comparison contrib/chg/Makefile @ 34624:884855ce5e63
build: chg build was failing when the base directory contained spaces
author | muxator <a.mux@inwind.it> |
---|---|
date | Wed, 11 Oct 2017 02:06:12 +0200 |
parents | 5544af862286 |
children | 01c57eeb35cb |
comparison
equal
deleted
inserted
replaced
34623:baa522889540 | 34624:884855ce5e63 |
---|---|
29 procutil.o: procutil.h util.h | 29 procutil.o: procutil.h util.h |
30 util.o: util.h | 30 util.o: util.h |
31 | 31 |
32 .PHONY: install | 32 .PHONY: install |
33 install: $(TARGET) | 33 install: $(TARGET) |
34 install -d $(DESTDIR)$(PREFIX)/bin | 34 install -d "$(DESTDIR)$(PREFIX)"/bin |
35 install -m 755 $(TARGET) $(DESTDIR)$(PREFIX)/bin | 35 install -m 755 "$(TARGET)" "$(DESTDIR)$(PREFIX)"/bin |
36 install -d $(DESTDIR)$(MANDIR) | 36 install -d "$(DESTDIR)$(MANDIR)" |
37 install -m 644 chg.1 $(DESTDIR)$(MANDIR) | 37 install -m 644 chg.1 "$(DESTDIR)$(MANDIR)" |
38 | 38 |
39 .PHONY: serve | 39 .PHONY: serve |
40 serve: | 40 serve: |
41 [ -d $(CHGSOCKDIR) ] || ( umask 077; mkdir $(CHGSOCKDIR) ) | 41 [ -d "$(CHGSOCKDIR)" ] || ( umask 077; mkdir "$(CHGSOCKDIR)" ) |
42 $(HG) serve --cwd / --cmdserver chgunix \ | 42 "$(HG)" serve --cwd / --cmdserver chgunix \ |
43 --address $(CHGSOCKNAME) \ | 43 --address $(CHGSOCKNAME) \ |
44 --config cmdserver.log=/dev/stderr | 44 --config cmdserver.log=/dev/stderr |
45 | 45 |
46 .PHONY: clean | 46 .PHONY: clean |
47 clean: | 47 clean: |