123456789101112131415161718192021
  1. html: escpos.doxyfile
  2. # Compile
  3. doxygen escpos.doxyfile
  4. # Filter out warnings on README.md- doxygen cannot handle image links that
  5. # are used there: [![Caption](https://example.com/target)](https://example.com/image)
  6. sed -i '/README.md\:/d' warnings.log
  7. # Show warnings log
  8. cat warnings.log
  9. # Return failure if there were any doc warnings
  10. [ ! -s warnings.log ]
  11. latex: html
  12. # Do nothing
  13. xml: html
  14. xsltproc xml/combine.xslt xml/index.xml > all.xml
  15. clean:
  16. rm --preserve-root -Rf html latex xml doxygen_sqlite3.db all.xml warnings.log