source: libcaca/trunk/Makefile.am @ 4352

Last change on this file since 4352 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
Line 
1
2SUBDIRS = kernel caca src examples tools \
3          cxx caca-sharp python ruby java \
4          doc test
5DIST_SUBDIRS = $(SUBDIRS) win32
6
7EXTRA_DIST = NOTES COPYING.GPL COPYING.ISC COPYING.LGPL bootstrap build-dos build-kernel build-win32 caca-config.in libcaca.spec libcaca.sln
8AUTOMAKE_OPTIONS = dist-bzip2
9
10bin_SCRIPTS = caca-config
11
12webhost = poulet.zoy.org
13webdir = /srv/caca.zoy.org/var/www/
14doxdir = /srv/caca.zoy.org/var/cache/doxygen/libcaca
15
16upload: upload-source upload-doc
17
18upload-source: FORCE
19        scp $(distdir).tar.gz $(webhost):$(webdir)/files/
20
21upload-doc: doc/html FORCE
22        ssh $(webhost) rm -f '$(doxdir)/*' || true
23        scp -r doc/html/* $(webhost):$(doxdir)/
24
25update-changelog: FORCE
26        git --help >/dev/null 2>&1 \
27          && test -d .git \
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
29
30update-fonts: tools/makefont
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
33
34echo-dirs: ; echo caca kernel src cxx examples ruby tools
35
36FORCE:
Note: See TracBrowser for help on using the repository browser.