diff options
| author | Paul Buetow <paul@buetow.org> | 2012-02-11 11:11:13 +0100 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2012-02-11 11:11:13 +0100 |
| commit | 3f4a7878ff48163a41167219a85c9f2b4852209a (patch) | |
| tree | 3de8f056a158b3b7199d37decfd1cc4da781b861 | |
| parent | 0f9b960ca91d58eb259ba0f38deb26e9ccaffb74 (diff) | |
Add index and makefile
| -rw-r--r-- | Makefile | 8 | ||||
| -rwxr-xr-x | generate_album.sh | 2 | ||||
| -rw-r--r-- | index.html | 6 |
3 files changed, 15 insertions, 1 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..0742db4 --- /dev/null +++ b/Makefile @@ -0,0 +1,8 @@ +all: generate dist +generate: + ./generate_album.sh +dist: + rm -Rf dist 2>/dev/null + mkdir dist + mv thumbs html photos dist + cp index.html dist diff --git a/generate_album.sh b/generate_album.sh index 0c22c96..ddcc09f 100755 --- a/generate_album.sh +++ b/generate_album.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/bash -x # Small quick n dirty photo album script # 2011 (c) Dipl.-Inform (FH) Paul Buetow diff --git a/index.html b/index.html new file mode 100644 index 0000000..c74565f --- /dev/null +++ b/index.html @@ -0,0 +1,6 @@ +<html> +<head> +<meta http-equiv="refresh" content="0; URL=./html/page-1.html"> +</meta> +</html> + |
