X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;ds=sidebyside;f=Documentation%2Fcontributor%2Fbuild-notes.itexi;h=a5f8c2ccc0b00acc39df6983675bc03c57db2f54;hb=c5e9876be34e1d2df2d6d21cabd8e6fe8b73f9ee;hp=a1e258cc91a369eb8b65d06c70a8e2efe411f3d6;hpb=5e69127750230f4238ee21e0b26cf47ef8227aba;p=lilypond.git diff --git a/Documentation/contributor/build-notes.itexi b/Documentation/contributor/build-notes.itexi index a1e258cc91..a5f8c2ccc0 100644 --- a/Documentation/contributor/build-notes.itexi +++ b/Documentation/contributor/build-notes.itexi @@ -14,7 +14,6 @@ chapter.} * General build system notes:: * Doc build:: * Website build:: -* Building an Ubuntu distro:: @end menu @@ -198,9 +197,15 @@ which expands to the following files: One little feature to notice here - these are all absolute file locations - the line prior to this used relative locations. And -none of these files exist, either. (Further note - I'm assuming -all these lines of make I'm following are autogenerated, but -that'll be something else to discover.) +none of these files exist, either. + +(Further note - I'm assuming all these lines of make I'm following are +autogenerated, but that'll be something else to discover.) + +JM: @emph{``No, these lines are not useful in LilyPond (this is why +you think they are autogenerated), but they are part of StepMake, +which was meant to be a package to be installed as a build system over +autoconf/make in software project source trees.''} Next in @file{stepmake.make}: @@ -288,11 +293,11 @@ are: @example $(outdir)/%.ly: %.lym4 - $(M4) $< | sed "s/\`/,/g" > $@ + $(M4) $< | sed "s/\`/,/g" > $@@ $(outdir)/%: %.in - rm -f $@ - cat $< | sed $(sed-atfiles) | sed $(sed-atvariables) > $@ + rm -f $@@ + cat $< | sed $(sed-atfiles) | sed $(sed-atvariables) > $@@ @end example I believe the first rule is for *.ly files, and has a prerequisite @@ -444,10 +449,10 @@ From git grep: stepmake/stepmake/generic-vars.make has this: @smallexample -LOOP=+$(foreach i, $(SUBDIRS), $(MAKE) PACKAGE=$(PACKAGE) package=$(package) -C $(i) $@ &&) true +LOOP=+$(foreach i, $(SUBDIRS), $(MAKE) PACKAGE=$(PACKAGE) package=$(package) -C $(i) $@@ &&) true @end smallexample -$@ is the name of the target - WWW-1 in this case. +$@@ is the name of the target - WWW-1 in this case. In GNUmakefile.in we find: @@ -556,13 +561,16 @@ they're up to date. (From the make manual: -To this end, after reading in all makefiles, make will consider each as a goal target and -attempt to update it. If a makefile has a rule which says how to update it (found either -in that very makefile or in another one) or if an implicit rule applies to it (see Chapter 10 -[Using Implicit Rules], page 103), it will be updated if necessary. After all makefiles have -been checked, if any have actually been changed, make starts with a clean slate and reads -all the makefiles over again. (It will also attempt to update each of them over again, but -normally this will not change them again, since they are already up to date.) +To this end, after reading in all makefiles, make will consider each +as a goal target and attempt to update it. If a makefile has a rule +which says how to update it (found either in that very makefile or in +another one) or if an implicit rule applies to it (see Chapter 10 +[Using Implicit Rules], page 103), it will be updated if +necessary. After all makefiles have been checked, if any have actually +been changed, make starts with a clean slate and reads all the +makefiles over again. (It will also attempt to update each of them +over again, but normally this will not change them again, since they +are already up to date.) So my assumption seems correct) @@ -1438,66 +1446,3 @@ website: runs website_post.py Then some file copying @end example - -@node Building an Ubuntu distro -@section Building an Ubuntu distro - - -Here's the short instruction on how to create lilybuntu iso image -(Jonathan Kulp did this on a spare drive, -but he supposes it can be done in a VM too): - -@enumerate - -@item -Install ubuntu, reboot. -@item -Run all updates, reboot if asked. -@item -Enable src repos, refresh package lists. -@item -Install LilyPond build deps: -@example -sudo apt-get build-dep lilypond -@end example -@item -Install git and autoconf: -@example -sudo apt-get install git-core gitk autoconf -@end example - -@item -Test to see whether everything works fine now: -@enumerate -@item -use @command{lily-git.tcl} to grab source files -@item -go to source dir and do -@example -"./autogen.sh" ; make ; make doc -@end example -@item -if all compiles, move on to iso creation... -@end enumerate - -@item -Download & install "remastersys": -@uref{http://sourceforge.net/projects/remastersys/, http://sourceforge.net/projects/remastersys/} -@item -Copy @command{lily-git.tcl} script file into @file{/etc/skel/}. -@item -Modify @file{/etc/remastersys.conf} as desired (change @code{.iso} name, -default live session username, etc). -@item -Remove non-essential desktop software as desired. -@item -Create iso: -@example -sudo remastersys dist -@end example -New iso is in @file{/home/remastersys/remastersys/}. -@item -Test iso by installing in VM and repeating steps above for -getting source files and building lp and docs. - -@end enumerate