Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Move to external copies of libjs-simile-timeline.

Signed-off-by: Chris Lamb <lamby@debian.org>
  • Loading branch information...
commit 0c464921c8c823cfcb180930138e6124d7659c36 1 parent dbb72d4
Chris Lamb authored May 17, 2009
3  .gitignore
... ...
@@ -1,3 +1,2 @@
1 1
 xml
2  
-support/timeline
3  
-support/simile-ajax
  2
+media/timeline_*
17  Makefile
@@ -3,7 +3,14 @@ OUTPUT	:= $(addsuffix .xml,$(subst data/,xml/,$(basename $(INPUT))))
3 3
 DESTDIR := /
4 4
 TARGET  := $(DESTDIR)/usr/share/debian-timeline
5 5
 
6  
-all: build
  6
+all: build check
  7
+
  8
+check:
  9
+	@set -e; for LIBS in ajax js; do \
  10
+	  if [ ! -e media/timeline_$$LIBS ]; then \
  11
+	    echo "Warning - media/timeline_$$LIBS does not exist or is an invalid symlink."; \
  12
+	  fi \
  13
+	done
7 14
 
8 15
 xml/%.xml: data/%
9 16
 	@mkdir -p xml
@@ -22,10 +29,4 @@ install: build
22 29
 		install -m644 -t $(TARGET)/$$DIR $$DIR/*; \
23 30
 	done
24 31
 
25  
-libs:
26  
-	rm -rf support/timeline support/simile-ajax
27  
-	svn co http://simile.mit.edu/repository/timeline/trunk/src/webapp/api/ support/timeline
28  
-	svn co http://simile.mit.edu/repository/ajax/trunk/src/webapp/api/ support/simile-ajax
29  
-	find support/ -name ".svn" -type d -print0 | xargs -0 rm -rf
30  
-
31  
-.PHONY: install clean install libs
  32
+.PHONY: install clean install check
8  index.html
@@ -2,8 +2,12 @@
2 2
 <head>
3 3
 <title>Debian Project Timeline - a timeline of the Debian GNU/Linux project</title>
4 4
 <link rel="stylesheet" href="media/debian-timeline.css" type="text/css" />
5  
-<script src="support/simile-ajax/simile-ajax-api.js" type="text/javascript"></script>
6  
-<script src="support/timeline/timeline-api.js" type="text/javascript"></script>
  5
+<script type="text/javascript">
  6
+ Timeline_ajax_url='media/timeline_ajax/simile-ajax-api.js';
  7
+ Timeline_urlPrefix='media/timeline_js/';
  8
+ Timeline_parameters='bundle=true';
  9
+</script>
  10
+<script src="/usr/share/javascript/timeline_js/timeline-api.js" type="text/javascript"></script>
7 11
 <script src="media/debian-timeline.js" type="text/javascript"></script>
8 12
 </head>
9 13
 

0 notes on commit 0c46492

Please sign in to comment.
Something went wrong with that request. Please try again.