source: libcaca/trunk/Makefile.am @ 4395

Last change on this file since 4395 was 4352, checked in by Sam Hocevar, 10 years ago

Make the check-source test more generic.

  • Property svn:keywords set to Id
File size: 1.3 KB
RevLine 
[17]1
[4197]2SUBDIRS = kernel caca src examples tools \
3          cxx caca-sharp python ruby java \
4          doc test
[2900]5DIST_SUBDIRS = $(SUBDIRS) win32
[17]6
[3598]7EXTRA_DIST = NOTES COPYING.GPL COPYING.ISC COPYING.LGPL bootstrap build-dos build-kernel build-win32 caca-config.in libcaca.spec libcaca.sln
[207]8AUTOMAKE_OPTIONS = dist-bzip2
[17]9
[202]10bin_SCRIPTS = caca-config
11
[1371]12webhost = poulet.zoy.org
[2833]13webdir = /srv/caca.zoy.org/var/www/
[4220]14doxdir = /srv/caca.zoy.org/var/cache/doxygen/libcaca
[1371]15
[1987]16upload: upload-source upload-doc
17
18upload-source: FORCE
[1371]19        scp $(distdir).tar.gz $(webhost):$(webdir)/files/
[1987]20
21upload-doc: doc/html FORCE
[4220]22        ssh $(webhost) rm -f '$(doxdir)/*' || true
23        scp -r doc/html/* $(webhost):$(doxdir)/
[1371]24
[4316]25update-changelog: FORCE
26        git --help >/dev/null 2>&1 \
27          && test -d .git \
[4330]28          && 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
[4316]29
30update-fonts: tools/makefont
[2821]31        tools/makefont mono9 "Monospace 9" 96 4 >| $(srcdir)/caca/mono9.data
32        tools/makefont monobold12 "Monospace Bold 12" 96 4 >| $(srcdir)/caca/monobold12.data
[1767]33
[4352]34echo-dirs: ; echo caca kernel src cxx examples ruby tools
35
[1371]36FORCE:
Note: See TracBrowser for help on using the repository browser.