Permalink
Browse files

First commit after move to GIThub

  • Loading branch information...
0 parents commit 30e4276dbe0d68c8a7aa893c302b1369bce1c443 @matthiasl committed May 15, 2009
Showing with 4,065 additions and 0 deletions.
  1. +43 −0 Makefile
  2. +20 −0 README
  3. +814 −0 academic.xml
  4. +13 −0 erlang_magic_file
  5. +28 −0 faq.xml
  6. +133 −0 faq_questions.xml
  7. +143 −0 getting_started.xml
  8. +646 −0 how_do_i.xml
  9. +265 −0 implementations.xml
  10. +318 −0 introduction.xml
  11. +196 −0 libraries.xml
  12. +6 −0 make_faq.erl
  13. +134 −0 mnesia.xml
  14. +501 −0 obtaining.xml
  15. +537 −0 problems.xml
  16. +268 −0 tools.xml
@@ -0,0 +1,43 @@
+sources= \
+ introduction.xml \
+ faq_questions.xml \
+ obtaining.xml \
+ getting_started.xml \
+ how_do_i.xml \
+ libraries.xml \
+ tools.xml \
+ implementations.xml \
+ problems.xml \
+ academic.xml \
+ mnesia.xml
+
+# Erlang compiler
+ERL=12erl
+
+all: obj obj/faq.html obj/t1.html
+
+# Make a list of links in the document. I check these manually because
+# an automatic checker is likely to miss semi-dead pages.
+linkcheck: $(sources)
+ grep http $(sources) | cut -d \" -f 2 | sort | uniq > /home/matthias/links
+
+
+obj:
+ mkdir obj
+
+obj/faq.html: $(sources) make_faq.beam
+ $(ERL) -s make_faq go -s init stop
+
+# Historically, the FAQ started at t1.html. Preserve that to avoid breaking
+# people's links.
+obj/t1.html:
+ cp obj/faq_frame.html obj/t1.html
+
+%.beam: %.erl
+ $(ERL) -make
+
+ship:
+ (cd ..; tar -czvf ~/erlfaq.tgz faq/*.xml faq/Makefile faq/*erl faq/README faq/Makefile faq/erlang_magic_file)
+
+clean:
+ rm -rf obj/*
@@ -0,0 +1,20 @@
+Author: Matthias Lang
+Title: How to build the Erlang FAQ.
+----------------------------------------------------------------------
+
+Building the FAQ:
+ 1. Install Erlang R12B-1 or later
+ 2. make
+
+Installing at Erlang.org:
+
+ Since I don't have access to erlang.org, I ask Kent to install
+ it for me by sending him the tarfile and saying:
+
+ Here's how I used to update it:
+
+ cd /home/super/erlang/www/erlang.org/public/faq
+ rm x*.html
+ gunzip -c <whatever_the_tarfile_is> | tar -xvf -
+ (and then check, update the site)
+
Oops, something went wrong.

0 comments on commit 30e4276

Please sign in to comment.