[Bug 54753] template perl script error (--prefix)

Chris Halls halls at debian.org
Fri Feb 28 13:03:04 UTC 2003


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
     
http://bugs.kde.org/show_bug.cgi?id=54753     




------- Additional Comments From halls at debian.org  2003-02-28 13:02 -------
I'm afraid that the commits for this bug have broken the ability to do 'make
install DESTDIR=/path/to/dir', such as used when building .debs.  The reason is,
the generated Makefile.ins look like this:


install-data-local: script.local
        $(INSTALL_DATA) script.local $(DESTDIR)$(chellodir)/script
#>-     rm script.local
#>+ 1
        rm $(DESTDIR)script.local

So 'make install DESDIR=/path/to/dir' would end up trying to:
  rm /path/to/dirscript.local

Which doesn't exist, obviously.

Removing the 'rm' line in all the Makefile.am's works for me, but I'm not sure
why it was there in the first place and whether it is necessary.

Chris




More information about the KDevelop-devel mailing list