Browse Source

ajoute la gestion des vignettes par Makefile

master
François Poulain 1 year ago
parent
commit
4bc816d0c0
  1. 1
      .gitignore
  2. 24
      Makefile
  3. BIN
      includes/images/stevejob.pdf
  4. 2972
      includes/images/stevejob.svg
  5. 0
      includes/images/vignettes/.gitkeep
  6. BIN
      includes/images/vignettes/catalogue-libre.png
  7. BIN
      includes/images/vignettes/comment-ca-marche.png
  8. BIN
      includes/images/vignettes/documents-sous-licence-libre.png
  9. BIN
      includes/images/vignettes/essayez-la-liberte.png
  10. BIN
      includes/images/vignettes/expolibre.png
  11. BIN
      includes/images/vignettes/faites-passer.jpg
  12. BIN
      includes/images/vignettes/formats-ouverts.png
  13. BIN
      includes/images/vignettes/logiciel-libre-a-partager.jpg
  14. BIN
      includes/images/vignettes/revolution-logiciel-libre.png
  15. BIN
      includes/images/vignettes/vente-liee.png
  16. BIN
      includes/screenshots/framapad.png
  17. BIN
      includes/screenshots/owncloud.png
  18. BIN
      includes/screenshots/sigmah.png
  19. 1
      includes/screenshots/stevejob.pdf
  20. BIN
      includes/screenshots/stevejob.pdf.png
  21. 0
      includes/screenshots/vignettes/.gitkeep
  22. BIN
      includes/screenshots/vignettes/dolibarr.png
  23. BIN
      includes/screenshots/vignettes/firefox.png
  24. BIN
      includes/screenshots/vignettes/framadate.png
  25. BIN
      includes/screenshots/vignettes/freeplane.png
  26. BIN
      includes/screenshots/vignettes/galette.png
  27. BIN
      includes/screenshots/vignettes/gcompris.png
  28. BIN
      includes/screenshots/vignettes/gimp.png
  29. BIN
      includes/screenshots/vignettes/gnu-and-penguin.png
  30. BIN
      includes/screenshots/vignettes/gnucash.png
  31. BIN
      includes/screenshots/vignettes/grisbi.png
  32. BIN
      includes/screenshots/vignettes/inkscape.png
  33. BIN
      includes/screenshots/vignettes/libreoffice.png
  34. BIN
      includes/screenshots/vignettes/phpcompta.png
  35. BIN
      includes/screenshots/vignettes/pidgin.png
  36. BIN
      includes/screenshots/vignettes/scenari.png
  37. BIN
      includes/screenshots/vignettes/scratch.png
  38. BIN
      includes/screenshots/vignettes/spip.png
  39. BIN
      includes/screenshots/vignettes/stellarium.png
  40. BIN
      includes/screenshots/vignettes/thunderbird.png
  41. BIN
      includes/screenshots/vignettes/wiki-april.png

1
.gitignore

@ -3,6 +3,7 @@ guide_libre_asso.*
teaser.pdf
version_html/
version_epub/
includes/*/vignettes/*
*.aux
*.ilg

24
Makefile

@ -6,6 +6,24 @@ TEMP=$(foreach ext,$(EXT), guide.$(ext))
PDFTEX = pdflatex -interaction nonstopmode
NEED_RERUN = '(There were undefined references|Rerun (me )?to get (cross-references|the bars) right)|((Reference|Citation).*undefined)|(Label.*multiply defined)'
IMG_PNG = $(wildcard includes/screenshots/*.png) $(wildcard includes/images/*.png)
IMG_PNG_SMALL = $(subst screenshots,screenshots/vignettes, $(subst images,images/vignettes, ${IMG_PNG}))
includes/screenshots/vignettes/%.png: includes/screenshots/%.png
convert $< -resize 200 $@
includes/images/vignettes/%.png: includes/images/%.png
convert $< -resize 200 $@
IMG_JPG = $(wildcard includes/screenshots/*.jpg) $(wildcard includes/images/*.jpg)
IMG_JPG_SMALL = $(subst screenshots,screenshots/vignettes, $(subst images,images/vignettes, ${IMG_JPG}))
includes/screenshots/vignettes/%.jpg: includes/screenshots/%.jpg
convert $< -resize 200 $@
includes/images/vignettes/%.jpg: includes/images/%.jpg
convert $< -resize 200 $@
all : ${PDF}
guide_libre_asso.wiki:
wget "http://wiki.april.org/index.php?title=Guide_Libre_Association_complet&action=raw" -O $@
@ -16,11 +34,11 @@ guide_libre_asso.tex: guide_libre_asso.wiki
sed -i $@ -e 's/\\description/\\descriptif/g'
vim -c '%s/^\(\s*\*.*\)\n\(\s*[^*]\|\n\)/\1\r\\end{itemize}\r\2/g' -c '%s/^\(\s*[^*].*\|\)\n\s*\*/\1\r\\begin{itemize}\r*/g' -c '%s/^\s*\*/\\item/' -c ':x' $@
guide.pdf: guide.tex guide_libre_asso.tex lolipop.cls
guide.pdf: guide.tex guide_libre_asso.tex lolipop.cls ${IMG_PNG} ${IMG_JPG}
${PDFTEX} $<
if egrep -q $(NEED_RERUN) $(subst tex,log,$<) ; then ${PDFTEX} $< ; fi
version_html/tmp/guide.html: guide.tex guide_libre_asso.tex lolipop.hva
version_html/tmp/guide.html: guide.tex guide_libre_asso.tex lolipop.hva ${IMG_PNG_SMALL} ${IMG_JPG_SMALL}
cd version_html/tmp &&\
hevea -I ../../ $< 2> guide.log &&\
if egrep -q $(NEED_RERUN) guide.log ; then hevea -I ../../ $< 2> guide.log; fi
@ -42,6 +60,6 @@ clean:
rm -fv $(TEMP) version_html/tmp/*
mrproper: clean
rm -fv guide.pdf guide_libre_asso.* version_html/guide.html
rm -fv guide.pdf guide_libre_asso.* version_html/guide.html ${IMG_PNG_SMALL} ${IMG_JPG_SMALL}
distclean: mrproper

BIN
includes/images/stevejob.pdf

2972
includes/images/stevejob.svg
File diff suppressed because it is too large
View File

0
includes/images/vignettes/.gitkeep

BIN
includes/images/vignettes/catalogue-libre.png

Before

Width: 200  |  Height: 283  |  Size: 22 KiB

BIN
includes/images/vignettes/comment-ca-marche.png

Before

Width: 200  |  Height: 142  |  Size: 36 KiB

BIN
includes/images/vignettes/documents-sous-licence-libre.png

Before

Width: 200  |  Height: 283  |  Size: 66 KiB

BIN
includes/images/vignettes/essayez-la-liberte.png

Before

Width: 200  |  Height: 283  |  Size: 89 KiB

BIN
includes/images/vignettes/expolibre.png

Before

Width: 200  |  Height: 300  |  Size: 83 KiB

BIN
includes/images/vignettes/faites-passer.jpg

Before

Width: 200  |  Height: 279  |  Size: 14 KiB

BIN
includes/images/vignettes/formats-ouverts.png

Before

Width: 200  |  Height: 142  |  Size: 51 KiB

BIN
includes/images/vignettes/logiciel-libre-a-partager.jpg

Before

Width: 200  |  Height: 283  |  Size: 18 KiB

BIN
includes/images/vignettes/revolution-logiciel-libre.png

Before

Width: 200  |  Height: 267  |  Size: 45 KiB

BIN
includes/images/vignettes/vente-liee.png

Before

Width: 200  |  Height: 283  |  Size: 124 KiB

BIN
includes/screenshots/framapad.png

After

Width: 620  |  Height: 440  |  Size: 38 KiB

BIN
includes/screenshots/owncloud.png

After

Width: 854  |  Height: 344  |  Size: 27 KiB

BIN
includes/screenshots/sigmah.png

After

Width: 1181  |  Height: 885  |  Size: 109 KiB

1
includes/screenshots/stevejob.pdf

@ -0,0 +1 @@
../../includes/images/stevejob.pdf

BIN
includes/screenshots/stevejob.pdf.png

After

Width: 680  |  Height: 718  |  Size: 103 KiB

0
includes/screenshots/vignettes/.gitkeep

BIN
includes/screenshots/vignettes/dolibarr.png

Before

Width: 200  |  Height: 159  |  Size: 31 KiB

BIN
includes/screenshots/vignettes/firefox.png

Before

Width: 200  |  Height: 142  |  Size: 23 KiB

BIN
includes/screenshots/vignettes/framadate.png

Before

Width: 200  |  Height: 95  |  Size: 11 KiB

BIN
includes/screenshots/vignettes/freeplane.png

Before

Width: 200  |  Height: 103  |  Size: 17 KiB

BIN
includes/screenshots/vignettes/galette.png

Before

Width: 200  |  Height: 150  |  Size: 18 KiB

BIN
includes/screenshots/vignettes/gcompris.png

Before

Width: 200  |  Height: 130  |  Size: 33 KiB

BIN
includes/screenshots/vignettes/gimp.png

Before

Width: 200  |  Height: 140  |  Size: 36 KiB

BIN
includes/screenshots/vignettes/gnu-and-penguin.png

Before

Width: 200  |  Height: 185  |  Size: 46 KiB

BIN
includes/screenshots/vignettes/gnucash.png

Before

Width: 200  |  Height: 156  |  Size: 15 KiB

BIN
includes/screenshots/vignettes/grisbi.png

Before

Width: 200  |  Height: 150  |  Size: 68 KiB

BIN
includes/screenshots/vignettes/inkscape.png

Before

Width: 200  |  Height: 143  |  Size: 26 KiB

BIN
includes/screenshots/vignettes/libreoffice.png

Before

Width: 200  |  Height: 134  |  Size: 8.7 KiB

BIN
includes/screenshots/vignettes/phpcompta.png

Before

Width: 200  |  Height: 118  |  Size: 15 KiB

BIN
includes/screenshots/vignettes/pidgin.png

Before

Width: 200  |  Height: 140  |  Size: 24 KiB

BIN
includes/screenshots/vignettes/scenari.png

Before

Width: 200  |  Height: 135  |  Size: 17 KiB

BIN
includes/screenshots/vignettes/scratch.png

Before

Width: 200  |  Height: 125  |  Size: 22 KiB

BIN
includes/screenshots/vignettes/spip.png

Before

Width: 200  |  Height: 124  |  Size: 37 KiB

BIN
includes/screenshots/vignettes/stellarium.png

Before

Width: 200  |  Height: 125  |  Size: 38 KiB

BIN
includes/screenshots/vignettes/thunderbird.png

Before

Width: 200  |  Height: 142  |  Size: 32 KiB

BIN
includes/screenshots/vignettes/wiki-april.png

Before

Width: 200  |  Height: 83  |  Size: 17 KiB

Loading…
Cancel
Save