GPL-2.0 requirement relaxed for GPL-2.0+ requirement.
[ntfsprogs-gnomevfs.git] / Makefile.am
1 # $Id$
2 # automake source for the toplevel Makefile 
3 # Copyright (C) 2003 Jan Kratochvil <project-captive@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; either version 2 of the License, or
8 # (at your option) any later version.
9
10 # This program is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13 # GNU General Public License for more details.
14
15 # You should have received a copy of the GNU General Public License
16 # along with this program; if not, write to the Free Software
17 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
18
19
20 include $(top_srcdir)/Makefile-head.am
21
22 AUTOMAKE_OPTIONS=gnu
23 SUBDIRS=macros src
24 ## to automatically rebuild aclocal.m4 if any of the macros in
25 ## `macros/' change
26 @MAINT@include macros/macros.dep
27 @MAINT@macros/macros.dep: macros/Makefile.am
28 @MAINT@ cd macros && $(MAKE) macros.dep
29
30 EXTRA_DIST+= \
31                 INSTALL \
32                 mkinstalldirs \
33                 ntfsprogs-gnomevfs.spec.in \
34                 autogen.pl \
35                 .vimrc \
36                 ChangeLog \
37                 Makefile-head.am \
38                 cvs2cl-usermap \
39                 debian/ntfsprogs-gnomevfs.conffiles \
40                 debian/ntfsprogs-gnomevfs.files \
41                 debian/ntfsprogs-gnomevfs.docs \
42                 debian/changelog.in \
43                 debian/control \
44                 debian/copyright \
45                 debian/rules
46
47 # Needed for dpkg-buildpackage(1):
48 EXTRA_DIST+=debian/changelog
49
50 MAINTAINERCLEANFILES+= \
51                 ChangeLog
52
53 CLEANFILES= \
54                 ChangeLog.bak
55
56 if MAINTAINER_MODE
57 ChangeLog:
58         cvs2cl --usermap cvs2cl-usermap --window 3600 --separate-header --no-wrap --file $@ .
59
60 else
61 ChangeLog:
62         touch $@
63
64 endif