]> git.donarmstrong.com Git - lilypond.git/commitdiff
* cygwin/postinstall-lilypond.sh: Remove cruft.
authorJan Nieuwenhuizen <janneke@gnu.org>
Tue, 11 Oct 2005 18:05:52 +0000 (18:05 +0000)
committerJan Nieuwenhuizen <janneke@gnu.org>
Tue, 11 Oct 2005 18:05:52 +0000 (18:05 +0000)
* cygwin/postremove-lilypond.sh: Remove.

* cygwin/GNUmakefile (default): Remove postremove rules.

ChangeLog
cygwin/GNUmakefile
cygwin/postinstall-lilypond.sh
cygwin/postremove-lilypond.sh [deleted file]

index d4b8f5aacbd15f72936a49c15f28b9616b119eb5..d73042d2393e3806b672374cacf1639c75cf4cb2 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2005-10-11  Jan Nieuwenhuizen  <janneke@gnu.org>
+
+       * cygwin/postinstall-lilypond.sh: Remove cruft.
+
+       * cygwin/postremove-lilypond.sh: Remove.
+
+       * cygwin/GNUmakefile (default): Remove postremove rules.
+
 2005-10-11  Han-Wen Nienhuys  <hanwen@xs4all.nl>
 
        * lily/hara-kiri-group-spanner.cc (consider_suicide): backport:
index 60a27e095cb03735de02be324491378ad3a1a57c..37b06524883f607937431f35fb9d49978484b7fa 100644 (file)
@@ -18,14 +18,11 @@ include $(stepdir)/executable-targets.make
 POSTINSTALLS=$(wildcard postinstall*.sh)
 OUT_POSTINSTALLS=$(POSTINSTALLS:%=$(outdir)/%)
 
-POSTREMOVES=$(wildcard postremove*.sh)
-OUT_POSTREMOVES=$(POSTREMOVES:%=$(outdir)/%)
-
 $(outdir)/%.sh: %.sh $(config_make)
        cat $< | sed $(sed-atvariables) > $@
        chmod 755 $@
 
-default: $(OUT_POSTINSTALLS) $(OUT_POSTREMOVES) $(OUTIN_FILES) 
+default: $(OUT_POSTINSTALLS) $(OUTIN_FILES) 
 
 INSTALLATION_OUT_SUFFIXES=1
 
@@ -34,8 +31,5 @@ etc=$(patsubst %/, %, $(dir $(prefix)))/etc
 INSTALLATION_DIR=$(etc)/postinstall
 INSTALLATION_FILES=$(OUT_POSTINSTALLS)
 
-INSTALLATION_OUT_DIR1=$(etc)/postremove
-INSTALLATION_OUT_FILES1=$(OUT_POSTREMOVES)
-
 endif
 
index b7b4b50947ededfa79f4491f4e0bd4390305ec56..c56894e8741c548322e814a18e0c8f5057740ac7 100644 (file)
@@ -16,16 +16,6 @@ regtool add '/root/LilyPond/shell'
 regtool add '/root/LilyPond/shell/open'
 regtool add '/root/LilyPond/shell/open/command'
 
-# old ideas - discarded for now
-# regtool set '/root/LilyPond/shell/open/command/' $ROOT'\bin\python /usr/bin/lily-wins %1'
-# invoking python directly does not work
-# regtool set '/root/LilyPond/shell/open/command/' $ROOT'\bin\run-lily-wins.bat %1'
-# we now use generated run-lily-wins.bat in /
-# regtool set '/root/LilyPond/shell/open/command/' $ROOT'\run-lily-wins.bat %1'
-# the direct bash route:
-
-# TODO: should 'open' run LilyPond?
-#       should 'open' also start PDF viewer?
 regtool set '/root/LilyPond/shell/open/command/' $ROOT'\bin\bash.exe --login -c '"'"'/usr/bin/lily-wins "%1"'"'"
 regtool add '/root/LilyPond/shell/edit'
 regtool set '/root/LilyPond/shell/edit/' '&Edit source in Notepad ...'
@@ -34,26 +24,4 @@ regtool set '/root/LilyPond/shell/edit/command/' '%SystemRoot%\system32\notepad.
 regtool add '/root/LilyPond/shell/generate'
 regtool set '/root/LilyPond/shell/generate/' '&Generate PDF ...'
 regtool add '/root/LilyPond/shell/generate/command'
-# regtool set '/root/LilyPond/shell/generate/command/' $ROOT'\bin\python /usr/bin/lily-wins %1'
 regtool set '/root/LilyPond/shell/generate/command/' $ROOT'\bin\bash.exe --login -c '"'"'/usr/bin/lily-wins "%1"'"'"
-
-# static run-lily-wins.bat, does not work.
-# @echo off
-# rem run-lily-wins.bat - Invoke /usr/bin/lily-wins from explorer
-# rem cd %~dp0%
-# rem bash.exe --login -c "/usr/bin/lily-wins '%1%'"
-# rem only works in Windows NT
-# rem %~dp0~bin\bash.exe --login -c "/usr/bin/lily-wins '%1%'"
-
-# generate run-lily-wins.bat - not necessary: direct bash route
-# how to handle \r\n endings? text/bin mode?
-#cat > /run-lily-wins.bat <<EOF
-#@echo off\r
-#rem run-lily-wins.bat - Invoke /usr/bin/lily-wins from explorer\r
-#$ROOT\\bin\\bash.exe --login -c "/usr/bin/lily-wins '%1%'"\r
-#EOF
-
-# cleanup old fonts
-touch /tmp/.lilypond-install
-rm $(find /var/lib/texmf /var/spool/texmf /var/cache/fonts -name 'feta*pk' -or -name 'feta*tfm' -or -name 'parmesan*pk' -or -name 'parmesan*tfm')
-rm -f /tmp/.lilypond-install
diff --git a/cygwin/postremove-lilypond.sh b/cygwin/postremove-lilypond.sh
deleted file mode 100644 (file)
index d7ab762..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-#!@SHELL@
-# /etc/postremove/lilypond.sh -- Remove all traces of LilyPond
-
-regtool remove '/root/.ly'
-regtool remove '/root/LilyPond/shell/open/command'
-regtool remove '/root/LilyPond/shell/open'
-regtool remove '/root/LilyPond/shell/edit/command'
-regtool remove '/root/LilyPond/shell/edit'
-regtool remove '/root/LilyPond/shell/generate/command'
-regtool remove '/root/LilyPond/shell/generate'
-regtool remove '/root/LilyPond/shell'
-regtool remove '/root/LilyPond'
-
-# cleanup old fonts
-touch /tmp/.lilypond-install
-rm $(find /var/lib/texmf /var/spool/texmf /var/cache/fonts -name 'feta*pk' -or -name 'feta*tfm' -or -name 'parmesan*pk' -or -name 'parmesan*tfm')
-rm -f /tmp/.lilypond-install