You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

42 lines
1.4 KiB

  1. include $(top_srcdir)/build/autotools/common.am
  2. SUBDIRS = kernel caca src examples tools \
  3. cxx caca-sharp python ruby java doc
  4. DIST_SUBDIRS = $(SUBDIRS) build
  5. EXTRA_DIST = NOTES COPYING.GPL COPYING.ISC COPYING.LGPL bootstrap caca-config.in libcaca.spec libcaca.sln
  6. AUTOMAKE_OPTIONS = dist-bzip2
  7. ACLOCAL_AMFLAGS = -I .auto
  8. bin_SCRIPTS = caca-config
  9. webhost = poulet.zoy.org
  10. webdir = /srv/caca.zoy.org/var/www/
  11. doxdir = /srv/caca.zoy.org/var/cache/doxygen/libcaca
  12. upload: upload-source upload-doc
  13. upload-source: FORCE
  14. scp $(distdir).tar.gz $(webhost):$(webdir)/files/
  15. upload-doc: doc/html FORCE
  16. ssh $(webhost) rm -f '$(doxdir)/*' || true
  17. scp -r doc/html/* $(webhost):$(doxdir)/
  18. update-changelog: FORCE
  19. git --help >/dev/null 2>&1 \
  20. && test -d .git \
  21. && git log --stat | awk 'function flush() { if (m != "") { print "Commit: " v "\nAuthor: " a m } m=""; v="UNSUBMITTED" } { if ($$1 == "commit") flush(); else if ($$1 == "Author:") { a = $$2 } else if ($$1 == "git-svn-id:") { split($$2,tmp,"@"); v=tmp[2] } else if ($$_ != " ") { m=m "\n" $$_ } } END { flush() }' > ChangeLog
  22. update-fonts: tools/makefont
  23. tools/makefont mono9 "Monospace 9" 96 4 >| $(srcdir)/caca/mono9.data
  24. tools/makefont monobold12 "Monospace Bold 12" 96 4 >| $(srcdir)/caca/monobold12.data
  25. # Travis CI uses “make test” instead of “make check”
  26. test: check
  27. echo-dirs: ; echo caca kernel src cxx examples ruby python tools
  28. FORCE: