Skip to content

Commit

Permalink
removed the "static/" dir
Browse files Browse the repository at this point in the history
  • Loading branch information
petdance committed Feb 8, 2010
1 parent f3c1ec7 commit 2b0d59d
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 15 deletions.
8 changes: 2 additions & 6 deletions Makefile
Expand Up @@ -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)
Expand Down
File renamed without changes.
18 changes: 9 additions & 9 deletions tt/section.tt
Expand Up @@ -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;
Expand Down Expand Up @@ -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">
Expand All @@ -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 -->
Expand Down

0 comments on commit 2b0d59d

Please sign in to comment.