GNOME Bugzilla – Bug 600584
remove the install-data-local and uninstall-local targets
Last modified: 2009-11-04 15:17:56 UTC
`make install` is broken due to the install-data-local target. The $(desktop_file) variable is never defined, and so we get the following error when trying to install: n/bash ./mkinstalldirs /usr/local/share/applications; \ /usr/bin/install -c -m 644 \ /usr/local/share/applications/ ; /usr/bin/install: missing destination file operand after `/usr/local/share/applications/' This custom target seems completely unnecessary and as far as I can tell, removing it completely results in the .desktop file being installed as expected. If I'm missing something, please let me know, but I think we can just drop these targets.
Created attachment 146861 [details] [review] remove the install-data-local and uninstall-local targets These are totally unnecessary targets and don't actually work (they cause `make install` to fail). automake generates rules to install the data automatically when you define the desktopdir and desktop_DATA variables.
This patch works for me as well. (I had the same problem).
Comment on attachment 146861 [details] [review] remove the install-data-local and uninstall-local targets Please commit to anjal-0-1 and master.
thanks. committed to master, and cherry-picked to anjal-0-1