root/alternc-changepass/tags/0.9.5/debian/rules

Revision 1106, 3.1 kB (checked in by anarcat, 3 years ago)

move php files in a subdir

  • Property svn:eol-style set to native
  • Property svn:executable set to *
  • Property svn:keywords set to Author Date Id Revision
Line 
1 #!/usr/bin/make -f
2 # Sample debian/rules that uses debhelper.
3 # This file is public domain software, originally written by Joey Hess.
4 #
5 # This version is for a multibinary package. It also allows you to build any
6 # of the binary packages independantly, via binary-<package> targets.
7
8 # Uncomment this to turn on verbose mode.
9 export DH_VERBOSE=1
10
11 ########################################
12 ## TODO
13 ## Virer les lignes # inutiles ou historiques (marquées ##)
14
15
16 # This has to be exported to make some magic below work.
17 export DH_OPTIONS
18
19 build: build-stamp
20 build-stamp:
21         dh_testdir
22
23 # compilation et installation des binaires
24 # pushd src; make; popd
25
26         touch build-stamp
27
28 clean:
29         dh_testdir
30         dh_testroot
31         rm -f build-stamp
32         debconf-updatepo
33
34 # Add here commands to clean up after the build process.
35 #-$(MAKE) clean
36 #-$(MAKE) distclean
37 # pushd src; make clean; popd
38
39         dh_clean
40
41 install: DH_OPTIONS=
42 install: build
43         dh_testdir
44         dh_testroot
45         dh_clean -k
46         dh_installdirs
47
48
49 # Add here commands to install the package into debian/alternc-changepass
50 #$(MAKE) prefix=`pwd`/debian/alternc-changepass/usr install
51
52 # Copy the desk files
53         cp plugin/* debian/alternc-changepass/usr/share/squirrelmail/plugins/alternc_changepass/
54         cp -r locales/* debian/alternc-changepass/var/alternc/bureau/locales/
55 # Remove CVS entries.
56         find debian/alternc-changepass/ -depth -name CVS -type d -exec rm -rf {} \;
57         find debian/alternc-changepass/ -type f -exec chown 33.33 {} \;
58         msgfmt debian/alternc-changepass/var/alternc/bureau/locales/fr_FR/LC_MESSAGES/changepass.po -o debian/alternc-changepass/var/alternc/bureau/locales/fr_FR/LC_MESSAGES/changepass.mo
59
60 #       dh_install --prefix=install/alternc
61
62 # This single target is used to build all the packages, all at once, or
63 # one at a time. So keep in mind: any options passed to commands here will
64 # affect _all_ packages. Anything you want to only affect one package
65 # should be put in another target, such as the install target.
66
67 binary-common: build install
68         dh_testdir
69         dh_testroot
70         dh_installchangelogs
71         dh_installdocs
72 #       dh_installexamples
73 #       dh_installmenu
74         dh_installdebconf
75 #       dh_installlogrotate
76 #       dh_installemacsen
77 #       dh_installpam
78 #       dh_installmime
79 #       dh_installinit
80 #       dh_installman
81         dh_installcron
82 #       dh_installinfo
83 #       dh_undocumented
84 #       dh_installman
85 #       dh_strip
86         dh_link
87         dh_compress
88         dh_fixperms
89
90
91 #       dh_makeshlibs
92         dh_installdeb
93         dh_perl
94 #       dh_shlibdeps
95         dh_gencontrol -- -cdebian/control
96         dh_md5sums
97         dh_builddeb
98
99 # Build architecture independant packages using the common target.
100 binary-indep: build install binary-common
101 # (Uncomment this next line if you have such packages.)
102 #        $(MAKE) -f debian/rules DH_OPTIONS=-i binary-common
103
104 # Build architecture dependant packages using the common target.
105 binary-arch: build install binary-common
106 #       $(MAKE) -f debian/rules DH_OPTIONS=-a binary-common
107
108 # Any other binary targets build just one binary package at a time.
109 # binary-%: build install
110 #       make -f debian/rules binary-common DH_OPTIONS=-p$*
111
112 # binary: binary-indep binary-arch
113 # .PHONY: build clean binary-indep binary-arch binary install
114
115 binary: binary-common
116
117 .PHONY: build clean binary install
Note: See TracBrowser for help on using the browser.