Project

General

Profile

« Previous | Next » 

Revision 507079e2

Added by Jérôme Schneider over 12 years ago

Debian packaging: use wcs au quotidien configuration file

View differences:

debian/rules
5 5
#export DH_VERBOSE=1
6 6

  
7 7
PYTHON=/usr/bin/python
8
DESTDIR=$(CURDIR)/debian/wcs-au-quotidien
8 9

  
9 10
build: build-stamp
10 11

  
......
29 30
	dh_clean -k
30 31
	dh_installdirs
31 32

  
32
	$(PYTHON) setup.py install --prefix=$(CURDIR)/debian/wcs-au-quotidien/usr --no-compile
33
	$(PYTHON) setup.py install --prefix=$(DESTDIR)/usr --no-compile
33 34
	for i in $(CURDIR)/debian/wcs-au-quotidien/usr/lib/python2.*; do \
34 35
		mv $$i/site-packages/extra \
35 36
			$$i/site-packages/extra-wcs-au-quotidien; done
36 37
	cd po && make install prefix=$(CURDIR)/debian/wcs-au-quotidien/
38
	install -d -m 755 $(DESTDIR)/var/lib/wcs-au-quotidien $(DESTDIR)/etc/wcs
39
	install -m 644 wcs-au-quotidien.cfg-sample $(DESTDIR)/etc/wcs/wcs-au-quotidien.cfg
37 40

  
38 41

  
39 42
# Build architecture-independent files here.

Also available in: Unified diff