From 0f531a357d5909f0862f4766b66c747cc0bff53c Mon Sep 17 00:00:00 2001
From: Gary King <gwking@franz.com>
Date: Sat, 18 Jul 2009 10:12:56 -0400
Subject: [PATCH] Added link to ASDF's gitweb

---
 GNUmakefile                               |  2 +-
 bin/asdf-version.sh                       | 12 ++++++++++++
 website/source/index.mmd                  |  2 +-
 website/source/resources/shared-header.md | 21 +++++++++++----------
 4 files changed, 25 insertions(+), 12 deletions(-)
 create mode 100755 bin/asdf-version.sh

diff --git a/GNUmakefile b/GNUmakefile
index b255a04b..a7e7a23f 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -33,7 +33,7 @@ website-copy: FORCE
 	bin/rsync-cp.sh tmp/asdf.lisp $(webhome_private)
 
 clean_dirs = $(sourceDirectory)
-clean_extensions = fasl dfsl cfsl fasl fas lib
+clean_extensions = fasl dfsl cfsl fasl fas lib dx32fsl
 
 clean: FORCE
 	@for dir in $(clean_dirs); do \
diff --git a/bin/asdf-version.sh b/bin/asdf-version.sh
new file mode 100755
index 00000000..b06c04c8
--- /dev/null
+++ b/bin/asdf-version.sh
@@ -0,0 +1,12 @@
+#!/bin/sh
+
+# write the highest tag to standard output
+# exit code is 1 if it cannot be found
+
+
+tag=`git describe --tags`
+if [ "$tag" == "" ]; then
+    exit 1
+fi
+echo $tag
+exit 0
diff --git a/website/source/index.mmd b/website/source/index.mmd
index 4d764af9..b821b4f8 100644
--- a/website/source/index.mmd
+++ b/website/source/index.mmd
@@ -37,7 +37,7 @@ can:
 
 * download just the source for [asdf.lisp][],
 * download the [tarball][] to get all bells and whistles,
-* pull the latest from our git repository
+* pull the latest from our git repository ([browse][git-browse])
 
         git clone http://common-lisp.net/project/asdf/asdf.git
 
diff --git a/website/source/resources/shared-header.md b/website/source/resources/shared-header.md
index 77a2c1cb..4d03b863 100644
--- a/website/source/resources/shared-header.md
+++ b/website/source/resources/shared-header.md
@@ -5,16 +5,17 @@
 {set-property title "ASDF - Another System Definition Facility"}
 {set-property style-sheet "style.css"}
 
-  [user-guide]: user-guide.html
-  [tutorial]: user-guide.html
-  [manual]: manual.html
-  [Overview]: overview.html
-  [copyright]: copyright.html
-  [contributors]: contributors.html
-  [sys-guide]: manual.html
-  [getting-started]: getting-started.html
-  [FAQ]: faq.html
-  [tests]: test-results.html
+ [user-guide]: user-guide.html
+ [tutorial]: user-guide.html
+ [manual]: manual.html
+ [Overview]: overview.html
+ [copyright]: copyright.html
+ [contributors]: contributors.html
+ [sys-guide]: manual.html
+ [getting-started]: getting-started.html
+ [FAQ]: faq.html
+ [tests]: test-results.html
+ [git-browse]: http://common-lisp.net/gitweb?p=projects/asdf/asdf.git;a=summary
   
  [asdf-devel]: http://common-lisp.net/cgi-bin/mailman/listinfo/asdf-devel
  [asdf-announce]: http://common-lisp.net/cgi-bin/mailman/listinfo/asdf-announce
-- 
GitLab