Makefile.am revision bdcaa8d0
1bdcaa8d0Smrg#  Copyright 2005 Adam Jackson.
2bdcaa8d0Smrg#
3bdcaa8d0Smrg#  Permission is hereby granted, free of charge, to any person obtaining a
4bdcaa8d0Smrg#  copy of this software and associated documentation files (the "Software"),
5bdcaa8d0Smrg#  to deal in the Software without restriction, including without limitation
6bdcaa8d0Smrg#  on the rights to use, copy, modify, merge, publish, distribute, sub
7bdcaa8d0Smrg#  license, and/or sell copies of the Software, and to permit persons to whom
8bdcaa8d0Smrg#  the Software is furnished to do so, subject to the following conditions:
9bdcaa8d0Smrg#
10bdcaa8d0Smrg#  The above copyright notice and this permission notice (including the next
11bdcaa8d0Smrg#  paragraph) shall be included in all copies or substantial portions of the
12bdcaa8d0Smrg#  Software.
13bdcaa8d0Smrg#
14bdcaa8d0Smrg#  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15bdcaa8d0Smrg#  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16bdcaa8d0Smrg#  FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT.  IN NO EVENT SHALL
17bdcaa8d0Smrg#  ADAM JACKSON BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
18bdcaa8d0Smrg#  IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
19bdcaa8d0Smrg#  CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
20bdcaa8d0Smrg
21bdcaa8d0SmrgAUTOMAKE_OPTIONS = foreign
22bdcaa8d0SmrgSUBDIRS = src man
23bdcaa8d0Smrg
24bdcaa8d0Smrgif BUILD_LINUXDOC
25bdcaa8d0SmrgREADME: README.sgml
26bdcaa8d0Smrg	$(MAKE_TEXT) README.sgml && mv README.txt README
27bdcaa8d0Smrgendif
28bdcaa8d0Smrg
29bdcaa8d0SmrgEXTRA_DIST = README.sgml
30bdcaa8d0Smrg
31bdcaa8d0SmrgCLEANFILES = ChangeLog
32bdcaa8d0Smrg
33bdcaa8d0Smrg.PHONY: ChangeLog
34bdcaa8d0Smrg
35bdcaa8d0SmrgChangeLog:
36bdcaa8d0Smrg	(GIT_DIR=$(top_srcdir)/.git git-log > .changelog.tmp && mv .changelog.tmp ChangeLog; rm -f .changelog.tmp) || (touch ChangeLog; echo 'git directory not found: installing possibly empty changelog.' >&2)
37bdcaa8d0Smrg
38bdcaa8d0Smrgdist-hook: ChangeLog
39