Fixed name of the 'captive' init script.
[captive.git] / Makefile.am
1 # $Id$
2 # automake source for the toplevel Makefile 
3 # Copyright (C) 2002 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; 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 SUBDIRS=macros src doc fonts yum.repos.d po
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 REACTOS_SOURCES= \
31                 reactos/hal \
32                 reactos/include \
33                 reactos/ntoskrnl
34
35 EXTRA_DIST+= \
36                 INSTALL \
37                 THANKS \
38                 mkinstalldirs \
39                 captive.spec.in \
40                 Makefile-head.am \
41                 include_test.c \
42                 autogen.pl \
43                 .vimrc \
44                 .gdbinit \
45                 ChangeLog \
46                 $(REACTOS_SOURCES) \
47                 debian/captive-lufs.files \
48                 debian/captive-install.conffiles \
49                 debian/captive-install.files \
50                 debian/captive-install.postinst \
51                 debian/captive-install.prerm \
52                 debian/captive.conffiles \
53                 debian/captive.docs \
54                 debian/captive.files \
55                 debian/captive.postinst \
56                 debian/captive.postrm \
57                 debian/changelog.in \
58                 debian/control \
59                 debian/copyright \
60                 debian/rules \
61                 cvs2cl-usermap \
62                 gnome_vfs_read_entire_file.c \
63                 build-static
64
65 ROS_CVS:= \
66                 $(foreach rosdir,$(REACTOS_SOURCES),$(shell find $(srcdir)/$(rosdir) -name CVS -type d))
67
68 BUILT_SOURCES+= \
69                 $(ROS_CVS)
70
71 # Needed for dpkg-buildpackage(1):
72 EXTRA_DIST+=debian/changelog
73
74 MAINTAINERCLEANFILES+= \
75                 ChangeLog
76
77 CLEANFILES+= \
78                 ChangeLog.bak
79
80 if MAINTAINER_MODE
81 ChangeLog:
82         cvs2cl --usermap cvs2cl-usermap --window 3600 --separate-header --no-wrap --file $@ . $(REACTOS_SOURCES)
83
84 else
85 ChangeLog:
86         touch $@
87
88 endif