lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Renaming targets


From: John Mandereau
Subject: Re: Renaming targets
Date: Fri, 24 Apr 2009 10:31:28 +0200
User-agent: Thunderbird 2.0.0.21 (X11/20090320)

John Mandereau a écrit :
it mainly renames targets to use more standard names:

web -> doc
web-1 -> doc-1
web-clean -> doc-clean
web-install -> install-doc
web-uninstall -> uninstall-doc
info-install -> install-info

...and here's a patch for GUB3.

John
diff --git a/gub/specs/lilypond-doc.py b/gub/specs/lilypond-doc.py
index 13b8508..c6ebd89 100644
--- a/gub/specs/lilypond-doc.py
+++ b/gub/specs/lilypond-doc.py
@@ -28,7 +28,7 @@ TARGET_PYTHON=/usr/bin/python
         return 
'%(uploads)s/lilypond-%(version)s-%(build_number)s.webdoc.tar.bz2'
     def compile_command (self):
         return (lilypond.LilyPond_base.compile_command (self)
-                + ' do-top-doc all doc web')
+                + ' top-doc all doc')
     def install_flags (self):
         return (self.makeflags ()
                 + 'prefix= '
@@ -37,7 +37,7 @@ TARGET_PYTHON=/usr/bin/python
                 + 'mandir=/share/man ')
     def install_command (self):
         return (lilypond.LilyPond_base.install_command (self)
-                .replace (' install', ' web-install install-help2man')
+                .replace (' install', ' install-doc install-help2man')
                 + self.install_flags ())
     def install (self):
         target.AutoBuild.install (self) 
diff --git a/lilypond.make b/lilypond.make
index f3cdf4f..3786e03 100644
--- a/lilypond.make
+++ b/lilypond.make
@@ -186,7 +186,7 @@ test-clean:
 
 unlocked-doc-clean:
        make -C 
$(NATIVE_TARGET_DIR)/build/lilypond-$(LILYPOND_FLATTENED_BRANCH) \
-               DOCUMENTATION=yes web-clean
+               DOCUMENTATION=yes doc-clean
        rm -rf 
$(NATIVE_TARGET_DIR)/build/lilypond-$(LILYPOND_FLATTENED_BRANCH)/out/lybook-db
        rm -f $(call SIGNATURE_FUNCTION,cached-doc-build)
        rm -f $(call SIGNATURE_FUNCTION,cached-doc-export)

reply via email to

[Prev in Thread] Current Thread [Next in Thread]