root/alternc-procmail/trunk/debian/rules

Revision 2248, 2.5 kB (checked in by benjamin, 6 months ago)

procmail_builder now working on sqw-1.4.9 and alternc-0.9.8 with register_globals=off

  • 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 # GNU copyright 1997 to 1999 by Joey Hess.
4
5 # Uncomment this to turn on verbose mode.
6 #export DH_VERBOSE=1
7
8
9 configure: configure-stamp
10 configure-stamp:
11         dh_testdir
12 # Add here commands to configure the package.
13
14         touch configure-stamp
15
16
17 build: build-stamp
18
19 build-stamp: configure-stamp
20         dh_testdir
21
22 # Add here commands to compile the package.
23         ./dopo.sh
24 # $(MAKE)
25         touch build-stamp
26
27 clean:
28         dh_testdir
29         dh_testroot
30         rm -f build-stamp configure-stamp
31 #       ./dopo.sh clean
32         dh_clean
33
34 install: build
35         dh_testdir
36         dh_testroot
37         dh_clean -k
38         dh_installdirs
39
40 # Add here commands to install the package into debian/alternc-fetchmail-builder.
41 #       cp add.php config.php del.php edit.php setup.php list.php \
42 #               debian/alternc-fetchmail-builder/usr/share/squirrelmail/plugins/fetchmail/
43 #       cp m_fetchmail.php debian/alternc-fetchmail-builder/var/alternc/bureau/admin/plugins/fetchmail/
44 #       cp -R locales/* debian/alternc-fetchmail-builder/var/alternc/bureau/locales/
45 #       find debian/alternc-fetchmail-builder/var/alternc/bureau/locales -depth -name "CVS" -type d -exec rm {} -rf \;
46 #       cp fetchmail.sh debian/alternc-fetchmail-builder/usr/lib/alternc/
47
48         cp procmail_add.php procmail_opt.php setup.php config.php debian/alternc-procmail/usr/share/squirrelmail/plugins/procmail_builder/
49         chown -R 33.33 debian/alternc-procmail/usr/share/squirrelmail/plugins/procmail_builder/
50         cp m_procmail.php procmailrc.default debian/alternc-procmail/var/alternc/bureau/class/procmail_builder/
51         cp -R locales debian/alternc-procmail/var/alternc/bureau/
52         find debian/alternc-procmail/ -name CVS -depth -exec rm {} -rf \;
53         find debian/alternc-procmail/ -name .svn -depth -exec rm {} -rf \;
54         chown -R 33.33 debian/alternc-procmail/var/alternc/bureau/  debian/alternc-procmail/usr/share/squirrelmail/plugins/
55
56 # $(MAKE) install DESTDIR=$(CURDIR)/debian/alternc-procmail
57
58
59 # Build architecture-independent files here.
60 binary-indep: build install
61 # We have nothing to do by default.
62
63 # Build architecture-dependent files here.
64 binary-arch: build install
65         dh_testdir
66         dh_testroot
67 #       dh_installdebconf       
68         dh_installdocs
69         dh_installexamples
70         dh_installmenu
71 #       dh_installlogrotate
72 #       dh_installemacsen
73 #       dh_installpam
74 #       dh_installmime
75 #       dh_installinit
76         dh_installcron
77         dh_installman
78         dh_installinfo
79 #       dh_undocumented
80         dh_installchangelogs
81         dh_link
82         dh_strip
83         dh_compress
84         dh_fixperms
85 #       dh_makeshlibs
86         dh_installdeb
87 #       dh_perl
88         dh_shlibdeps
89         dh_gencontrol
90         dh_md5sums
91         dh_builddeb
92
93 binary: binary-indep binary-arch
94 .PHONY: build clean binary-indep binary-arch binary install configure
Note: See TracBrowser for help on using the browser.