David 10 years atrás
parent
commit
79bfa7e110
4 changed files with 16 additions and 2 deletions
  1. 2 0
      .gitignore
  2. 4 1
      Makefile
  3. 5 1
      README.md
  4. 5 0
      autobuilder.sh

+ 2 - 0
.gitignore

@@ -1 +1,3 @@
+README.pdf
 README.html
+

+ 4 - 1
Makefile

@@ -1,2 +1,5 @@
 doc:
-	pandoc --toc README.md -f markdown -c css/github-pandoc.css > README.html
+	pandoc --toc README.md -f markdown -c css/github-pandoc.css -o README.html
+
+pdf:
+	pandoc --toc README.md -f markdown -c css/github-pandoc.css -V geometry:margin=1.2cm -o README.pdf

+ 5 - 1
README.md

@@ -96,7 +96,11 @@ Notas: boot por PXE
 
 ```bash
 $ cat /boot/firmware/cmdline.txt
-dwc_otg.lpm_enable=0 quiet console=tty2 root=/dev/nfs rootfstype=nfs nfsroot=192.168.1.123:/home/rpi,udp,vers=3 rw ip=192.168.1.208:192.168.1.123:192.168.1.1:255.255.255.0:rpi:eth0:off net.ifnames=1 kgdboc=ttyAMA0,115200 elevator=noop rootfstype=ext4 loglevel=3 logo.nologo fastboot noswap systemd.unit=multi-user.target rootwait
+dwc_otg.lpm_enable=0 quiet console=tty2 root=/dev/nfs rootfstype=nfsroot
+nfsroot=192.168.1.123:/home/rpi,udp,vers=3 rw
+ip=192.168.1.208:192.168.1.123:192.168.1.1:255.255.255.0:rpi:eth0:off
+net.ifnames=1 kgdboc=ttyAMA0,115200 elevator=noop rootfstype=ext4
+loglevel=3 logo.nologo fastboot noswap systemd.unit=multi-user.target rootwait
 ```
 
 #Planes

+ 5 - 0
autobuilder.sh

@@ -0,0 +1,5 @@
+#!/bin/bash
+while [ true ]; do
+	inotifywait -e modify,attrib,close_write,move,create,delete $PWD/README.md && make;
+	sleep 0.5
+done