1 include $(top_srcdir)/config/include-Makefile.am
3 pkgconfigdir = $(usrlib_execdir)/pkgconfig
9 usrsbin_exec_PROGRAMS =
13 usrlib_exec_LTLIBRARIES =
16 dist_usrbin_exec_SCRIPTS =
17 systemdsystemunit_DATA =
34 RCS_FIND_IGNORE = \( -name SCCS -o -name BitKeeper -o -name .svn -o \
35 -name CVS -o -name .pc -o -name .hg -o -name .git \) -prune -o
37 ACLOCAL_AMFLAGS = -I m4
47 include include/Makemodule.am
48 include lib/Makemodule.am
49 include libuuid/Makemodule.am
50 include libblkid/Makemodule.am
51 include libmount/Makemodule.am
53 include schedutils/Makemodule.am
54 include text-utils/Makemodule.am
55 include term-utils/Makemodule.am
56 include login-utils/Makemodule.am
57 include mount-deprecated/Makemodule.am
58 include sys-utils/Makemodule.am
59 include misc-utils/Makemodule.am
60 include disk-utils/Makemodule.am
62 # Arrange so that .tarball-version appears only in the distribution
63 # tarball, and never in a checked-out repository.
65 echo $(VERSION) > $(distdir)/.tarball-version
66 # Set ChangeLog tag reference.
67 sed -i "s/log/log;h=$(VERSION)/" $(distdir)/ChangeLog
70 -find . -name \*~ -o -name \*.orig -o -name \*.rej | xargs rm -f
75 @find * $(RCS_FIND_IGNORE) \
76 -name '*.[hcS]' -type f -print | sort -u \
77 | xargs $(top_srcdir)/tools/checkincludes.pl
80 @find * $(RCS_FIND_IGNORE) \
81 -name '*.[hcS]' -type f -print | sort -u \
82 | xargs $(top_srcdir)/tools/checkconfig.sh $(top_srcdir)
85 @$(top_srcdir)/tools/checkmans.sh
88 @ $(top_srcdir)/tools/checkxalloc.sh
91 @ $(top_srcdir)/tools/checkdecl.sh
93 ENABLE_ALL = --enable-static-programs --enable-most-builds
94 DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc --disable-use-tty-group \
95 --disable-silent-rules $(ENABLE_ALL) \
96 --with-systemdsystemunitdir=$$dc_install_base/$(systemdsystemunitdir)
99 BUILT_SOURCES = .version
101 echo $(VERSION) > $@-t && mv $@-t $@
103 CHANGELOG_FILE = v$(VERSION)-ChangeLog
106 @ if test "x$$PREVIOUS_VERSION" == "x"; then \
107 echo "Usage make changelog PREVIOUS_VERSION=<version>"; \
110 @ echo "Changes between v$(PREVIOUS_VERSION) and v$(VERSION)" > $(CHANGELOG_FILE)
111 @ echo "--------------------------------------------" >> $(CHANGELOG_FILE)
112 @ echo >> $(CHANGELOG_FILE)
113 $(AM_V_GEN) git log --stat v$(PREVIOUS_VERSION)..HEAD >> $(CHANGELOG_FILE)
115 changelog: $(CHANGELOG_FILE)
117 install-exec-hook: $(INSTALL_EXEC_HOOKS)
119 uninstall-hook: $(UNINSTALL_HOOKS)
121 install-data-hook: $(INSTALL_DATA_HOOKS)