Results 1 to 10 of 12

Thread: $DESTDIR's not there....bit of a problem.

Threaded View

  1. #1
    Join Date
    Jun 2011
    Location
    United Kingdom
    Beans
    Hidden!
    Distro
    Lubuntu Development Release

    Question $DESTDIR's not there....bit of a problem.

    Hi guys! Probably a noob question, but still...

    Attempting to package a program, more to prove it to myself than to release it, anyways, $(DESTDIR) in the makefile is blank. No, I haven't been messing around with anything, exporting DESTDIR or anything. So it tries to install as make usually would when I run make, i.e. to the root of filesystem, not $(DESTDIR)/usr/bin or whatever.

    I put 'env' in the makefile, here's the output of it:

    Code:
    env
    DEB_BUILD_ARCH_OS=linux
    DH_INTERNAL_BUILDFLAGS=1
    CPPFLAGS=
    CFLAGS=-g -O2
    DEB_HOST_ARCH_BITS=32
    CXXFLAGS=-g -O2
    DEB_BUILD_GNU_CPU=i686
    PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11
    GPG_AGENT_INFO=/tmp/keyring-Bih1YK/gpg:0:1
    DEB_HOST_ARCH_CPU=i386
    FFLAGS=-g -O2
    DEB_HOST_ARCH_ENDIAN=little
    DEB_HOST_GNU_SYSTEM=linux-gnu
    LDFLAGS=-Wl,-Bsymbolic-functions
    DEB_BUILD_ARCH=i386
    HOME=/home/michael
    LOGNAME=michael
    DEB_HOST_GNU_TYPE=i686-linux-gnu
    DEB_HOST_ARCH_OS=linux
    DEB_BUILD_ARCH_BITS=32
    MAKEFLAGS=w
    DEB_BUILD_GNU_TYPE=i686-linux-gnu
    MFLAGS=-w
    DEB_BUILD_ARCH_CPU=i386
    DEB_BUILD_ARCH_ENDIAN=little
    DEB_HOST_GNU_CPU=i686
    DEB_BUILD_GNU_SYSTEM=linux-gnu
    DEB_HOST_MULTIARCH=i386-linux-gnu
    DEB_HOST_ARCH=i386
    DEB_BUILD_MULTIARCH=i386-linux-gnu
    LANG=en_GB.UTF-8
    TERM=xterm
    MAKELEVEL=2
    Anyone got any ideas?

    Of course I could export destdir, but that kinda defeats the point of it.
    Last edited by MG&TL; November 14th, 2011 at 10:11 PM.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •