Statistics
| Branch: | Tag: | Revision:

root / debian / rules @ 5d4aeb5f

History | View | Annotate | Download (480 Bytes)

1
#!/usr/bin/make -f
2

    
3
export DH_VERBOSE=1
4
BUILDDIR := debian
5
DESTDIR := ${CURDIR}/${BUILDDIR}
6
package = snf-pithos-webclient
7

    
8
%:
9
	dh $@ --with python2
10

    
11
override_dh_auto_install:
12
	cd $(package); do \
13
		python setup.py install --root=$(DESTDIR)/$(package) --install-layout=deb; \
14
		cd -; \
15
	done
16
	dh_install
17

    
18
override_dh_fixperms:
19
	dh_fixperms
20
	chmod 0640 debian/$(package)/etc/synnefo/*
21
	chmod 0750 debian/$(package)/etc/synnefo
22
	chown -R root:www-data debian/$(package)/etc/synnefo