From 20b44db2843e280474a45665f2584f9130eb686b Mon Sep 17 00:00:00 2001
From: Raimo Niskanen
Date: Fri, 15 Apr 2016 10:40:00 +0200
Subject: Use .png pictures instead of .gif
---
system/doc/design_principles/Makefile | 17 ++++++++++++-----
system/doc/design_principles/code_lock.gif | Bin 35031 -> 0 bytes
system/doc/design_principles/code_lock.png | Bin 0 -> 58906 bytes
system/doc/design_principles/code_lock_2.gif | Bin 29420 -> 0 bytes
system/doc/design_principles/code_lock_2.png | Bin 0 -> 51848 bytes
system/doc/design_principles/statem.xml | 4 ++--
6 files changed, 14 insertions(+), 7 deletions(-)
delete mode 100644 system/doc/design_principles/code_lock.gif
create mode 100644 system/doc/design_principles/code_lock.png
delete mode 100644 system/doc/design_principles/code_lock_2.gif
create mode 100644 system/doc/design_principles/code_lock_2.png
(limited to 'system')
diff --git a/system/doc/design_principles/Makefile b/system/doc/design_principles/Makefile
index 2ccf477e83..937b3e28c8 100644
--- a/system/doc/design_principles/Makefile
+++ b/system/doc/design_principles/Makefile
@@ -48,8 +48,6 @@ BOOK_FILES = book.xml
GIF_FILES = \
note.gif \
clientserver.gif \
- code_lock.gif \
- code_lock_2.gif \
dist1.gif \
dist2.gif \
dist3.gif \
@@ -60,6 +58,12 @@ GIF_FILES = \
sup5.gif \
sup6.gif
+PNG_FILES = \
+ code_lock.png \
+ code_lock_2.png
+
+IMAGE_FILES = $(GIF_FILES) $(PNG_FILES)
+
XML_FILES = \
$(BOOK_FILES) $(XML_CHAPTER_FILES) \
$(XML_PART_FILES)
@@ -87,13 +91,16 @@ _create_dirs := $(shell mkdir -p $(HTMLDIR))
$(HTMLDIR)/%.gif: %.gif
$(INSTALL_DATA) $< $@
+$(HTMLDIR)/%.png: %.png
+ $(INSTALL_DATA) $< $@
+
docs: html
local_docs: PDFDIR=../../pdf
-html: $(HTML_UG_FILE) gifs
+html: $(HTML_UG_FILE) images
-gifs: $(GIF_FILES:%=$(HTMLDIR)/%)
+images: $(IMAGE_FILES:%=$(HTMLDIR)/%)
debug opt:
@@ -111,7 +118,7 @@ release_docs_spec: docs
# $(INSTALL_DIR) "$(RELEASE_PATH)/pdf"
# $(INSTALL_DATA) $(TOP_PDF_FILE) "$(RELEASE_PATH)/pdf"
$(INSTALL_DIR) $(RELSYSDIR)
- $(INSTALL_DATA) $(GIF_FILES) $(HTMLDIR)/*.html \
+ $(INSTALL_DATA) $(IMAGE_FILES) $(HTMLDIR)/*.html \
$(RELSYSDIR)
diff --git a/system/doc/design_principles/code_lock.gif b/system/doc/design_principles/code_lock.gif
deleted file mode 100644
index adcfee7eff..0000000000
Binary files a/system/doc/design_principles/code_lock.gif and /dev/null differ
diff --git a/system/doc/design_principles/code_lock.png b/system/doc/design_principles/code_lock.png
new file mode 100644
index 0000000000..5e5744ecc2
Binary files /dev/null and b/system/doc/design_principles/code_lock.png differ
diff --git a/system/doc/design_principles/code_lock_2.gif b/system/doc/design_principles/code_lock_2.gif
deleted file mode 100644
index 150515c3b6..0000000000
Binary files a/system/doc/design_principles/code_lock_2.gif and /dev/null differ
diff --git a/system/doc/design_principles/code_lock_2.png b/system/doc/design_principles/code_lock_2.png
new file mode 100644
index 0000000000..138fbdef6c
Binary files /dev/null and b/system/doc/design_principles/code_lock_2.png differ
diff --git a/system/doc/design_principles/statem.xml b/system/doc/design_principles/statem.xml
index c10afe482d..65daeac782 100644
--- a/system/doc/design_principles/statem.xml
+++ b/system/doc/design_principles/statem.xml
@@ -136,7 +136,7 @@ handle_event(EventType, EventContent, State, Data) ->
it is is wrong, we start all over,
waiting for a new button sequence.
-
+
Code lock state diagram
@@ -934,7 +934,7 @@ enter(Tag, State, Data) ->
and some more utilizing the entry actions,
which deserves a new state diagram:
-
+
Code lock state diagram revisited
--
cgit v1.2.3