-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile.in
91 lines (78 loc) · 1.96 KB
/
Makefile.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
#
# Copyright (C) 2001 Andrew T. Csillag <[email protected]>
#
# You may distribute under the terms of either the GNU General
# Public License or the SkunkWeb License, as specified in the
# README file.
#
#
# This is the top level makefile for the skunk platform
#
#
# The locations where skunk is going to be installed.
#
prefix = @prefix@
exec_prefix = @exec_prefix@
skunk_data_dir = @datadir@
skunk_var_dir = @localstatedir@
skunk_config_dir = @sysconfdir@
skunk_bin_dir = @bindir@
skunk_log_dir = @LOGDIR@
# List of components to install
# XXX - it is important that pylibs is listed first, as other components do
# depend on it
components = pylibs @WITH_SKUNKWEB@
# Owner of everything
owner = @OWNER@
group = @GROUP@
# added for rpm's sake
INSTALL_FLAGS = -o $(owner) -g $(group)
INSTALL = @INSTALL@ $(INSTALL_FLAGS)
default: build
clean:
for comp in ${components}; do \
if (cd $${comp} && $(MAKE) clean); \
then :; \
else \
exit 1; \
fi \
done
distclean: clean
-rm -f Makefile config.log config.cache config.status *~
-rm -f pylibs/skunkdoc/skunkdoc2html.py
for comp in ${components}; do \
if (cd $${comp} && $(MAKE) distclean); \
then :; \
else \
exit 1; \
fi \
done
build:
for comp in ${components}; do \
if (cd $${comp} && $(MAKE)) ; \
then :; \
else \
exit 1; \
fi \
done
install: make-tree
for comp in ${components}; do \
if (cd $${comp} && $(MAKE) install); \
then :; \
else \
exit 1; \
fi \
done
make-tree:
@# Build the core tree
for dee in $(prefix) $(skunk_config_dir) $(skunk_bin_dir) $(skunk_log_dir) $(skunk_data_dir) $(skunk_var_dir); do \
$(INSTALL) -d $$DESTDIR$$dee; \
done
#
# Some re-make rules
#
Makefile: Makefile.in config.status
./config.status
dist:
PYTHONPATH=pylibs python util/make_distr.py
.PHONY: clean install build default make-tree