[SCM] calf/master: Create links to proper directories, not the ones in $DISTDIR.
js at users.alioth.debian.org
js at users.alioth.debian.org
Tue May 7 15:40:07 UTC 2013
The following commit has been merged in the master branch:
commit a7187a7691bf79a102a5d7fb69436104fbaf8961
Author: Krzysztof Foltman <wdev at foltman.com>
Date: Mon Apr 12 18:50:51 2010 +0100
Create links to proper directories, not the ones in $DISTDIR.
This is important for packagers - the links should lead to the target
locations after installation, not target locations in the package build
directory.
diff --git a/src/Makefile.am b/src/Makefile.am
index 099523f..18a0498 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -106,19 +106,19 @@ endif
if USE_LADSPA
install -d -m 755 $(DESTDIR)$(with_ladspa_dir)
install -d -m 755 $(DESTDIR)$(with_ladspa_rdf_dir)
- ln -sf $(DESTDIR)$(pkglibdir)/calf.so $(DESTDIR)$(with_ladspa_dir)/calf.so
+ ln -sf $(pkglibdir)/calf.so $(DESTDIR)$(with_ladspa_dir)/calf.so
$(top_builddir)/src/calfmakerdf > $(DESTDIR)$(with_ladspa_rdf_dir)/calf.rdf
endif
if USE_DSSI
install -d -m 755 $(DESTDIR)$(with_dssi_dir)
install -d -m 755 $(DESTDIR)$(with_dssi_dir)/calf
- ln -sf $(DESTDIR)$(pkglibdir)/calf.so $(DESTDIR)$(with_dssi_dir)/calf.so
- ln -sf $(DESTDIR)$(pkglibdir)/calf_gtk $(DESTDIR)$(with_dssi_dir)/calf/calf_gtk
+ ln -sf $(pkglibdir)/calf.so $(DESTDIR)$(with_dssi_dir)/calf.so
+ ln -sf $(pkglibdir)/calf_gtk $(DESTDIR)$(with_dssi_dir)/calf/calf_gtk
endif
if USE_LV2
install -d -m 755 $(DESTDIR)$(lv2dir)
- ln -sf $(DESTDIR)$(pkglibdir)/calf.so $(DESTDIR)$(lv2dir)/calf.so
- ln -sf $(DESTDIR)$(pkglibdir)/calf_gtk $(DESTDIR)$(lv2dir)/calf_gtk
+ ln -sf $(pkglibdir)/calf.so $(DESTDIR)$(lv2dir)/calf.so
+ ln -sf $(pkglibdir)/calf_gtk $(DESTDIR)$(lv2dir)/calf_gtk
if USE_LV2_GUI
install -c -m 755 $(top_builddir)/src/.libs/calflv2gui.so $(DESTDIR)$(lv2dir)/calflv2gui.so
endif
--
calf audio plugins packaging
More information about the pkg-multimedia-commits
mailing list