Added uninstall-pandoc script to Mac OS X package.
Added information about uninstalling to Welcome message.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@62 788f1e2b-df1e-0410-8736-df70ead52e1b
commitb14874fe1818ed5c965f12c4513658e29d7da47c
authorfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b>
dateWed 1 Nov 2006, 08:29 (20 years ago)
parent7ccf149
Makefile+1
@@ -174,6 +174,7 @@ $(osx_dest): $(doc_more) $(BINS)
174174 -rm -rf $(osx_dest)
175175 $(INSTALL) -d $(osx_dest)
176176 DESTDIR=$(osx_dest)/Package_root $(MAKE) install-program
177+ cp $(osx_src)/uninstall-pandoc $(osx_dest)/Package_root/usr/local/bin/
177178 find $(osx_dest) -type f -regex ".*bin/.*" | xargs chmod +x
178179 find $(osx_dest) -type f -regex ".*bin/$(THIS)" | xargs $(STRIP)
179180 $(INSTALL) -d $(osx_dest)/Resources
TODO−1
@@ -21,7 +21,6 @@
2121>
2222> -- Recai Oktaş <roktas@debian.org> Tue, 24 Oct 2006 07:48:30 +0300
2323
24−- uninstall script in Mac package; add information about it to Welcome?
2524- look into warnings on pdflatex concerning ucs packages
2625- change all versions to 0.3
2726
osx/Welcome+4
@@ -7,3 +7,7 @@ directory and open a new terminal window:
77 export PATH=/usr/local/bin:$PATH
88 export MANPATH=/usr/local/man:$MANPATH
99
10+To uninstall Pandoc at any time, use the following command:
11+
12+ sudo /usr/local/bin/uninstall-pandoc
13+
osx/uninstall-pandoc+1−1
@@ -12,9 +12,9 @@ if [ "`id -u`" != 0 ]; then \
1212 exit 0; \
1313fi
1414
15−
1615MAN_PAGES="pandoc.1 markdown2html.1 markdown2latex.1 html2markdown.1 latex2markdown.1 markdown2pdf.1"
1716EXECUTABLES=`echo $MAN_PAGES | sed -e 's#\.1##g'`
17+EXECUTABLES="$EXECUTABLES uninstall-pandoc"
1818DOCUMENTS="`ls /usr/local/share/doc/pandoc`"
1919TOREMOVE=""
2020for F in $EXECUTABLES; do