diff options
author | Dan McGee <dan@archlinux.org> | 2010-07-02 18:29:37 -0500 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2010-07-02 18:29:37 -0500 |
commit | 686b8c146398c5ba9feee2c1fa10bf9e598b2ce8 (patch) | |
tree | 0353500bc444ac60cef120ea6d722c94badfe8ca /doc | |
parent | 1a9db4cac7cf308188298db48dde5d80ce86a7e9 (diff) | |
parent | fcb4f0264f2b8e0a6ed1e7eebfe00f662ba94ef2 (diff) | |
download | pacman-686b8c146398c5ba9feee2c1fa10bf9e598b2ce8.tar.xz |
Merge branch 'maint'
Conflicts:
scripts/makepkg.sh.in
Diffstat (limited to 'doc')
-rw-r--r-- | doc/.gitignore | 1 | ||||
-rw-r--r-- | doc/Makefile.am | 14 |
2 files changed, 13 insertions, 2 deletions
diff --git a/doc/.gitignore b/doc/.gitignore index c20afbdb..f047aaa9 100644 --- a/doc/.gitignore +++ b/doc/.gitignore @@ -10,3 +10,4 @@ repo-remove.8 *.html *.xml man3 +website.tar.gz diff --git a/doc/Makefile.am b/doc/Makefile.am index ad677391..2e656f61 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -80,6 +80,15 @@ endif html: $(HTML_DOCS) +website: html + bsdtar czf website.tar.gz $(HTML_DOCS) \ + -C /etc/asciidoc/stylesheets/ \ + xhtml11.css xhtml11-manpage.css xhtml11-quirks.css \ + -C /etc/asciidoc/javascripts/ \ + asciidoc-xhtml11.js \ + -C /etc/asciidoc/ \ + images + pkgdatadir = ${datadir}/${PACKAGE} ASCIIDOC_OPTS = \ @@ -100,16 +109,17 @@ $(ASCIIDOC_MANS): asciidoc.conf footer.txt a2x $(A2X_OPTS) --asciidoc-opts="$(ASCIIDOC_OPTS)" $@.txt %.html: %.txt - asciidoc $(ASCIIDOC_OPTS) -a linkcss $*.txt + asciidoc $(ASCIIDOC_OPTS) $*.txt dos2unix $@ HACKING.html: ../HACKING - asciidoc $(ASCIIDOC_OPTS) -a linkcss -o $@ ../HACKING + asciidoc $(ASCIIDOC_OPTS) -o $@ ../HACKING dos2unix $@ # Customizations for certain HTML docs $(HTML_MANPAGES): asciidoc.conf footer.txt $(HTML_OTHER): asciidoc.conf +%.html: ASCIIDOC_OPTS += -a linkcss -a toc -a icons %.8.html: ASCIIDOC_OPTS += -d manpage %.5.html: ASCIIDOC_OPTS += -d manpage %.3.html: ASCIIDOC_OPTS += -d manpage |