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 include tests/Makemodule.am
65 # Arrange so that .tarball-version appears only in the distribution
66 # tarball, and never in a checked-out repository.
68 echo $(VERSION) > $(distdir)/.tarball-version
69 # Set ChangeLog tag reference.
70 sed -i "s/log/log;h=$(VERSION)/" $(distdir)/ChangeLog
73 -find . -name \*~ -o -name \*.orig -o -name \*.rej | xargs rm -f
78 @find * $(RCS_FIND_IGNORE) \
79 -name '*.[hcS]' -type f -print | sort -u \
80 | xargs $(top_srcdir)/tools/checkincludes.pl
83 @find * $(RCS_FIND_IGNORE) \
84 -name '*.[hcS]' -type f -print | sort -u \
85 | xargs $(top_srcdir)/tools/checkconfig.sh $(top_srcdir)
88 @$(top_srcdir)/tools/checkmans.sh
91 @ $(top_srcdir)/tools/checkxalloc.sh
94 @ $(top_srcdir)/tools/checkdecl.sh
96 ENABLE_ALL = --enable-static-programs --enable-most-builds
97 DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc --disable-use-tty-group \
98 --disable-silent-rules $(ENABLE_ALL) \
99 --with-systemdsystemunitdir=$$dc_install_base/$(systemdsystemunitdir)
102 BUILT_SOURCES = .version
104 echo $(VERSION) > $@-t && mv $@-t $@
106 CHANGELOG_FILE = v$(VERSION)-ChangeLog
109 @ if test "x$$PREVIOUS_VERSION" == "x"; then \
110 echo "Usage make changelog PREVIOUS_VERSION=<version>"; \
113 @ echo "Changes between v$(PREVIOUS_VERSION) and v$(VERSION)" > $(CHANGELOG_FILE)
114 @ echo "--------------------------------------------" >> $(CHANGELOG_FILE)
115 @ echo >> $(CHANGELOG_FILE)
116 $(AM_V_GEN) git log --stat v$(PREVIOUS_VERSION)..HEAD >> $(CHANGELOG_FILE)
118 changelog: $(CHANGELOG_FILE)
120 install-exec-hook: $(INSTALL_EXEC_HOOKS)
122 uninstall-hook: $(UNINSTALL_HOOKS)
124 install-data-hook: $(INSTALL_DATA_HOOKS)
126 clean-local: $(CLEAN_LOCALS)