2
by SZALAY Attila
* New upstream version. |
1 |
#!/usr/bin/make -f
|
2 |
#-*- makefile -*-
|
|
3 |
# Made with the aid of dh_make, by Craig Small
|
|
4 |
# Sample debian/rules that uses debhelper. GNU copyright 1997 by Joey Hess.
|
|
5 |
# Some lines taken from debmake, by Christoph Lameter.
|
|
6 |
||
7 |
# Uncomment this to turn on verbose mode.
|
|
8 |
#export DH_VERBOSE=1
|
|
7
by SZALAY Attila
* New upstream version |
9 |
export DH_COMPAT=5 |
2
by SZALAY Attila
* New upstream version. |
10 |
|
3
by Magosányi Árpád (mag)
* changed manpage to better reflect -v. Closes: #228377 |
11 |
DDEBUG=`if (echo $(DEB_BUILD_OPTIONS) | grep -q debug) then \ |
12 |
echo "--enable-debug"; \ |
|
13 |
else \
|
|
14 |
echo ""; \ |
|
15 |
fi` |
|
16 |
||
2
by SZALAY Attila
* New upstream version. |
17 |
build: build-stamp |
18 |
build-stamp: |
|
19 |
dh_testdir
|
|
5
by SZALAY Attila
* New upstream version. |
20 |
|
2
by SZALAY Attila
* New upstream version. |
21 |
./configure --prefix=/ \ |
1.1.5
by SZALAY Attila
Import upstream version 1.9.11 |
22 |
$(DDEBUG) \ |
2
by SZALAY Attila
* New upstream version. |
23 |
--mandir=/usr/share/man \ |
1.1.5
by SZALAY Attila
Import upstream version 1.9.11 |
24 |
--sysconfdir=/etc/syslog-ng |
2
by SZALAY Attila
* New upstream version. |
25 |
# Add here commands to compile the package.
|
3
by Magosányi Árpád (mag)
* changed manpage to better reflect -v. Closes: #228377 |
26 |
|
2
by SZALAY Attila
* New upstream version. |
27 |
$(MAKE) |
28 |
||
29 |
touch build-stamp |
|
30 |
clean: |
|
31 |
dh_testdir
|
|
32 |
dh_testroot
|
|
33 |
rm -f build-stamp |
|
34 |
||
35 |
# Add here commands to clean up after the build process.
|
|
36 |
-$(MAKE) distclean |
|
7
by SZALAY Attila
* New upstream version |
37 |
-rm -f tests/functional/test.conf tests/functional/test-output.log |
8
by Pierre Chifflier
* Non-maintainer upload |
38 |
-rm -f config.log |
3
by Magosányi Árpád (mag)
* changed manpage to better reflect -v. Closes: #228377 |
39 |
|
2
by SZALAY Attila
* New upstream version. |
40 |
dh_clean
|
41 |
||
42 |
install: build |
|
43 |
dh_testdir
|
|
44 |
dh_testroot
|
|
45 |
dh_clean -k |
|
46 |
dh_installdirs
|
|
47 |
||
48 |
# Add here commands to install the package into debian/tmp.
|
|
6
by SZALAY Attila
* New upstream version. |
49 |
$(MAKE) install DESTDIR=`pwd`/debian/syslog-ng |
2
by SZALAY Attila
* New upstream version. |
50 |
|
2.1.1
by Micah Anderson
* Fixed missing space in versioned-depends on util-linux |
51 |
install -d -m 755 debian/syslog-ng/etc/default |
52 |
install -m 644 debian/syslog-ng.default debian/syslog-ng/etc/default/syslog-ng |
|
3
by Magosányi Árpád (mag)
* changed manpage to better reflect -v. Closes: #228377 |
53 |
install -d -m 700 debian/syslog-ng/etc/syslog-ng |
54 |
install -m 644 debian/syslog-ng.conf debian/syslog-ng/etc/syslog-ng |
|
7
by SZALAY Attila
* New upstream version |
55 |
install -d -m 700 debian/syslog-ng/usr/share/doc/syslog-ng/html |
56 |
install -m 644 NEWS debian/syslog-ng/usr/share/doc/syslog-ng |
|
57 |
(cd debian/syslog-ng/usr/share/doc/syslog-ng/html; tar -xzvf ../../../../../../../doc/reference/syslog-ng.html.tar.gz; mv syslog-ng.html/* .; rmdir syslog-ng.html) |
|
3
by Magosányi Árpád (mag)
* changed manpage to better reflect -v. Closes: #228377 |
58 |
|
2
by SZALAY Attila
* New upstream version. |
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_installdocs
|
|
3
by Magosányi Árpád (mag)
* changed manpage to better reflect -v. Closes: #228377 |
68 |
rm -f debian/syslog-ng/usr/share/doc/syslog-ng/INSTALL |
69 |
dh_installexamples
|
|
5
by SZALAY Attila
* New upstream version. |
70 |
dh_installinit -r --no-start -- defaults 10 90 |
2
by SZALAY Attila
* New upstream version. |
71 |
dh_installcron
|
72 |
dh_installlogrotate
|
|
7
by SZALAY Attila
* New upstream version |
73 |
dh_installlogcheck
|
1.1.4
by SZALAY Attila
Import upstream version 1.6.9 |
74 |
# dh_installmanpages
|
2
by SZALAY Attila
* New upstream version. |
75 |
dh_installchangelogs ChangeLog |
76 |
dh_strip
|
|
77 |
dh_compress
|
|
78 |
dh_fixperms
|
|
79 |
dh_installdeb
|
|
80 |
dh_shlibdeps
|
|
81 |
dh_gencontrol
|
|
82 |
dh_md5sums
|
|
83 |
dh_builddeb
|
|
84 |
||
85 |
binary: binary-indep binary-arch |
|
86 |
.PHONY: build clean binary-indep binary-arch binary |