Check-in [0a6b3e6f83]

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:stuff
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:0a6b3e6f83636717ab7c606c690bf30e84b6097e
User & Date: ben 2015-04-04 14:30:15
Context
2015-04-04
14:30
stuff Leaf check-in: bb84117318 user: ben tags: trunk
14:30
stuff check-in: 0a6b3e6f83 user: ben tags: trunk
2015-03-25
14:05
stuff check-in: 6572a599c7 user: ben tags: trunk
Changes

Added Makefile.































































































































>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
#!/bin/sh

now=$(shell date  "+%y.%m.%d")

file-$(now):
	echo shit


clean:
	rm -rf html
	rm -rf notes-*
	rm -rf project

test: file-$(now)
	echo $(now)

html: 
	sh ./build-html.sh

notes-html-$(now): html
	mv html notes-html-$(now)

notes-html-$(now).tar.gz: notes-html-$(now)
	tar cfvz notes-html-$(now).tar.gz notes-html-$(now)

project: 
	echo '<html><body><pre>' > index.html 
	markdown README >> index.html
	echo '</pre></body></html>' >> index.html 

notes-$(now): project
	mkdir notes-$(now)
	rsync -av --progress * notes-$(now) --exclude notes-$(now) 
	rm -f index.html

notes-$(now).tar.gz: notes-$(now) 
	tar cfvz notes-$(now).tar.gz notes-$(now) 

tar: notes-$(now).tar.gz notes-html-$(now).tar.gz
	rm -rf notes-$(now)
	rm -rf notes-html-$(now)

deploy: clean html 
	rsync -avz -e "ssh" html yahkawp.org:/home/public/d/notes/
	rm -rf notes-*
	rm -f *.tar.gz

rel: clean notes-$(now).tar.gz notes-html-$(now).tar.gz
	[ -e ../build ] || mkdir -p ../build
	rm -f ../build/index.html
	mv notes-$(now)/index.html ../build/
	rm -f ../build/archive/notes-$(now).tar.gz
	rm -f ../build/archive/notes-html-$(now).tar.gz
	mv notes-$(now).tar.gz ../build/archive/
	mv notes-html-$(now).tar.gz ../build/archive/
	rm -rf  notes-$(now)
	mv notes-html-$(now)/* ../build/html/
	rm -rf  notes-html-$(now)

install:
	[ -d ~/aux ] || mkdir ~/aux
	rm -rf ~/aux/notes
	ln -s $(shell pwd)/notes.d ~/aux/notes

Added README.



























>
>
>
>
>
>
>
>
>
>
>
>
>
1
2
3
4
5
6
7
8
9
10
11
12
13
notes
=====



Read [notes](html/index.html)


Releases in [archive](archive)




Added build-html.sh.



















































>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#!/bin/sh



rm -rf html 

mkdir -p html

echo "<html><head><title>notes</title></head><body>" > html/index.html

find notes.d -type f | while read f; do
    dir=$(dirname $f)
    fname=$(basename $f)
    name=${fname%.*}

    #    [ -d "html/$dir" ] || mkdir -p html/$dir
    { 
        echo "<html><head><title>$name</title></head><body><pre>"
        cat $f
        echo "</pre></body></html>"
    } > html/$name.html
    echo  "<a href='./$name.html'>$name</a> <br>" >> html/index.html
done

echo "</body></html>" >> html/index.html

Deleted install.sh.

1
2
3
4
5
6
7
8
#!/bin/sh


[ -d ~/aux ] || mkdir ~/aux

rm -rf ~/aux/notes

ln -s $(pwd) ~/aux/notes
<
<
<
<
<
<
<
<
















Added notes.d/test.txt.



>
1
hello