Code

Removed smarty plugin loading
[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 gosa-si 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 *; do \
36                 cp -R $$i debian/tmp ; \
37         done
39         touch install-stamp
41 patch: patch-stamp
42 patch-stamp:
43         dpatch apply-all
44         dpatch cat-all >patch-stamp
46 binary-indep: install
47         dh_testdir
48         dh_testroot
49         
50         dh_install --sourcedir=debian/tmp
51         
52         dh_installdocs 
53         dh_installcron
54         dh_installexamples
55         dh_installchangelogs
56         dh_installman
57         dh_installlogrotate
58         dh_installinit
59         chmod 640 debian/gosa-si-server/etc/gosa-si/server.conf debian/gosa-si-client/etc/gosa-si/client.conf
61         dh_link
62         dh_strip
63         dh_compress
64         dh_fixperms 
65         dh_perl
66         dh_installdeb
67         dh_shlibdeps
68         
69         dh_gencontrol
70         dh_md5sums
71         dh_builddeb
73 source diff:                                                                  
74         @echo >&2 'source and diff are obsolete - use dpkg-source -b'; false
76 binary: binary-indep 
77 .PHONY: build install clean binary-indep binary
79 binary-arch: