1 #!/bin/sh |
|
2 |
|
3 echo "NOT YET. Debian package generation needs to be re-done" |
|
4 exit 1 |
|
5 |
|
6 #!/usr/bin/make -f |
|
7 # -*- makefile -*- |
|
8 # Sample debian/rules that uses debhelper. |
|
9 # This file was originally written by Joey Hess and Craig Small. |
|
10 # As a special exception, when this file is copied by dh-make into a |
|
11 # dh-make output file, you may use that output file without restriction. |
|
12 # This special exception was added by Craig Small in version 0.37 of dh-make. |
|
13 |
|
14 # Uncomment this to turn on verbose mode. |
|
15 #export DH_VERBOSE=1 |
|
16 |
|
17 |
|
18 |
|
19 CFLAGS = -Wall -g |
|
20 |
|
21 ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) |
|
22 CFLAGS += -O0 |
|
23 else |
|
24 CFLAGS += -O2 |
|
25 endif |
|
26 |
|
27 configure: configure-stamp |
|
28 configure-stamp: |
|
29 dh_testdir |
|
30 # Add here commands to configure the package. |
|
31 |
|
32 touch configure-stamp |
|
33 |
|
34 |
|
35 build: build-stamp |
|
36 |
|
37 build-stamp: configure-stamp |
|
38 dh_testdir |
|
39 |
|
40 # Add here commands to compile the package. |
|
41 $(MAKE) prefix=/usr exim=exim4 |
|
42 #docbook-to-man debian/exigrey.sgml > exigrey.1 |
|
43 |
|
44 touch $@ |
|
45 |
|
46 clean: |
|
47 dh_testdir |
|
48 dh_testroot |
|
49 rm -f build-stamp configure-stamp |
|
50 |
|
51 # Add here commands to clean up after the build process. |
|
52 -$(MAKE) clean |
|
53 |
|
54 dh_clean |
|
55 |
|
56 install: build |
|
57 dh_testdir |
|
58 dh_testroot |
|
59 dh_clean -k |
|
60 dh_installdirs |
|
61 |
|
62 # Add here commands to install the package into debian/exigrey. |
|
63 $(MAKE) \ |
|
64 prefix=/usr \ |
|
65 exim=exim4 \ |
|
66 DESTDIR=$(CURDIR)/debian/exigrey \ |
|
67 install |
|
68 |
|
69 install -m755 cron.daily.ex $(CURDIR)/debian/exigrey/etc/cron.daily/exigrey |
|
70 |
|
71 |
|
72 # Build architecture-independent files here. |
|
73 binary-indep: build install |
|
74 # We have nothing to do by default. |
|
75 |
|
76 # Build architecture-dependent files here. |
|
77 binary-arch: build install |
|
78 dh_testdir |
|
79 dh_testroot |
|
80 dh_installchangelogs |
|
81 dh_installdocs |
|
82 dh_installexamples |
|
83 # dh_install |
|
84 # dh_installmenu |
|
85 # dh_installdebconf |
|
86 # dh_installlogrotate |
|
87 # dh_installemacsen |
|
88 # dh_installpam |
|
89 # dh_installmime |
|
90 # dh_python |
|
91 # dh_installinit |
|
92 dh_installcron |
|
93 # dh_installinfo |
|
94 dh_installman |
|
95 dh_link |
|
96 dh_strip |
|
97 dh_compress |
|
98 dh_fixperms |
|
99 # dh_perl |
|
100 # dh_makeshlibs |
|
101 dh_installdeb |
|
102 dh_shlibdeps |
|
103 dh_gencontrol |
|
104 dh_md5sums |
|
105 dh_builddeb |
|
106 |
|
107 binary: binary-indep binary-arch |
|
108 .PHONY: build clean binary-indep binary-arch binary install configure |
|