summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2007-02-25 18:38:41 +0100
committerJim Meyering <jim@meyering.net>2007-02-25 18:38:41 +0100
commit66760ee42fd8c627cb2a32fea23908f3e08d164c (patch)
tree23e6ec8bc54709d1fc9a840010e6c248e1739064 /Makefile.am
parenta7975b69a52675f8a1ef346d4b5ebf994200c88e (diff)
downloadparted-66760ee42fd8c627cb2a32fea23908f3e08d164c.tar.gz
Update to use gnulib, and newer autoconf, automake conventions.
Add build-from-checkout instructions. * README-hacking: New file. Mostly copied from coreutils' README-cvs. * bootstrap: Generate ChangeLog here, if needed/possible, before invoking tools that require its presence. * autogen.sh: Remove this file. It's superseded by bootstrap. Use gnulib, modernize some uses of autoconf, automake, etc. * bootstrap, bootstrap.conf: New files. * configure.ac: Modernize. Require the latest stable releases: autoconf-2.61, automake-1.10. Require gettext-0.15. Use more modern form of AC_INIT, etc. Now that the version string must be hard-coded in the AC_INIT line, add code to ensure it agrees with the PED_* and LT_* variables. Use AM_CPPFLAGS, not CFLAGS Remove obsolete setting of ALL_LINGUAS. Don't set CFLAGS=-D_GNU_SOURCE=1 explicitly , since that's already done via AC_GNU_SOURCE, which gnulib pulls in by default, through gl_EARLY. Use gl_INIT and gl_EARLY. * Makefile.am (SUBDIRS): Add lib. (EXTRA_DIST): Remove names that are automatically included. * lib/Makefile.am: New file.
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am15
1 files changed, 6 insertions, 9 deletions
diff --git a/Makefile.am b/Makefile.am
index 1ab5f13..9dbbd09 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,13 +1,8 @@
ACLOCAL_AMFLAGS = -I m4
-SUBDIRS = po libparted parted partprobe include doc debug
+SUBDIRS = po lib libparted parted partprobe include doc debug
-EXTRA_DIST = config.rpath \
- ABOUT-NLS \
- AUTHORS \
+EXTRA_DIST = \
BUGS \
- COPYING \
- THANKS \
- TODO \
libparted.pc.in \
parted.spec.in \
parted.m4 \
@@ -28,7 +23,7 @@ dist-hook: parted.spec
baseline_file = ${top_srcdir}/scripts/data/abi/baseline_symbols.txt
extract_symvers = $(top_srcdir)/scripts/extract_symvers
-current_symbols.txt: ${extract_symvers}
+current_symbols.txt: ${extract_symvers}
-@(sh ${extract_symvers} libparted/.libs/libparted.so current_symbols.txt)
baseline_symbols:
@@ -58,6 +53,8 @@ check-abi: baseline_symbols current_symbols.txt
&& (echo "ABI has changed. Please, update you ABI package version."; exit 1) \
|| exit 0
+MOSTLYCLEANDIRS = m4
+
MAINTAINERCLEANFILES = ABOUT-NLS \
ChangeLog \
INSTALL \
@@ -73,4 +70,4 @@ MAINTAINERCLEANFILES = ABOUT-NLS \
install-sh \
ltmain.sh \
missing \
- mkinstalldirs \ No newline at end of file
+ mkinstalldirs