Permalink
Browse files

removed the "static/" dir

  • Loading branch information...
1 parent f3c1ec7 commit 2b0d59d161ea65a2903afd77fc7514823f30b28d @petdance committed Feb 8, 2010
Showing with 11 additions and 15 deletions.
  1. +2 −6 Makefile
  2. BIN {s → static}/favicon.ico
  3. +9 −9 tt/section.tt
View
@@ -5,16 +5,12 @@
BUILD=build
SOURCE=s
-BUILDSYNC=rsync -azu --delete --exclude=.git --exclude='*~'
-
default: crank
-crank:
- rm -fr $(BUILD)/*.html
+crank: clean
mkdir -p $(BUILD)/ || true > /dev/null 2>&1
perl crank --podpath=$(SOURCE) --buildpath=$(BUILD)
- $(BUILDSYNC) static/ $(BUILD)/static/
- cp $(SOURCE)/*.ico $(BUILD)/
+ cp -R static/* $(BUILD)/
clean:
rm -fr $(BUILD)
File renamed without changes.
View
@@ -6,19 +6,19 @@
<link rel="stylesheet"
type="text/css"
media="screen"
- href="static/theme/styles.css" />
+ href="theme/styles.css" />
<link rel="stylesheet"
type="text/css"
media="print"
- href="static/theme/print.css" />
+ href="theme/print.css" />
<link rel="stylesheet"
type="text/css"
media="handheld"
- href="static/theme/handheld.css" />
- <link href="/static/theme/prettify.css" type="text/css" rel="stylesheet" />
- <script type="text/javascript" src="/static/js/jemplate.js"></script>
- <script type="text/javascript" src="/static/js/jmpls.js"></script>
- <script type="text/javascript" src="/static/js/prettify.js"></script>
+ href="theme/handheld.css" />
+ <link href="theme/prettify.css" type="text/css" rel="stylesheet" />
+ <script type="text/javascript" src="/js/jemplate.js"></script>
+ <script type="text/javascript" src="/js/jmpls.js"></script>
+ <script type="text/javascript" src="/js/prettify.js"></script>
<script type="text/javascript">
function send_mail() {
var subject = document.getElementById('subject').value;
@@ -63,7 +63,7 @@
<!-- Start container -->
<div id="pageHeader">
<!-- Start page header -->
- <a href="/"><img src="static/images/perl101logo.png" border="0" /></a>
+ <a href="/"><img src="/images/perl101logo.png" border="0" /></a>
<h2>Things Every Perl Programmer Should Know</h2>
</div><!-- End page header -->
<div id="sidebarContainer">
@@ -85,7 +85,7 @@
[% INCLUDE 'feedback.tt' %]
<div id="footer">
<!-- Start Footer -->
- <p>&copy; 2007-2009 Andy Lester</p>
+ <p>&copy; 2007-2010 Andy Lester</p>
</div><!-- End Footer -->
</div><!-- End content -->
</div><!-- End main content wrapper -->

0 comments on commit 2b0d59d

Please sign in to comment.