* Cleaned up debian/rules a bit

debian-releases/etch
Yaroslav Halchenko 2006-11-12 02:11:34 +00:00
parent f8a3605c97
commit b9b30341d4
2 changed files with 4 additions and 20 deletions

1
debian/changelog vendored
View File

@ -6,6 +6,7 @@ fail2ban (0.7.4-3~3) unstable; urgency=low
* Updated README.Debian to reflect transition over to 0.7 branch and to * Updated README.Debian to reflect transition over to 0.7 branch and to
comment on 350746 comment on 350746
* "Clean" target removes generated .pyc files now (Closes: #398146) * "Clean" target removes generated .pyc files now (Closes: #398146)
* Cleaned up debian/rules a bit
-- Yaroslav O. Halchenko <debian@onerussian.com> Sat, 11 Nov 2006 21:00:18 -0500 -- Yaroslav O. Halchenko <debian@onerussian.com> Sat, 11 Nov 2006 21:00:18 -0500

23
debian/rules vendored
View File

@ -24,26 +24,15 @@ configure-stamp:
build: patch build: patch
copy-inits:
# cp config/gentoo-confd debian/fail2ban.default
# cp config/debian-initd debian/fail2ban.init
# cp config/fail2ban.logrotate debian/
clean-inits:
# rm -f debian/fail2ban.{default,init,logrotate}
clean: clean-inits unpatch clean: clean-inits unpatch
dh_testdir dh_testdir
dh_testroot dh_testroot
rm -f build-stamp configure-stamp rm -f build-stamp configure-stamp
# Add here commands to clean up after the build process. rm -rf build
find -iname \*.pyc | xargs rm -f dh_clean *.pyc
rm -rf changelog.gz build*
dh_clean install: build
install: build copy-inits
dh_testdir dh_testdir
dh_testroot dh_testroot
dh_clean -k dh_clean -k
@ -57,8 +46,6 @@ install: build copy-inits
# Install Debian shipped jail file in 1 piece (instead of patching # Install Debian shipped jail file in 1 piece (instead of patching
# the shipped one since there are too many changes) # the shipped one since there are too many changes)
install -m 644 debian/jail.conf $(DESTDIR)/etc/fail2ban install -m 644 debian/jail.conf $(DESTDIR)/etc/fail2ban
#X mkdir -p $(DESTDIR)/etc
#X cp config/fail2ban.conf.iptables $(DESTDIR)/etc/fail2ban.conf
# #
# Just to comply with policy 4.8 # Just to comply with policy 4.8
@ -72,12 +59,8 @@ binary-indep: install
dh_installchangelogs CHANGELOG dh_installchangelogs CHANGELOG
dh_installdocs dh_installdocs
dh_installexamples config/jail.conf dh_installexamples config/jail.conf
# dh_install
# dh_installdebconf
dh_installlogrotate dh_installlogrotate
dh_installinit -- defaults 99 dh_installinit -- defaults 99
# dh_installcron
# dh_installinfo
dh_installman man/*.1 dh_installman man/*.1
dh_pycentral dh_pycentral
dh_link dh_link