Commits

Peter Eisentraut  committed b2cd206

Add support for building epub in branches that don't already do it

  • Participants
  • Parent commits f34b075

Comments (0)

Files changed (1)

File jobhelpers/postgresql-extradoc.sh

 	/usr/bin/time -v fop -fo $< -pdf $@
 EOF
 
+if ! grep -qw epub doc/src/sgml/Makefile; then
+        cat <<'EOF' >>src/Makefile.custom
+
+epub: postgres.epub
+postgres.epub: postgres.xml
+	dbtoepub $<
+EOF
+fi
+
 JAVA_ARGS='-Xmx700m -Xincgc'
 export JAVA_ARGS