! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
make install fails if $DESTDIR is specified
Status:
RESOLVED: FIXED
Product:
Xfce4-notes-plugin
Component:
General

Comments

Description Masato Hashimoto 2012-04-10 16:57:09 CEST
Created attachment 4314 
Patch for src/Makefile.am

run `make DESTDIR=/foo/bar install' fails due to the missing file.

Error message:
make  install-data-hook
make[4]: Entering directory `/home/hashimo/git/xfce.d/panel-plugins/xfce4-notes-plugin/src'
mv /usr/share/xfce4/panel-plugins/xfce4-notes-plugin-47.desktop /usr/share/xfce4/panel-plugins/xfce4-notes-plugin.desktop
mv: cannot stat '/usr/share/xfce4/panel-plugins/xfce4-notes-plugin-47.desktop': No such file or directory
make[4]: *** [install-data-hook] Error 1
make[4]: Leaving directory `/home/hashimo/git/xfce.d/panel-plugins/xfce4-notes-plugin/src'
make[3]: *** [install-data-am] Error 2
make[3]: Leaving directory `/home/hashimo/git/xfce.d/panel-plugins/xfce4-notes-plugin/src'
make[2]: *** [install-am] Error 2
make[2]: Leaving directory `/home/hashimo/git/xfce.d/panel-plugins/xfce4-notes-plugin/src'
make[1]: *** [install] Error 2
make[1]: Leaving directory `/home/hashimo/git/xfce.d/panel-plugins/xfce4-notes-plugin/src'
make: *** [install-recursive] Error 1

Version: git master

Build & Platform:
Build 2012-04-10 on ArchLinux
Comment 1 Mike Massonnet editbugs 2012-10-25 04:06:08 CEST
Support for Xfce <= 4.6 has been dropped in git master, there is no more mv command issued from the Makefile.

Bug #8668

Reported by:
Masato Hashimoto
Reported on: 2012-04-10
Last modified on: 2012-10-25

People

Assignee:
Mike Massonnet
CC List:
0 users

Version

Version:
unspecified

Attachments

Patch for src/Makefile.am (537 bytes, patch)
2012-04-10 16:57 CEST , Masato Hashimoto
no flags

Additional information