diff --git a/Makefile b/Makefile index 6fdbbf4..ba40bce 100644 --- a/Makefile +++ b/Makefile @@ -1,26 +1,35 @@ POSTS = $(shell find ./posts -mindepth 1 -type d) +PAGES = $(shell find ./pages -mindepth 1 -type d) .PHONY: all all: - $(MAKE) posts $(MAKE) index .PHONY: posts posts: for d in $(POSTS); do (echo $$d; cd $$d; $(MAKE) -f ../../m4/posts.mk); done +.PHONY: pages +pages: + for d in $(PAGES); do (echo $$d; cd $$d; $(MAKE) -f ../../m4/posts.mk); done + .PHONY: clean clean: for d in $(POSTS); do (cd $$d; $(MAKE) -f ../../m4/posts.mk cleanposts); done + for d in $(PAGES); do (cd $$d; $(MAKE) -f ../../m4/posts.mk cleanposts); done -rm -f toc.inc -rm -f abstracts.inc -rm -f index.html .PHONY: index -index: +index: posts pages -rm -f toc.inc -rm -f abstracts.inc + for d in $(PAGES); do (cd $$d; m4 -D URL=$$d/article.html ../../m4/macros.m4 article.m4 ../../m4/indexTOCEntry.m4) >> toc.inc; done for d in $(POSTS); do (cd $$d; m4 -D URL=$$d/article.html ../../m4/macros.m4 article.m4 ../../m4/indexTOCEntry.m4) >> toc.inc; done for d in $(POSTS); do (cd $$d; m4 -D URL=$$d/article.html ../../m4/macros.m4 article.m4 ../../m4/indexAbstractsEntry.m4) >> abstracts.inc; done m4 ./m4/macros.m4 index.m4 > index.html +.PHONY: install +devinstall: index + rsync -av --delete . /var/www/html \ No newline at end of file diff --git a/abstracts.inc b/abstracts.inc new file mode 100644 index 0000000..4a44ff3 --- /dev/null +++ b/abstracts.inc @@ -0,0 +1,23 @@ + + + + + + + +

+

2013-06-26 - A Web-controlled Picture Frame

+A father-and-son weekend project with an Arduino, a stepper motor and a couple of family photos.
+read more +

+ + + + + + +

+

2013-06-27 - Children Protection for Postfix-based EMail-Server

+
+read more +

diff --git a/index.html b/index.html new file mode 100644 index 0000000..ec3ebfb --- /dev/null +++ b/index.html @@ -0,0 +1,71 @@ + + + + + + + my homepage + + + + +

Projects - just for fun

+ +

Overview

+ + +

Abstracts

+ + + + + + + +

+

2013-06-26 - A Web-controlled Picture Frame

+A father-and-son weekend project with an Arduino, a stepper motor and a couple of family photos.
+read more +

+ + + + + + +

+

2013-06-27 - Children Protection for Postfix-based EMail-Server

+
+read more +

+ + + + diff --git a/index.m4 b/index.m4 index a76cb0b..94d3e88 100644 --- a/index.m4 +++ b/index.m4 @@ -1,9 +1,12 @@ HEADER +

Projects - just for fun

+ +

Overview

- +

Abstracts

include(`abstracts.inc') FOOTER \ No newline at end of file diff --git a/m4/indexAbstractsEntry.m4 b/m4/indexAbstractsEntry.m4 index 8d35209..3d63b6c 100644 --- a/m4/indexAbstractsEntry.m4 +++ b/m4/indexAbstractsEntry.m4 @@ -1,5 +1,5 @@

-

TITLE

+

DATE - TITLE

ABSTRACT
-read more +read more

diff --git a/m4/indexTOCEntry.m4 b/m4/indexTOCEntry.m4 index 90ee57a..3807782 100644 --- a/m4/indexTOCEntry.m4 +++ b/m4/indexTOCEntry.m4 @@ -1 +1 @@ -
  • TITLE
  • +
  • DATE - TITLE
  • diff --git a/m4/macros.m4 b/m4/macros.m4 index d66c1e5..1627a06 100644 --- a/m4/macros.m4 +++ b/m4/macros.m4 @@ -9,4 +9,5 @@ define(`FOOTER', ` ') -define(`ABSTRACT', `') \ No newline at end of file +define(`ABSTRACT', `') +define(`DATE', `') \ No newline at end of file diff --git a/pages/impressum/article.html b/pages/impressum/article.html new file mode 100644 index 0000000..e4b58d9 --- /dev/null +++ b/pages/impressum/article.html @@ -0,0 +1,26 @@ + + + + + + + + my homepage + + + + +Wolfgang Hottgenroth + +woho@hottis.de + +https://gitlab.com/wolutator + +https://www.xing.com/profile/Wolfgang_Hottgenroth + +https://twitter.com/wollud1969 + + + + + diff --git a/pages/impressum/article.m4 b/pages/impressum/article.m4 new file mode 100644 index 0000000..529aff6 --- /dev/null +++ b/pages/impressum/article.m4 @@ -0,0 +1,12 @@ +define(`TITLE', `Impressum') +define(`CONTENT', ` +Wolfgang Hottgenroth + +woho@hottis.de + +https://gitlab.com/wolutator + +https://www.xing.com/profile/Wolfgang_Hottgenroth + +https://twitter.com/wollud1969 +') \ No newline at end of file diff --git a/pages/keys/article.html b/pages/keys/article.html new file mode 100644 index 0000000..70d5ac7 --- /dev/null +++ b/pages/keys/article.html @@ -0,0 +1,18 @@ + + + + + + + + my homepage + + + + +My public keys. + + + + + diff --git a/pages/keys/article.m4 b/pages/keys/article.m4 new file mode 100644 index 0000000..6bb9956 --- /dev/null +++ b/pages/keys/article.m4 @@ -0,0 +1,4 @@ +define(`TITLE', `Keys') +define(`CONTENT', ` +My public keys. +') \ No newline at end of file diff --git a/posts/2013-06-26.01/article.html b/posts/2013-06-26.01/article.html new file mode 100644 index 0000000..4e5e663 --- /dev/null +++ b/posts/2013-06-26.01/article.html @@ -0,0 +1,57 @@ + + + + + + + + + + + my homepage + + + + +

    Ingredients:

    + +Foto 2 + +  + +The Arduino drives via the double full-H-bridge the stepper to turn 90° three times, 15 minutes between each turn. The fourth time, to complete the 360° full turnaround, its drives the stepper until ... + +Foto 4 + +  + +the white mark arrives of the reflexion light sensor. + +This mark and the photos on the other side of the round piece of plywood have to be adjusted carefully, that way, that one photo appear in a window in the frontside of the wooden box. + +Foto 3 + +  + +(Consider the photos of your loved ones where you see colored rectangles above.) + +Thats it. Code is here http://files.a385e-5.de/files/Bilderrahmen-0.9.tar.gz + +  + +  +' + + + + diff --git a/posts/2013-06-26.01/article.m4 b/posts/2013-06-26.01/article.m4 index f7a6f0c..3b90b2c 100644 --- a/posts/2013-06-26.01/article.m4 +++ b/posts/2013-06-26.01/article.m4 @@ -1,5 +1,6 @@ define(`TITLE', `A Web-controlled Picture Frame') define(`ABSTRACT', `A father-and-son weekend project with an Arduino, a stepper motor and a couple of family photos.') +define(`DATE', `2013-06-26') define(`CONTENT', `

    Ingredients: