source: neercs/trunk/Makefile.am @ 4366

Last change on this file since 4366 was 4361, checked in by Sam Hocevar, 13 years ago

Remove "test" from the list of source directories.

File size: 889 bytes
RevLine 
[1436]1
[4222]2SUBDIRS = src doc test
[4218]3DIST_SUBDIRS = $(SUBDIRS) data
[1436]4
5EXTRA_DIST = bootstrap
6AUTOMAKE_OPTIONS = foreign dist-bzip2
7
[4218]8webhost = poulet.zoy.org
9webdir = /srv/caca.zoy.org/var/www/
10doxdir = /srv/caca.zoy.org/var/cache/doxygen/neercs
11
12upload: upload-source upload-doc
13
14upload-source: FORCE
15        scp $(distdir).tar.gz $(webhost):$(webdir)/files/
16
17upload-doc: doc/html FORCE
18        ssh $(webhost) rm -f '$(doxdir)/*' || true
19        scp -r doc/html/* $(webhost):$(doxdir)/
20
[4359]21update-changelog: FORCE
22        git --help >/dev/null 2>&1 \
23          && test -d .git \
24          && 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
25
[4361]26echo-dirs: ; echo src
[4359]27
[4218]28FORCE:
Note: See TracBrowser for help on using the repository browser.