This commit is contained in:
Mario Fetka 2020-03-10 15:38:52 +01:00
parent 0ea78d15e0
commit 203d50f764

6
debian/rules vendored
View File

@ -11,14 +11,14 @@ CFLAGS="$CFLAGS -Wno-implicit-function-declaration"
dh $@ --without python-support
override_dh_auto_build:
DESTDIR=$(CURDIR)/debian/$(DEBNAME) prxs -c $(MODULE_NAME).c
DESTDIR=$(CURDIR)/debian/$(DEBNAME) CFLAGS="$CFLAGS -Wno-implicit-function-declaration" prxs -c $(MODULE_NAME).c
override_dh_auto_install:
DESTDIR=$(CURDIR)/debian/$(DEBNAME) prxs -i -c $(MODULE_NAME).c
DESTDIR=$(CURDIR)/debian/$(DEBNAME) CFLAGS="$CFLAGS -Wno-implicit-function-declaration" 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
DESTDIR=$(CURDIR)/debian/$(DEBNAME) CFLAGS="$CFLAGS -Wno-implicit-function-declaration" prxs -d $(MODULE_NAME).c