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.
 
 
 
 
 
 

41 rivejä
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. bin_SCRIPTS = caca-config
  8. webhost = poulet.zoy.org
  9. webdir = /srv/caca.zoy.org/var/www/
  10. doxdir = /srv/caca.zoy.org/var/cache/doxygen/libcaca
  11. upload: upload-source upload-doc
  12. upload-source: FORCE
  13. scp $(distdir).tar.gz $(webhost):$(webdir)/files/
  14. upload-doc: doc/html FORCE
  15. ssh $(webhost) rm -f '$(doxdir)/*' || true
  16. scp -r doc/html/* $(webhost):$(doxdir)/
  17. update-changelog: FORCE
  18. git --help >/dev/null 2>&1 \
  19. && test -d .git \
  20. && 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
  21. update-fonts: tools/makefont
  22. tools/makefont mono9 "Monospace 9" 96 4 >| $(srcdir)/caca/mono9.data
  23. tools/makefont monobold12 "Monospace Bold 12" 96 4 >| $(srcdir)/caca/monobold12.data
  24. # Travis CI uses “make test” instead of “make check”
  25. test: check
  26. echo-dirs: ; echo caca kernel src cxx examples ruby python tools
  27. FORCE: