Hi everyone,
I'm trying to make a package for RCF (a firewall) that will be used,
via a Makefil, to compile the current CVS version of RCF...
It seems to be working ok, but a part of the 'install' target in the
debian/rules file seems to be skipped when I run
'dpkg-buildpackage'...:
jem@piglet:~/cvs/rcf-5.2.1$ dpkg-buildpackage -rfakeroot -b
dpkg-buildpackage: source package is rcf
dpkg-buildpackage: source version is 5.2.1-1
dpkg-buildpackage: source maintainer is Jeremy Higgs <[EMAIL PROTECTED]>
dpkg-buildpackage: host architecture is i386
fakeroot debian/rules clean
dh_testdir
dh_testroot
dh_clean
debian/rules build
# Nothing to do
fakeroot debian/rules binary
dh_testdir
dh_testroot
dh_clean -k
dh_installdirs
# Create config file
install --mode=700 /dev/null debian/rcf/etc/firewall.conf
# Install functions
install --mode=700 -d debian/rcf/etc/firewall/functions
tar --exclude=CVS -cf - etc/firewall/functions | tar xf - -C debian/rcf
# Install groups
install --mode=700 -d debian/rcf/etc/firewall/groups
tar --exclude=CVS -cf - etc/firewall/groups | tar xf - -C debian/rcf
# Install modules
dh_testdir
dh_testroot
This is the relevant part from the debian/rules file:
install:
dh_testdir
dh_testroot
dh_clean -k
dh_installdirs
# Create config file
install --mode=700 /dev/null debian/rcf/etc/firewall.conf
# Install functions
install --mode=700 -d debian/rcf/etc/firewall/functions
tar --exclude=CVS -cf - etc/firewall/functions | tar xf - -C debian/rcf
# Install groups
install --mode=700 -d debian/rcf/etc/firewall/groups
tar --exclude=CVS -cf - etc/firewall/groups | tar xf - -C debian/rcf
# Install modules
install --mode=700 -d debian/rcf/etc/firewall/modules
tar --exclude=CVS -cf - etc/firewall/modules | tar xf - -C debian/rcf
# Install firewall script
install -c --mode=755 fwinit debian/rcf.firewall
# Create links
$(MAKE) --directory=debian/rcf --makefile=../../Makefile link
binary-indep: install
dh_testdir
dh_testroot
---
As you might be able to see, the commands below the "# Install
modules" comment are ignored, and dpkg-buildpackage moves onto the
'binary-indep' target...
Would anyone be able to explain why, and how I would go about fixing it?
Any help would be greatly appreciated...
Thankyou!
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]