1
by Christopher Armstrong
Import landscape-client into public branch |
1 |
PYDOCTOR ?= pydoctor |
2 |
TXT2MAN=man/txt2man |
|
3 |
||
4 |
check: |
|
5 |
-./test |
|
6 |
-pyflakes landscape |
|
7 |
||
8 |
checkcertificate: |
|
9 |
-echo | openssl s_client -connect landscape.canonical.com:443 -CAfile /etc/ssl/certs/ca-certificates.crt
|
|
10 |
||
11 |
clean: |
|
12 |
-find landscape -name \*.pyc -exec rm {} \; |
|
13 |
-rm tags |
|
7
by Kevin McDermott
Merge handle-clearing-gecos [r=jkakar,radix,therve] [f=239526,235058] |
14 |
-rm _trial_temp -rf |
1
by Christopher Armstrong
Import landscape-client into public branch |
15 |
-rm docs/api -rf;
|
16 |
-rm man/\*.1 -rf
|
|
17 |
||
92.4.1
by free.ekanayaka at canonical
Add a twisted documentation target for cross-reference |
18 |
doc: docs/api/twisted/pickle |
19 |
mkdir -p docs/api |
|
20 |
${PYDOCTOR} --make-html --html-output docs/api --add-package landscape --extra-system=docs/api/twisted/pickle:twisted/ |
|
21 |
||
22 |
docs/api/twisted/pickle: |
|
23 |
mkdir -p docs/api/twisted |
|
24 |
-${PYDOCTOR} --make-html --html-output docs/api/twisted --add-package /usr/share/pyshared/twisted -o docs/api/twisted/pickle |
|
1
by Christopher Armstrong
Import landscape-client into public branch |
25 |
|
26 |
manpages: |
|
27 |
${TXT2MAN} -P Landscape -t landscape-client < man/landscape-client.txt > man/landscape-client.1 |
|
28 |
${TXT2MAN} -P Landscape -t landscape-config < man/landscape-config.txt > man/landscape-config.1 |
|
29 |
${TXT2MAN} -P Landscape -t landscape-message < man/landscape-message.txt > man/landscape-message.1 |
|
30 |
||
31 |
package: manpages |
|
32 |
@fakeroot debian/rules binary |
|
33 |
@echo "\n\nYou remembered to update the changelog, right?\n\n"
|
|
34 |
||
35 |
SSH_USERNAME=`whoami` |
|
36 |
SSH_HOST=people.ubuntu.com |
|
37 |
PACKAGE_DIR=/home/jkakar/public_html/landscape |
|
38 |
deploy: |
|
39 |
ifneq (${PACKAGE},)
|
|
40 |
@echo "Copying ${PACKAGE} to $(SSH_HOST):$(PACKAGE_DIR)" |
|
41 |
@scp ${PACKAGE} $(SSH_USERNAME)@$(SSH_HOST):$(PACKAGE_DIR) |
|
42 |
@echo "\nScanning packages and recreating the Packages file."
|
|
43 |
@ssh -l $(SSH_USERNAME) $(SSH_HOST) \ |
|
44 |
"cd $(PACKAGE_DIR) " \ |
|
45 |
"&& dpkg-scanpackages . /dev/null > Packages " \ |
|
46 |
"&& gzip -f Packages"
|
|
47 |
else
|
|
48 |
@echo "You need to specify PACKAGE, as in: make deploy PACKAGE=<name>"
|
|
49 |
endif
|
|
50 |
||
51 |
MESSAGE_DIR = `pwd`/runclient-messages |
|
52 |
LOG_FILE = `pwd`/runclient.log |
|
53 |
||
23.5.39
by Jamu Kakar
- New 'reinstall' Makefile directive uses dpkg -P to remove the |
54 |
reinstall: |
55 |
-sudo dpkg -P landscape-client |
|
56 |
-sudo rm -rf /var/log/landscape /etc/landscape /var/lib/landscape /etc/default/landscape-client |
|
57 |
-sudo apt-get install landscape-client |
|
58 |
||
1
by Christopher Armstrong
Import landscape-client into public branch |
59 |
freshdata: |
60 |
-sudo rm -rf $(MESSAGE_DIR) |
|
61 |
-sudo mkdir $(MESSAGE_DIR) |
|
62 |
||
63 |
run: |
|
64 |
-sudo ./landscape-client \
|
|
65 |
-a onward -t "John's PC" \ |
|
66 |
-u http://localhost:8080/message-system \
|
|
67 |
-d $(MESSAGE_DIR) \ |
|
68 |
--urgent-exchange-interval=5 \ |
|
69 |
--log-level=debug \ |
|
70 |
--ping-url=http://localhost:8081/ping \ |
|
71 |
||
72 |
freshrun: freshdata run |
|
73 |
||
74 |
tags: |
|
75 |
-ctags --languages=python -R .
|
|
76 |
||
77 |
.PHONY: tags |