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