Opened 15 years ago

Closed 15 years ago

#1735 closed defect (worksforme)

Makefile for myththemes ignores prefix

Reported by: gap7472@… Owned by: Isaac Richards
Priority: minor Milestone: 0.20
Component: mythtv Version: 0.19
Severity: medium Keywords: makefile, myththemes, /share
Cc: Ticket locked: no


The makefile for myththemes seems to disregard the --prefix parameter that was passed to its configure script. Here's the output of "make install" after the prefix was set to "/usr" (I'm on Gentoo; /usr/local isn't really used for anything):

sh ./cpsvndir "Iulius" "/share/mythtv/themes/"
sh ./cpsvndir "Iulius-OSD" "/share/mythtv/themes/"
sh ./cpsvndir "Minimalist-wide" "/share/mythtv/themes/"
sh ./cpsvndir "Titivillus" "/share/mythtv/themes/"
sh ./cpsvndir "Titivillus-OSD" "/share/mythtv/themes/"
sh ./cpsvndir "isthmus" "/share/mythtv/themes/"
sh ./cpsvndir "MythCenter" "/share/mythtv/themes/"

It's trying to copy into the /share folder instead of /usr/share. I believe a variable isn't being set properly, because the makefile does refer to that command as:

-$(INSTALL_DIR) "<name of theme>" "$(INSTALL_ROOT)/share/mythtv/themes/"

$INSTALL_ROOT isn't set anywhere in the Makefile.

Change History (2)

comment:1 Changed 15 years ago by gap7472@…

BTW I've noticed this for both the 19.1 branch and the latest head branch in SVN.

comment:2 Changed 15 years ago by Isaac Richards

Resolution: worksforme
Status: newclosed

The only way I can see this happening is if:

  • mythtv wasn't installed to the given prefix, so that $prefix/include/mythtv/mythconfig.mak isn't there.

myththemes' install script grabs the prefix value from that file.

Note: See TracTickets for help on using tickets.