I'm sorry, it seems I've been outwitted by the build system!
This patch to makefile.in is all that's needed to get the tunings.xml file
installed in the right place. I made rosegarden by saying:
svn co <main_branch>
./bootstrap.sh
./configure
I see no makefile.am, which I'm reminded by Graham is used by automake to
generate makefile.in, so applying the patch is probably a Bad Idea (TM).
However, with it, make && sudo make install does result in the tunings file
being put in the right place.
Did I miss an --add-missing or something? My autoconf expertise is a bit rusty
to say the least.
Nick/.
--
Dr Nicholas Bailey
http://www.n-ism.org/People/nick.php
Science and Music Research Group,
School of Engineering, The University of Glasgow
Find out about our Music Informatics MSc: http://www.n-ism.org/SPECTRUM
Signal Processing, Electronics and Computing Techniques
for Researching and Understanding Music
Index: Makefile.in
===================================================================
--- Makefile.in (revision 12281)
+++ Makefile.in (working copy)
@@ -65,6 +65,7 @@
INSTICONDIR := $(DESTDIR)$(PREFIX)/share/icons/hicolor/32x32/apps
INSTICONDIR64 := $(DESTDIR)$(PREFIX)/share/icons/hicolor/64x64/apps
INSTICONDIR128 := $(DESTDIR)$(PREFIX)/share/icons/hicolor/128x128/apps
+INSTPITCHESDIR := $(DESTDIR)$(PREFIX)/share/rosegarden/pitches
RESOURCES := $(wildcard data/*.qrc data/*/*.qrc src/*.qrc src/*/*.qrc src/*/*/*.qrc src/*/*/*/*.qrc)
QRCSOURCES := $(patsubst %.qrc,%.cpp,$(RESOURCES))
@@ -189,6 +190,8 @@
$(INSTALL) -m 644 data/pixmaps/icons/rg-rwb-rose3-32x32.png $(INSTICONDIR)/rosegarden.png
$(INSTALL) -m 644 data/pixmaps/icons/rg-rwb-rose3-64x64.png $(INSTICONDIR64)/rosegarden.png
$(INSTALL) -m 644 data/pixmaps/icons/rg-rwb-rose3-128x128.png $(INSTICONDIR128)/rosegarden.png
+ $(MKDIR_P) -m 755 $(INSTPITCHESDIR)
+ $(INSTALL) -m 644 data/pitches/tunings.xml $(INSTPITCHESDIR)/tunings.xml
uninstall:
rm -f $(INSTBINDIR)/rosegarden
@@ -198,11 +201,13 @@
rm -f $(INSTMIMEXMLDIR)/rosegarden.xml
rm -f $(INSTDESKTOPDIR)/rosegarden.desktop
rm -f $(INSTICONDIR)/rosegarden.png
+ rm -f $(INSTPITCHESDIR)/tunings.xml
rmdir -p --ignore-fail-on-non-empty $(INSTMIME16DIR)
rmdir -p --ignore-fail-on-non-empty $(INSTMIME32DIR)
rmdir -p --ignore-fail-on-non-empty $(INSTMIME64DIR)
rmdir -p --ignore-fail-on-non-empty $(INSTMIMEXMLDIR)
rmdir -p --ignore-fail-on-non-empty $(INSTICONDIR)
+ rmdir -p --ignore-fail-on-non-empty $(INSTPITCHESDIR)
Makefile: Makefile.in configure configure.ac acinclude.m4
@echo "*** WARNING: One or more of Makefile.in, configure, configure.ac and/or"
------------------------------------------------------------------------------
Benefiting from Server Virtualization: Beyond Initial Workload
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve
application availability and disaster protection. Learn more about boosting
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
_______________________________________________
Rosegarden-devel mailing list
Rosegarden-devel@lists.sourceforge.net - use the link below to unsubscribe
https://lists.sourceforge.net/lists/listinfo/rosegarden-devel