source: toilet/trunk/Makefile.am @ 4343

Last change on this file since 4343 was 4343, checked in by sam, 4 years ago

Better ChangeLog? generation.

File size: 1.7 KB
Line 
1
2SUBDIRS = src tools fonts doc test
3DIST_SUBDIRS = $(SUBDIRS)
4
5EXTRA_DIST = bootstrap
6AUTOMAKE_OPTIONS = dist-bzip2
7
8CACA2TLF = $(top_builddir)/tools/caca2tlf
9FONTDIR = $(top_builddir)/fonts
10
11fonts: tools/caca2tlf FORCE
12        $(CACA2TLF) -u "Monospace 9" | zip > $(FONTDIR)/bigmono9.tlf
13        $(CACA2TLF) -u "Monospace Bold 12" | zip > $(FONTDIR)/bigmono12.tlf
14        $(CACA2TLF) -h -u "Monospace 9" | zip > $(FONTDIR)/mono9.tlf
15        $(CACA2TLF) -h -u "Monospace Bold 12" | zip > $(FONTDIR)/mono12.tlf
16        $(CACA2TLF) -q -u "Monospace 9" | zip > $(FONTDIR)/smmono9.tlf
17        $(CACA2TLF) -q -u "Monospace Bold 12" | zip > $(FONTDIR)/smmono12.tlf
18        $(CACA2TLF) -a "Monospace 9" | zip > $(FONTDIR)/bigascii9.tlf
19        $(CACA2TLF) -a "Monospace Bold 12" | zip > $(FONTDIR)/bigascii12.tlf
20        $(CACA2TLF) -h -a "Monospace 9" | zip > $(FONTDIR)/ascii9.tlf
21        $(CACA2TLF) -h -a "Monospace Bold 12" | zip > $(FONTDIR)/ascii12.tlf
22        $(CACA2TLF) -q -a "Monospace 9" | zip > $(FONTDIR)/smascii9.tlf
23        $(CACA2TLF) -q -a "Monospace Bold 12" | zip > $(FONTDIR)/smascii12.tlf
24        $(CACA2TLF) -s "Monospace 9" | zip > $(FONTDIR)/biggray9.tlf
25        $(CACA2TLF) -s "Monospace Bold 12" | zip > $(FONTDIR)/biggray12.tlf
26
27webhost = poulet.zoy.org
28webdir = /srv/libcaca.zoy.org/var/www/
29
30upload: FORCE
31        scp $(distdir).tar.gz $(webhost):$(webdir)/files/
32
33update-changelog: FORCE
34        git --help >/dev/null 2>&1 \
35          && test -d .git \
36          && 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
37
38FORCE:
Note: See TracBrowser for help on using the repository browser.