error building deb package

view full story

http://ubuntuforums.org – I'm trying to build a deb of a more recent version of Nginx. It compiles successfully but then fails during the install stage: Code: install -m644 debian/nginx.ufw.profile debian/nginx/etc/ufw/applications.d/nginx install: cannot create regular file `debian/nginx/etc/ufw/applications.d/nginx': No such file or directory make: *** [install] Error 1 dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2 debuild: fatal error at line 1340: dpkg-buildpackage -rfakeroot -D -us -uc -i failed It looks like it's trying to copy files to a directory that doesn't exist. (Hardware)