Release: 1.0.3 -> 1.0.4cvs
[udpgate.git] / Makefile.am
1 # $Id$
2 # automake source for the toplevel Makefile 
3 # Copyright (C) 2004 Jan Kratochvil <project-udpgate@jankratochvil.net>
4
5 # This program is free software; you can redistribute it and/or modify
6 # it under the terms of the GNU General Public License as published by
7 # the Free Software Foundation; exactly version 2 of June 1991 is required
8
9 # This program is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12 # GNU General Public License for more details.
13
14 # You should have received a copy of the GNU General Public License
15 # along with this program; if not, write to the Free Software
16 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
17
18
19 include $(top_srcdir)/Makefile-head.am
20
21 AUTOMAKE_OPTIONS=gnu
22 ACLOCAL_AMFLAGS=-I macros
23 # Keep 'po' and 'init.d' before 'src' for our .gmo files bundling.
24 SUBDIRS=macros po init.d fonts src
25 ## to automatically rebuild aclocal.m4 if any of the macros in
26 ## `macros/' change
27 @MAINT@include macros/macros.dep
28 @MAINT@macros/macros.dep: macros/Makefile.am
29 @MAINT@ cd macros && $(MAKE) macros.dep
30
31 EXTRA_DIST+= \
32                 INSTALL \
33                 mkinstalldirs \
34                 udpgate.spec.in \
35                 Makefile-head.am \
36                 autogen.pl \
37                 .vimrc \
38                 ChangeLog \
39                 cvs2cl-usermap
40
41 MAINTAINERCLEANFILES+= \
42                 ChangeLog
43
44 CLEANFILES+= \
45                 ChangeLog.bak
46
47 if MAINTAINER_MODE
48 ChangeLog:
49         cvs2cl --usermap cvs2cl-usermap --window 3600 --separate-header --no-wrap --file $@
50
51 else
52 ChangeLog:
53         touch $@
54
55 endif