Code

Fixed array operations in multi_plug
[gosa.git] / gosa-si / debian / rules
1 #!/usr/bin/make -f
2 # Sample debian/rules that uses debhelper. GNU copyright 1997 by Joey Hess.
4 # Uncomment this to turn on verbose mode.
5 #export DH_VERBOSE=1
7 build: patch 
8         #********************************************************
9         #*  Building ltsp-goto into a Debian/GNU Linux Package  *
10         #*                    please stand by                   *
11         #********************************************************
13 clean: clean-patched unpatch
14 clean-patched:
15         dh_testdir
16         rm -f install-stamp 
17         -rm -f debian/files
18         -rm -rf debian/tmp
19         -rm -f debian/substvars
20         dh_clean
22 unpatch:
23         dpatch deapply-all
24         rm -rf patch-stamp debian/patched
26 install: install-stamp
27 install-stamp: 
28         dh_testdir
29         dh_testroot
30         dh_clean -k
31         dh_installdirs
33         # Create a copy, remove svn stuff
34         -mkdir debian/tmp
35         -for i in `ls | grep -v debian`; do \
36                 cp -R $$i debian/tmp ; \
37         done
38         -find debian/tmp -name '*.svn' -type d -exec rm -rf {} \; 2> /dev/null
40         touch install-stamp
42 patch: patch-stamp
43 patch-stamp:
44         dpatch apply-all
45         dpatch cat-all >patch-stamp
47 binary-indep: install
48         dh_testdir
49         dh_testroot
50         
51         dh_install
52         dh_installdocs 
53         dh_installcron
54         dh_installexamples
55         dh_installchangelogs
56         #dh_installdebconf
57         dh_installinit --init-script=gosa-si
58         install -d -o root -g root -m 750 debian/gosa-si-server/etc/gosa-si/modules
59         dh_link
60         dh_strip
61         dh_compress
62         dh_fixperms 
63         dh_perl
64         dh_installdeb
65         dh_shlibdeps
66         
67         dh_gencontrol
68         dh_md5sums
69         dh_builddeb
71 source diff:                                                                  
72         @echo >&2 'source and diff are obsolete - use dpkg-source -b'; false
74 binary: binary-indep 
75 .PHONY: build install clean binary-indep binary
77 binary-arch: