[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

install path for a deb package (installed compiled binary files)



Hi list

I'm trying to make a deb package for the first time.

My rules script looks like this:

---cut---
install: build
        dh_testdir
        dh_testroot
        dh_clean -k
        dh_installdirs

        # Add here commands to install the package into debian/vpopmail.
        $(MAKE) install-strip DESTDIR=$(CURDIR)/debian/vpopmail
        # DESTDIR=/var/vpopmail
        # prefix=$(CURDIR)/debian/vpopmail/usr
---cut---

When I install the created deb package it installs in:
/root/vpopmail-5.4.3/debian/tmp/bin/vadddomain

It's not supposed to install here, is it?

How can I install the files (placed in /root/vpopmail-5.4.3/debian/tmp/ with
my current package) in e.g. /var/vpopmail/ ?

Should I just move the files in some branch of the rules file?

I get an error also that my rules files haven't got a dist-clean section?


Thanks

Lars



Reply to: