Intial commit
This commit is contained in:
23
debian/rules
vendored
Executable file
23
debian/rules
vendored
Executable file
@@ -0,0 +1,23 @@
|
||||
#!/usr/bin/make -f
|
||||
# -*- makefile -*-
|
||||
|
||||
export DH_VERBOSE=1
|
||||
VERSION=$(shell grep PROFTPD_VERSION_TEXT /usr/include/proftpd/version.h|cut -d\" -f2)
|
||||
MODULE_NAME=mod_proxy_protocol
|
||||
DEBNAME=proftpd-mod-proxy-protocol
|
||||
|
||||
%:
|
||||
dh $@ --without python-support
|
||||
|
||||
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/$(DEBNAME).substvars
|
||||
dh_gencontrol
|
||||
|
||||
override_dh_auto_clean:
|
||||
DESTDIR=$(CURDIR)/debian/$(DEBNAME) prxs -d $(MODULE_NAME).c
|
||||
Reference in New Issue
Block a user