root / snf-okeanos-site / debian / rules @ 290c6aec
History | View | Annotate | Download (526 Bytes)
1 |
#!/usr/bin/make -f |
---|---|
2 |
|
3 |
%: |
4 |
dh $@ --with python2 |
5 |
|
6 |
package=snf-okeanos-site |
7 |
static_dir=debian/$(package)/usr/share/synnefo/static/ |
8 |
okeanos_static_dir=okeanos_site/static/okeanos_static/ |
9 |
config_lvl=50 |
10 |
|
11 |
override_dh_auto_install: |
12 |
dh_auto_install |
13 |
|
14 |
mkdir -p $(static_dir)okeanos_static; |
15 |
-mv $(okeanos_static_dir) $(static_dir); |
16 |
|
17 |
mkdir -p debian/$(package)/etc/synnefo |
18 |
cp okeanos_site/settings.py \ |
19 |
debian/$(package)/etc/synnefo/$(config_lvl)-$(package)-settings.conf; \ |
20 |
sed -i 's/^/#/' debian/$(package)/etc/synnefo/*.conf; |
21 |
|