File: Makefile

package info (click to toggle)
xml-core 0.13
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 216 kB
  • ctags: 29
  • sloc: perl: 553; makefile: 161; sh: 46; xml: 10
file content (53 lines) | stat: -rw-r--r-- 1,122 bytes parent folder | download | duplicates (8)
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
## ----------------------------------------------------------------------
## Makefile : makefile for xml-core
## ----------------------------------------------------------------------

## ----------------------------------------------------------------------
include MAKE/include

## ----------------------------------------------------------------------
## source package subdirectory definitions
subdirs		= \
		debhelper \
		schemas \
		tools

## ----------------------------------------------------------------------
## XML infrastructure directory definitions
xml_dirs	= \
		declaration \
		entities \
		misc \
		schema

## ----------------------------------------------------------------------
## targets

all:

		set -e; \
		for d in $(subdirs); \
		do \
			$(MAKE) -C $${d} ${@}; \
		done

install:

		set -e; \
		for d in $(xml_dirs); \
		do \
			$(INSTALL_DIR) $(xml_dir)/$$d; \
			$(INSTALL_DIR) $(local_xml_dir)/$$d; \
		done

		set -e; \
		for d in $(subdirs); \
		do \
			$(MAKE) -C $${d} ${@}; \
		done

.PHONY:		\
		all \
		install

## ----------------------------------------------------------------------