root/alternc-stats/trunk/debian/rules

Revision 1715, 2.2 kB (checked in by nahuel, 2 years ago)

Il manquait un fichier du bureau pour que ca fonctionne correctement

  • 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 # -*- makefile -*-
3 # Sample debian/rules that uses debhelper.
4 # This file was originally written by Joey Hess and Craig Small.
5 # As a special exception, when this file is copied by dh-make into a
6 # dh-make output file, you may use that output file without restriction.
7 # This special exception was added by Craig Small in version 0.37 of dh-make.
8
9 # Uncomment this to turn on verbose mode.
10 #export DH_VERBOSE=1
11
12
13 INSTALL = install
14 INSTALL_FILE    = $(INSTALL) -p    -o root -g root  -m  644
15 INSTALL_PROGRAM = $(INSTALL) -p    -o root -g root  -m  755
16 INSTALL_SCRIPT  = $(INSTALL) -p    -o root -g root  -m  755
17 INSTALL_DIR     = $(INSTALL) -p -d -o root -g root  -m  755
18
19
20 configure: configure-stamp
21 configure-stamp:
22         dh_testdir
23
24         touch configure-stamp
25
26
27 build: build-stamp
28
29 build-stamp: configure-stamp
30         dh_testdir
31
32         touch build-stamp
33
34 clean:
35         dh_testdir
36         dh_testroot
37         rm -f build-stamp configure-stamp
38
39         dh_clean
40
41 install: build
42         dh_testdir
43         dh_testroot
44         dh_clean -k
45         dh_installdirs
46
47         $(INSTALL_PROGRAM) $(CURDIR)/bin/alternc_stats_web.php $(CURDIR)/debian/alternc-stats/usr/sbin/alternc_stats_web
48         $(INSTALL_FILE) $(CURDIR)/bureau/class/m_stats_web.php $(CURDIR)/debian/alternc-stats/var/alternc/bureau/class
49         $(INSTALL_FILE) $(CURDIR)/bureau/admin/adminmenu_stats.php $(CURDIR)/debian/alternc-stats/var/alternc/bureau/admin
50         $(INSTALL_FILE) $(CURDIR)/bureau/admin/stats_show_per_month.php $(CURDIR)/debian/alternc-stats/var/alternc/bureau/admin
51
52
53
54 # Build architecture-independent files here.
55 binary-indep: build install
56 # We have nothing to do by default.
57
58 # Build architecture-dependent files here.
59 binary-arch: build install
60         dh_testdir
61         dh_testroot
62         dh_installchangelogs
63         dh_installdocs
64         dh_installexamples
65 #       dh_install
66 #       dh_installmenu
67 #       dh_installdebconf       
68 #       dh_installlogrotate
69 #       dh_installemacsen
70 #       dh_installpam
71 #       dh_installmime
72 #       dh_installinit
73         dh_installcron --name=logrotate-stats
74 #       dh_installinfo
75         dh_installman
76         dh_link
77         dh_strip
78         dh_compress
79         dh_fixperms
80 #       dh_perl
81 #       dh_python
82 #       dh_makeshlibs
83         dh_installdeb
84         dh_shlibdeps
85         dh_gencontrol
86         dh_md5sums
87         dh_builddeb
88
89 binary: binary-indep binary-arch
90 .PHONY: build clean binary-indep binary-arch binary install configure
Note: See TracBrowser for help on using the browser.