Trouble packaging simple perl module
As an intern im working on turning a simple perl module into a package.
I keep stumbling upon a issue. Im a newbie at this and have been
spending most of the day trying to track the issue down. Here is the
cp: cannot stat `/usr/lib/cgi-bin': No such file or directory
dh_installdocs: command returned error code 256
make: *** [binary-arch] Error 1
debuild: fatal error at line 1228:
fakeroot debian/rules binary failed
Command debuild ["-i_darcs","-I_darcs","-rfakeroot"] failed;
exit code 29
darcs-buildpackage: user error (Command debuild
["-i_darcs","-I_darcs","-rfakeroot"] failed; exit code 29)
I'm sure it is a simple little issue to take care of I just can't seem
to see the problem. My assumption is that there is something wrong with
where the rules file is copying some of the other data. Here is my rules
# -*- 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
# Uncomment this to turn on verbose mode.
ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
CFLAGS += -O0
CFLAGS += -O2
# Add here commands to configure the package.
# Add here commands to compile the package.
#docbook-to-man debian/labelprint.sgml > labelprint.1
rm -f build-stamp configure-stamp
# Add here commands to clean up after the build process.
cp labelprint.cgi "$(DESTDIR)/usr/lib/cgi-bin"
cp Label_creator.html $(DESTDIR)/usr/share/labelprint
# Add here commands to install the package into
# Build architecture-independent files here.
binary-indep: build install
# We have nothing to do by default.
# Build architecture-dependent files here.
binary-arch: build install
binary: binary-indep binary-arch
.PHONY: build clean binary-indep binary-arch binary install configure