-
Notifications
You must be signed in to change notification settings - Fork 8
/
Makefile
35 lines (28 loc) · 963 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#!/usr/bin/make -f
build: doc
python3 setup.py build
clean:
-python3 setup.py clean
-find . -name "*\.pyc" -delete
-rm *.html
-rm -rf build*
man:
rst2man drobom.8.rst >drobom.8
rst2man droboview.8.rst >droboview.8
rst2html drobom.8.rst >drobom.html
rst2html droboview.8.rst >droboview.html
rst2html --stylesheet-path=drobo-utils.css README.rst >README.html
rst2html --stylesheet-path=drobo-utils.css DEVELOPERS.rst >DEVELOPERS.html
rst2html --stylesheet-path=drobo-utils.css CHANGES.rst >CHANGES.html
rst2html --stylesheet-path=drobo-utils.css DroboShare.rst >DroboShare.html
rst2html --stylesheet-path=drobo-utils.css index.rst >index.html
# Uncomment this to turn on verbose mode.
PKGNAME := drobo-utils
#install: build
old_build:
python3 setup.py install_lib -d /usr/lib/python/site-packages;
python3 setup.py install_data -d /usr/share/$(PKGNAME)
python3 setup.py install_scripts -d /usr/sbin
#release:
./make_tarball.sh
debuild -i