git.iko.soy/typeable/pandoc
on master help sign in
Added uninstall-pandoc script to Mac OS X package.
b14874ffiddlosopher
@@ -174,6 +174,7 @@ $(osx_dest): $(doc_more) $(BINS)
174 -rm -rf $(osx_dest)
174 -rm -rf $(osx_dest)
175 $(INSTALL) -d $(osx_dest)
175 $(INSTALL) -d $(osx_dest)
176 DESTDIR=$(osx_dest)/Package_root $(MAKE) install-program
176 DESTDIR=$(osx_dest)/Package_root $(MAKE) install-program
177+ cp $(osx_src)/uninstall-pandoc $(osx_dest)/Package_root/usr/local/bin/
177 find $(osx_dest) -type f -regex ".*bin/.*" | xargs chmod +x
178 find $(osx_dest) -type f -regex ".*bin/.*" | xargs chmod +x
178 find $(osx_dest) -type f -regex ".*bin/$(THIS)" | xargs $(STRIP)
179 find $(osx_dest) -type f -regex ".*bin/$(THIS)" | xargs $(STRIP)
179 $(INSTALL) -d $(osx_dest)/Resources
180 $(INSTALL) -d $(osx_dest)/Resources
TODO−1
@@ -21,7 +21,6 @@
21>
21>
22> -- Recai Oktaş <roktas@debian.org> Tue, 24 Oct 2006 07:48:30 +0300
22> -- Recai Oktaş <roktas@debian.org> Tue, 24 Oct 2006 07:48:30 +0300
23
23
24−- uninstall script in Mac package; add information about it to Welcome?
25- look into warnings on pdflatex concerning ucs packages
24- look into warnings on pdflatex concerning ucs packages
26- change all versions to 0.3
25- change all versions to 0.3
27
26
osx/Welcome+4
@@ -7,3 +7,7 @@ directory and open a new terminal window:
7 export PATH=/usr/local/bin:$PATH
7 export PATH=/usr/local/bin:$PATH
8 export MANPATH=/usr/local/man:$MANPATH
8 export MANPATH=/usr/local/man:$MANPATH
9
9
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 \
12 exit 0; \
12 exit 0; \
13fi
13fi
14
14
15−
16MAN_PAGES="pandoc.1 markdown2html.1 markdown2latex.1 html2markdown.1 latex2markdown.1 markdown2pdf.1"
15MAN_PAGES="pandoc.1 markdown2html.1 markdown2latex.1 html2markdown.1 latex2markdown.1 markdown2pdf.1"
17EXECUTABLES=`echo $MAN_PAGES | sed -e 's#\.1##g'`
16EXECUTABLES=`echo $MAN_PAGES | sed -e 's#\.1##g'`
17+EXECUTABLES="$EXECUTABLES uninstall-pandoc"
18DOCUMENTS="`ls /usr/local/share/doc/pandoc`"
18DOCUMENTS="`ls /usr/local/share/doc/pandoc`"
19TOREMOVE=""
19TOREMOVE=""
20for F in $EXECUTABLES; do
20for F in $EXECUTABLES; do