-
Notifications
You must be signed in to change notification settings - Fork 3
/
Makefile
84 lines (73 loc) · 2.08 KB
/
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
#########################################################
#
# setup environment for remote obervatory
#
#########################################################
# Produce verbose output by default.
VERBOSE = 1
# Default target executed when no arguments are given to make.
default_target: all
.PHONY: default_target test docs clean
all: remote_observatory
packages:
$(info Installing system packages requirements ...)
sudo add-apt-repository -y ppa:mutlaqja/ppa
sudo add-apt-repository -y ppa:pch/phd2
sudo apt-get update
sudo apt-get install -y\
astrometry.net\
astrometry-data-4208-4219\
extra-cmake-modules\
indi-full\
gpsd\
gsc\
kdelibs5-dev\
kdoctools-dev\
kstars-bleeding\
libastrometry*\
libboost-dev\
libboost-regex-dev\
libcfitsio-dev\
libfftw3-dev\
libftdi-dev\
libftdi1-dev\
libgps-dev\
libgphoto2-dev\
libindi-dev\
libindi1\
libkf5declarative-dev\
libkf5globalaccel-dev\
libkf5configwidgets-dev\
libkf5xmlgui-dev\
libkf5windowsystem-dev\
libkf5notifications-dev\
libkf5kdelibs4support5-bin\
libkf5newstuff-dev\
libkf5crash-dev\
libkf5plotting-dev\
libkf5notifyconfig-dev\
libnova*\
libqt5svg5-dev\
libqt5websockets5-dev\
libraw-dev\
librtlsdr-dev\
libtheora-dev\
phd2\
qttools5-dev-tools\
swig\
wcslib-dev\
xplanet
# libjpeg9-dev\
venv: requirements.txt packages
$(info Installing python requirements ...)
test -d venv || virtualenv venv
. venv/bin/activate && \
pip install --upgrade pip && \
pip install -r requirements.txt
remote_observatory: venv
$(info Installing remote_observatory in venv ...)
#python setup.py install
docs:
cd docs; make html; cd -
clean:
rm -rf venv