applied patch fixing GCC 4.1 build submitted by the Debian SDCC maintainer Aurelien...
[fw/sdcc] / doc / Makefile
index f2cb31f2ea5b82a931d3b05db6f22cfc354a9933..7652f01cdaa68fdacbc8daff3b127cb40fb026c2 100644 (file)
@@ -84,10 +84,18 @@ $(CDB).html/index.html: $(CDB).tex
 archive: all
        rm -rf sdcc-doc sdcc-doc.tar.bz2
        mkdir sdcc-doc
-       rsync -rC avr z80 *.pdf *.txt sdcc-doc
+       rsync -rCt avr z80 *.pdf *.txt sdcc-doc
+
        for doc in $(MANUAL) $(TSS) $(CDB); do \
-         rsync -R $$doc.html/*.html $$doc.html/*.png $$doc.html/*.css sdcc-doc/; \
+         rsync -Rt $$doc.html/*.html $$doc.html/*.png $$doc.html/*.css sdcc-doc/; \
        done
+
+       mkdir sdcc-doc/as
+       rsync -rCt ../as/doc/* sdcc-doc/as/
+
+       mkdir sdcc-doc/ucsim
+       cd ../sim/ucsim/doc; rsync *.html *.jpg *.gif *.fig ../../../doc/sdcc-doc/ucsim/
+
        tar -c sdcc-doc | bzip2 -9 > sdcc-doc.tar.bz2
 
 include clean.mk