Hi!

Jasper Huijsmans jasper at moongroup.com
Sat Apr 19 09:27:46 CEST 2003


Hey,

Edscott, I'm not sure, but how about making those links relative.
Something like:

install-data-local:
	(cd $(DESTDIR)$(bindir) ; \
	 ln -sf xffm xffstab ; \
	 ln -sf xffm xfbook; \
	 ...
	)

Would that work?

	Jasper

On 15 Apr 2003 19:33:17 +0200
Danny <danny.milo at gmx.net> wrote:

> Hi!
> I've been trying xfce4 and I'm impressed :) it can do all the stuff I
> need, but it is very fast too.
> 
> Thankies :D
> 
> However, as I was in the progress of making some ebuild scripts for
> the gentoo linux distribution, I noticed that some lines in the xffm
> Makefile are missing DESTDIR. This is bad for gentoo's sandboxes'
> temper;)
> 
> So here is a patch:
> --- /usr/portage/distfiles/cvs-src/xffm/xfce-devel/xffm/Makefile.am   
> 2003-04
> +++ Makefile.am 2003-04-15 15:07:06.000000000 +0200
> @@ -12,26 +12,26 @@
> 
>  install-data-local:
>         $(mkinstalldirs) $(DESTDIR)$(pkgdatadir)
> -       rm -f $(bindir)/xffstab
> -       ln -s $(bindir)/xffm $(bindir)/xffstab
> -       rm -f $(bindir)/xfbook
> -       ln -s $(bindir)/xffm $(bindir)/xfbook
> -       rm -f $(bindir)/xfapps
> -       ln -s $(bindir)/xffm $(bindir)/xfapps
> -       rm -f $(bindir)/xftree4
> -       ln -s $(bindir)/xffm $(bindir)/xftree4
> -       rm -f $(bindir)/xfsamba4
> -       ln -s $(bindir)/xffm $(bindir)/xfsamba4
> -       rm -f $(bindir)/xfbook4
> -       ln -s $(bindir)/xffm $(bindir)/xfbook4
> -       rm -f $(bindir)/xfapps4
> -       ln -s $(bindir)/xffm $(bindir)/xfapps4
> -       rm -f $(bindir)/xfglob4
> -       ln -s $(bindir)/xffm $(bindir)/xfglob4
> -       rm -f $(bindir)/xftrash4
> -       ln -s $(bindir)/xffm $(bindir)/xftrash4
> -       rm -f $(bindir)/xffstab4
> -       ln -s $(bindir)/xffm $(bindir)/xffstab4
> +       rm -f $(DESTDIR)$(bindir)/xffstab
> +       ln -s $(bindir)/xffm $(DESTDIR)$(bindir)/xffstab
> +       rm -f $(DESTDIR)$(bindir)/xfbook
> +       ln -s $(bindir)/xffm $(DESTDIR)$(bindir)/xfbook
> +       rm -f $(DESTDIR)$(bindir)/xfapps
> +       ln -s $(bindir)/xffm $(DESTDIR)$(bindir)/xfapps
> +       rm -f $(DESTDIR)$(bindir)/xftree4
> +       ln -s $(bindir)/xffm $(DESTDIR)$(bindir)/xftree4
> +       rm -f $(DESTDIR)$(bindir)/xfsamba4
> +       ln -s $(bindir)/xffm $(DESTDIR)$(bindir)/xfsamba4
> +       rm -f $(DESTDIR)$(bindir)/xfbook4
> +       ln -s $(bindir)/xffm $(DESTDIR)$(bindir)/xfbook4
> +       rm -f $(DESTDIR)$(bindir)/xfapps4
> +       ln -s $(bindir)/xffm $(DESTDIR)$(bindir)/xfapps4
> +       rm -f $(DESTDIR)$(bindir)/xfglob4
> +       ln -s $(bindir)/xffm $(DESTDIR)$(bindir)/xfglob4
> +       rm -f $(DESTDIR)$(bindir)/xftrash4
> +       ln -s $(bindir)/xffm $(DESTDIR)$(bindir)/xftrash4
> +       rm -f $(DESTDIR)$(bindir)/xffstab4
> +       ln -s $(bindir)/xffm $(DESTDIR)$(bindir)/xffstab4
>         @$(NORMAL_INSTALL)
>         if test -f $(srcdir)/AUTHORS; then \
>            $(INSTALL_DATA) $(srcdir)/AUTHORS $(DESTDIR)$(pkgdatadir);
>            \
> 
> 
> So basically just add $(DESTDIR) to the destination parts :)
> 
> 
> 
> _______________________________________________
> Xfce4-dev mailing list
> Xfce4-dev at xfce.org
> http://moongroup.com/mailman/listinfo/xfce4-dev



More information about the Xfce4-dev mailing list