root / snf-common / debian / rules @ 539907c9
History | View | Annotate | Download (474 Bytes)
1 |
#!/usr/bin/make -f |
---|---|
2 |
|
3 |
%: |
4 |
dh $@ --with python2 |
5 |
|
6 |
package=snf-common |
7 |
config_lvl=00 |
8 |
|
9 |
override_dh_auto_install: |
10 |
dh_auto_install |
11 |
|
12 |
mkdir -p debian/$(package)/etc/synnefo |
13 |
echo "# Place your custom configuration options here\n\n" > debian/$(package)/etc/synnefo/99-local.conf |
14 |
for f in admins logging; do \ |
15 |
cp synnefo/settings/default/$$f.py \ |
16 |
debian/$(package)/etc/synnefo/$(config_lvl)-$(package)-$$f.conf; \ |
17 |
done; |
18 |
sed -i 's/^/#/' debian/$(package)/etc/synnefo/*.conf; |
19 |
|