This commit is contained in:
Mario Fetka 2020-03-10 16:01:36 +01:00
parent 203d50f764
commit ba47ff1aa4

6
debian/rules vendored
View File

@ -11,14 +11,14 @@ CFLAGS="$CFLAGS -Wno-implicit-function-declaration"
dh $@ --without python-support dh $@ --without python-support
override_dh_auto_build: override_dh_auto_build:
DESTDIR=$(CURDIR)/debian/$(DEBNAME) CFLAGS="$CFLAGS -Wno-implicit-function-declaration" prxs -c $(MODULE_NAME).c DESTDIR=$(CURDIR)/debian/$(DEBNAME) CFLAGS=$(CFLAGS) prxs -c $(MODULE_NAME).c
override_dh_auto_install: override_dh_auto_install:
DESTDIR=$(CURDIR)/debian/$(DEBNAME) CFLAGS="$CFLAGS -Wno-implicit-function-declaration" prxs -i -c $(MODULE_NAME).c DESTDIR=$(CURDIR)/debian/$(DEBNAME) CFLAGS=$(CFLAGS) prxs -i -c $(MODULE_NAME).c
override_dh_gencontrol: override_dh_gencontrol:
cat /usr/share/proftpd/proftpd-substvars >>$(CURDIR)/debian/$(DEBNAME).substvars cat /usr/share/proftpd/proftpd-substvars >>$(CURDIR)/debian/$(DEBNAME).substvars
dh_gencontrol dh_gencontrol
override_dh_auto_clean: override_dh_auto_clean:
DESTDIR=$(CURDIR)/debian/$(DEBNAME) CFLAGS="$CFLAGS -Wno-implicit-function-declaration" prxs -d $(MODULE_NAME).c DESTDIR=$(CURDIR)/debian/$(DEBNAME) CFLAGS=$(CFLAGS) prxs -d $(MODULE_NAME).c