add packaging
[platform/upstream/mkfontdir.git] / Makefile.am
1
2 #  Copyright 2005  Red Hat, Inc.
3
4 #  Permission to use, copy, modify, distribute, and sell this software
5 #  and its documentation for any purpose is hereby granted without fee,
6 #  provided that the above copyright notice appear in all copies and that
7 #  both that copyright notice and this permission notice appear in
8 #  supporting documentation, and that the name of Red Hat not be used in
9 #  advertising or publicity pertaining to distribution of the software
10 #  without specific, written prior permission.  Red Hat makes no
11 #  representations about the suitability of this software for any
12 #  purpose.  It is provided "as is" without express or implied warranty.
13
14 #  RED HAT DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
15 #  INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN
16 #  NO EVENT SHALL RED HAT BE LIABLE FOR ANY SPECIAL, INDIRECT OR
17 #  CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF
18 #  USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
19 #  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
20 #  PERFORMANCE OF THIS SOFTWARE.
21
22 SUBDIRS = man
23
24 bin_SCRIPTS = mkfontdir
25 CLEANFILES = $(bin_SCRIPTS)
26 EXTRA_DIST = $(bin_SCRIPTS:=.in)
27 DIR_SUBSTS = -e 's|@bindir[@]|$(bindir)|g'
28
29 mkfontdir: mkfontdir.in
30         $(AM_V_GEN)$(SED) $(DIR_SUBSTS) < $(srcdir)/mkfontdir.in > $@
31
32 MAINTAINERCLEANFILES = ChangeLog INSTALL
33
34 .PHONY: ChangeLog INSTALL
35
36 INSTALL:
37         $(INSTALL_CMD)
38
39 ChangeLog:
40         $(CHANGELOG_CMD)
41
42 dist-hook: ChangeLog INSTALL