[SCM] proftpd-mod-case branch, master, updated. upstream/0.4-8-g0cf7aca

Mahyuddin Susanto udienz at ubuntu.com
Sat Apr 16 05:53:41 UTC 2011


The following commit has been merged in the master branch:
commit c41547d470f271f542126ee03e7f3b24d1e137ae
Author: Mahyuddin Susanto <udienz at ubuntu.com>
Date:   Sat Apr 16 12:38:14 2011 +0700

    fixing debian/case

diff --git a/debian/rules b/debian/rules
index b760bee..6cbd550 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,13 +1,21 @@
 #!/usr/bin/make -f
 # -*- makefile -*-
-# Sample debian/rules that uses debhelper.
-# This file was originally written by Joey Hess and Craig Small.
-# As a special exception, when this file is copied by dh-make into a
-# dh-make output file, you may use that output file without restriction.
-# This special exception was added by Craig Small in version 0.37 of dh-make.
 
-# Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
+MODULE_NAME=mod_case
+DEBNAME=proftpd-mod-case
 
 %:
-	dh $@ 
+	dh $@
+
+override_dh_auto_build:
+	DESTDIR=$(CURDIR)/debian/$(DEBNAME) prxs -c $(MODULE_NAME).c
+	
+override_dh_auto_install:
+	DESTDIR=$(CURDIR)/debian/$(DEBNAME) prxs -i -c $(MODULE_NAME).c
+
+override_dh_gencontrol:
+	cat /usr/share/proftpd/proftpd-substvars >> $(CURDIR)/debian/substvars
+	dh_gencontrol
+
+override_dh_autoclean:
+	DESTDIR=$(CURDIR)/debian/$(DEBNAME) prxs -d $(MODULE_NAME).c

-- 
ProFTPD module fot mod_case



More information about the Pkg-proftpd-maintainers mailing list