Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

removing build files, because of move to git

  • Loading branch information...
commit 32e1239f2f38c94fab30442fbebaa3acdf1b7c43 1 parent 2a796d6
@pft authored
Showing with 0 additions and 85 deletions.
  1. +0 −62 build.el
  2. +0 −23 build.sh
View
62 build.el
@@ -1,62 +0,0 @@
-(add-to-list 'load-path
- "/usr/share/emacs22/site-lisp/muse-el/")
-(require 'muse)
-(require 'muse-latex)
-(require 'muse-html)
-
-;; <script type=\"text/javascript\">
-;; var gaJsHost = ((\"https:\" == document.location.protocol) ? \"https://ssl.\" : \"http://www.\");
-;; document.write(unescape(\"%3Cscript src='\" + gaJsHost + \"google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E\"));
-;; </script>
-;; <script type=\"text/javascript\">
-;; var pageTracker = _gat._getTracker(\"UA-5023027-1\");
-;; pageTracker._initData();
-;; pageTracker._trackPageview();
-;; </script>
-(setq muse-xhtml-footer
- (format-time-string "
-<!-- Page published by Emacs Muse ends here -->
- <div id=\"footer\" >&copy; Niels Giesen 2008. Last update: %A %d %B %Y %I:%M %p %Z</div>
- </body>
-</html>
-")
- muse-xhtml-style-sheet
- "<link href=\"gimpmode.css\" rel=\"Stylesheet\" />")
-
-;; generate pdf
-(muse-publish-file
- (concat
- (file-name-directory
- (or load-file-name buffer-file-name))
- "gimpmode.muse")
- '("pdf"
- :final muse-latex-pdf-generate
- :browser muse-latex-pdf-browse-file
- :link-suffix muse-latex-pdf-extension
- :osuffix muse-latex-pdf-extension
- :base "latex")
- (file-name-directory
- (or load-file-name buffer-file-name)) t)
-
-;; generate html
-(muse-publish-file
- (concat
- (file-name-directory
- (or load-file-name buffer-file-name))
- "gimpmode.muse")
- '("xhtml"
- :suffix muse-xhtml-extension
- :strings muse-xhtml-markup-strings
- :header muse-xhtml-header
- :footer muse-xhtml-footer
- :style-sheet muse-xhtml-style-sheet
- :base "html")
- (file-name-directory
- (or load-file-name buffer-file-name)) t)
-
-(progn
- (find-file-literally "gimpmode.html")
- (goto-char (point-min))
- (while (re-search-forward "^\\([^>]\\)\\([^>]+\\)\\(</h2>\\)" nil t)
- (replace-match "<span class=\"firstletter\">\\1</span>\\2\\3"))
- (save-buffer))
View
23 build.sh
@@ -1,23 +0,0 @@
-#!/bin/sh
-
-VERSION=`head -1 gimp-mode.el|awk -F " " '{print $6}'`
-
-emacs --batch --script build.el
-mkdir gimp-mode-v$VERSION
-cp -R emacs-interaction.scm gimp-mode.el gimp-install.el gimp-init.el gimpmode.pdf related INSTALL COPYING ChangeLog fud.el fud.scm gimp-mode-v$VERSION
-find gimp-mode-v$VERSION -regex ".*\/\(CVS\|.cvsignore\|.*\(~\|\.elc\)\)"|xargs rm -Rf
-echo "Building tar file..."
-tar -cf gimp-mode-v$VERSION.tar gimp-mode-v$VERSION
-bzip2 gimp-mode-v$VERSION.tar
-echo "Building zip file..."
-zip -r gimp-mode-v$VERSION.zip gimp-mode-v$VERSION
-echo "Removing temporary directory..."
-rm -R gimp-mode-v$VERSION
-TMPDIR=`mktemp -d`
-cp gimpmode.html gimp-mode-v$VERSION.tar.bz2 gimp-mode-v$VERSION.zip $TMPDIR
-mv gimp-mode-v$VERSION.tar.bz2 $TMPDIR/gimp-mode.tar.bz2
-mv gimp-mode-v$VERSION.zip $TMPDIR/gimp-mode.zip
-echo "Uploading files..."
-scp $TMPDIR/* skrinka:/var/www/public/GimpMode
-echo "Uploaded stuff still available at $TMPDIR"
-
Please sign in to comment.
Something went wrong with that request. Please try again.