~ubuntu-branches/ubuntu/trusty/util-linux/trusty-proposed

« back to all changes in this revision

Viewing changes to Makefile.am

  • Committer: Package Import Robot
  • Author(s): LaMont Jones
  • Date: 2011-11-03 15:38:23 UTC
  • mto: (4.5.5 sid) (1.6.4)
  • mto: This revision was merged to the branch mainline in revision 85.
  • Revision ID: package-import@ubuntu.com-20111103153823-10sx16jprzxlhkqf
ImportĀ upstreamĀ versionĀ 2.20.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
SHLIBS_DIRS =
4
4
 
5
5
if BUILD_LIBUUID
6
 
SHLIBS_DIRS += shlibs/uuid
 
6
SHLIBS_DIRS += libuuid
7
7
endif
8
8
 
9
9
if BUILD_LIBBLKID
10
 
SHLIBS_DIRS += shlibs/blkid
 
10
SHLIBS_DIRS += libblkid
11
11
endif
12
12
 
13
13
if BUILD_LIBMOUNT
14
 
SHLIBS_DIRS += shlibs/mount
 
14
SHLIBS_DIRS += libmount
15
15
endif
16
16
 
17
17
MAN_DIRS = man/ru
27
27
        login-utils \
28
28
        misc-utils \
29
29
        po \
30
 
        schedutils \
31
30
        sys-utils \
 
31
        term-utils \
32
32
        text-utils \
33
33
        tests
34
34
 
35
35
 
36
 
RCS_FIND_IGNORE := \( -name SCCS -o -name BitKeeper -o -name .svn -o \
 
36
RCS_FIND_IGNORE = \( -name SCCS -o -name BitKeeper -o -name .svn -o \
37
37
                -name CVS -o -name .pc -o -name .hg -o -name .git \) -prune -o
38
38
 
39
 
if LINUX
40
 
SUBDIRS += \
41
 
        hwclock \
42
 
        partx
 
39
if BUILD_HWCLOCK
 
40
SUBDIRS += hwclock
43
41
endif
44
42
 
45
 
if BUILD_INIT
46
 
SUBDIRS += simpleinit
 
43
if BUILD_PARTX
 
44
SUBDIRS += partx
47
45
endif
48
46
 
49
47
if BUILD_MOUNT
51
49
endif
52
50
 
53
51
if BUILD_FSCK
54
 
if BUILD_LIBBLKID
55
52
SUBDIRS += fsck
56
53
endif
 
54
 
 
55
if BUILD_SCHEDUTILS
 
56
SUBDIRS += schedutils
57
57
endif
58
58
 
 
59
AUTOMAKE_OPTIONS = gnu
59
60
ACLOCAL_AMFLAGS = -I m4
60
61
 
61
62
EXTRA_DIST = \
 
63
                .version \
62
64
                autogen.sh \
63
65
                README.devel \
64
66
                README.licensing \
69
71
                tools \
70
72
                docs
71
73
 
 
74
# Arrange so that .tarball-version appears only in the distribution
 
75
# tarball, and never in a checked-out repository.
 
76
dist-hook:
 
77
        echo $(VERSION) > $(distdir)/.tarball-version
 
78
# Set ChangeLog tag reference.
 
79
        sed -i "s/log/log;h=$(VERSION)/" $(distdir)/ChangeLog
72
80
 
73
81
distclean-local:
74
82
        -find . -name \*~ -o -name \*.orig -o -name \*.rej | xargs rm -f
87
95
 
88
96
 
89
97
ENABLE_ALL = --enable-static-programs \
90
 
 --enable-elvtune --enable-init --enable-kill --enable-last \
 
98
 --enable-elvtune --enable-kill --enable-last \
91
99
 --enable-mesg --enable-partx --enable-raw --enable-rdev --enable-reset \
92
100
 --enable-login-utils --enable-write --enable-arch --enable-mount
93
101
 
94
102
DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc --disable-use-tty-group $(ENABLE_ALL)
 
103
 
 
104
 
 
105
BUILT_SOURCES = .version
 
106
.version:
 
107
        echo $(VERSION) > $@-t && mv $@-t $@
 
108