summaryrefslogtreecommitdiff
path: root/Makefile.am
Commit message (Collapse)AuthorAgeFilesLines
* Add libparted-fs-resize.pcBrian C. Lane2016-04-121-1/+2
| | | | Add a pkgconfig file for the filesystem resize library.
* maint: fix an error in the preceding commit logJim Meyering2012-10-061-0/+1
| | | | | | | | Stefano Lattarini noticed an error in the log for commit v3.1-32-g478e472. Arrange for that error to be fixed in the generated ChangeLog file. * build-aux/git-log-fix: New file. * Makefile.am (gen-ChangeLog): Adjust rule to use it.
* maint: rename public .h files to .in.hJim Meyering2012-01-091-1/+1
| | | | | | | | | | | | Generate .h files from .in.h files, so that we can continue to use _GL_ATTRIBUTE_PURE and _GL_ATTRIBUTE_CONST in the primary sources, without including them in publicly-installed files. Each generated (and later installed) header file gets expansions of those macros. * include/parted/Makefile.am: New rules. * .gitignore: Ignore the generated files. * Makefile.am (SUBDIRS): Reorder so we build in include/ before libparted, i.e., so that we generate the .h files we'll need.
* build: fix "make distcheck" failureJim Meyering2012-01-091-3/+3
| | | | | | | | | | Ever since "make distcheck" began using sudo (i.e., running "make check" as root, and then running it as non-root), the build-after-root would often fail due to some derived files being owned by root. This change adds a "chown -R $USER ." to restore order. * Makefile.am (root-check): Run "chown -R $USER ." after sudo run. (root_check): Rename variable from root-check, to avoid a warning from automake about non-POSIX variable.
* maint: "make distcheck" now runs the root-only testsJim Meyering2011-11-101-1/+9
| | | | | * Makefile.am (root-check): New overridable variable and rule. (distcheck-hook): Depend on it.
* maint: stop using .x-sc_* files to list syntax-check exemptionsJim Meyering2011-03-201-2/+0
| | | | | | | | | | | Instead, use the new mechanism with which you merely use a variable (derived from the rule name) defined in cfg.mk to an ERE matching the exempted file names. * gnulib: Update to latest, to get maint.mk that implements this. * .x-sc_GPL_version: Remove file. * .x-sc_prohibit_always-defined_macros: Likewise. * Makefile.am (EXTRA_DIST): Remove them from here, too. * cfg.mk: Define variables to exempt the same files.
* maint: remove useless definitionsJim Meyering2010-05-261-0/+1
| | | | | | | | | | * libparted/fs/xfs/platform_defs.h [__sparc__] (O_DIRECT): Remove now-unneeded definition. * parted/table.c (wchar_t): Remove definition. * parted/strlist.c (wchar_t): Likewise. * .x-sc_prohibit_always-defined_macros: New file. Exempt two files from this syntax-check rule. * Makefile.am (EXTRA_DIST): Add it here.
* build: fix check-other-sector_sizesHans de Goede2010-01-311-1/+1
| | | | | | | "make check-other-sector_sizes" was running tests of 512-byte sectors four times, rather than simulating larger sector-sizes for the latter three iterations. * Makefile.am (ss-1024 ss-2048 ss-4096): Fix the typo (missing "subst").
* build: make it clear which sector size is in use upon test failureJim Meyering2009-12-091-3/+7
| | | | | | | | | | * Makefile.am (ss-1024 ss-2048 ss-4096): New targets. Before this, top-level "make check" would lead to four separate runs through all the regression tests, one for each of the following simulated sector sizes: 1024 2048 4096, and one more for the native (usually 512), and it was not easy to tell which sector size was in use for a failing test. Now, we still perform exactly the same tests, but the sector size is now part of each target name.
* build: arrange for "make check" to run the tests four times,Jim Meyering2009-07-241-3/+13
| | | | | | | | | | each using a different simulated partition size. First with an explicit size of 1024, then 2048, then 4096, and finally with the default of 512. * Makefile.am (check-other-sector_sizes): New rule. (check): Depend on it. * README-big-sector: Update accordingly. Suggestion from Otavio Salvador.
* build: avoid "make dist-hook" failureJim Meyering2009-07-221-3/+0
| | | | * Makefile.am (dist-hook): Remove coreutils-specific rm-substitution.
* Makefile.am: fail if ABI has changedOtavio Salvador2009-05-231-3/+3
|
* build: accommodate maint.mk, now that it's pulled from gnulibJim Meyering2009-04-261-0/+1
| | | | | | | * dist-check.mk: New file, from coreutils. Was part of maint.mk. * cfg.mk (old_NEWS_hash): Include $(srcdir)/dist-check.mk. Remove trailing " -", to align with new check in maint.mk. * Makefile.am (EXTRA_DIST): Add dist-check.mk.
* Exempt a build-related script from the copyright check.Jim Meyering2008-04-301-0/+1
| | | | | * .x-sc_GPL_version: New file. * Makefile.am (EXTRA_DIST): Add .x-sc_GPL_version.
* more updates from gnulib and coreutilsJim Meyering2008-04-301-6/+24
| | | | | | | | | | * bootstrap.conf (gnulib_modules): Add gitlog-to-changelog. * .gitignore: Add .tarball-version * Makefile.am (EXTRA_DIST): Add .version and .prev-version. (dist-hook): Update rule. (gen-ChangeLog): New rule. * maint.mk: Rename from Makefile.maint and update from coreutils. * cfg.mk: Rename from Makefile.cfg and update from coreutils.
* Make inter-release --version output more useful.Jim Meyering2007-12-181-0/+5
| | | | | | | | | | | | | | | | | | | | | | Now, each unofficial build has a version "number" like 1.8.8.1.19-58dd, which indicates that it is built using the 19th change set (in _some_ repository) following the "v1.8.8.1" tag, and that 58dd is a prefix of the commit SHA1. * configure.ac: Run it to set the version. (PED_MAJOR_VERSION): Derive from $PACKAGE_VERSION. (PED_MINOR_VERSION): Likewise. (PED_MICRO_VERSION): Likewise. Remove the test that would ensure $PACKAGE_VERSION != $PED_VERSION, now that the latter is derived from the former. * Makefile.am (dist-hook): Arrange so that .version appears only in distribution tarballs, never in a checked-out repository. * .gitignore: Add .version here, too. Just in case. * lib/.gitignore: Remove now-generated (by bootstrap) file. * build-aux/.gitignore: Likewise. Ensure that $(VERSION) is up to date for dist-related targets. * GNUmakefile: Arrange to rerun autoconf, if the version reported by git-version-gen doesn't match $(VERSION), but only for dist targets.
* Add integration tests, then adjust code so that they pass.Jim Meyering2007-04-261-1/+1
| | | | | | | | | | | | | | | | | | | | | | | These changes affect how --script (-s) works, and when diagnostics are displayed. * Makefile.am (SUBDIRS): Add tests. * configure.ac (AC_OUTPUT): Add tests/Makefile. * tests/Makefile.am: New file. * tests/part-01, tests/label-01: New files. * tests/part-02, tests/label-02: New files. * parted/parted.c (enum) [PRETEND_INPUT_TTY]: Define. Support a new, undocumented option: ---pretend-input-tty. It is intended solely for testing. The leading '---' ensures that it will never conflict with a "regular" long option. (do_mkpartfs): Prompt only when not in script mode. Call ped_exception_leave_all() to decrement global counter. Without this, the use of parted in tests/part-01 would still fail, but would not issue the diagnostic explaining why. * parted/ui.h (pretend_input_tty): Declare new global. * parted/ui.c (exception_handler): Let the new "pretend_input_tty" option override "!isatty (0)". (init_ui): Don't set opt_script_mode. * tests/lang-default, tests/priv-check: New files.
* Install the libparted.pc file, not the libparted.pc.in file.David Cantrell2007-03-161-1/+1
|
* Use $(VAR), rather than obsolescent @VAR@ automake notation.Jim Meyering2007-03-021-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Enable the makefile-check rule. * Makefile.cfg: Remove makefile-check from the list of rules to skip. * Makefile.am: change e.g., @VERSION@ to $(VERSION). * debug/clearfat/Makefile.am: Likewise. * libparted/Makefile.am: Likewise. * libparted/fs/Makefile.am: Likewise. * libparted/fs/amiga/Makefile.am: Likewise. * libparted/fs/bfs/Makefile.am: Likewise. * libparted/fs/ext2/Makefile.am: Likewise. * libparted/fs/fat/Makefile.am: Likewise. * libparted/fs/hfs/Makefile.am: Likewise. * libparted/fs/jfs/Makefile.am: Likewise. * libparted/fs/linux_swap/Makefile.am: Likewise. * libparted/fs/ntfs/Makefile.am: Likewise. * libparted/fs/reiserfs/Makefile.am: Likewise. * libparted/fs/ufs/Makefile.am: Likewise. * libparted/fs/xfs/Makefile.am: Likewise. * libparted/labels/Makefile.am: Likewise. * libparted/tests/Makefile.am: Likewise. * parted/Makefile.am: Likewise. * partprobe/Makefile.am: Likewise. The above conversion caused a problem: * libparted/Makefile.am: Remove this recursive definition: LIBS = @INTLLIBS@ @LIBS@. Once converted to LIBS = ...$(LIBS), GNU make would (rightly) fail, objecting to the recursive definition. (libparted_la_LIBADD): Instead, add $(INTLLIBS) here.
* Add infrastructure for more rigorous "make distcheck" rules.Jim Meyering2007-03-021-19/+15
| | | | | | | | | | | | | | | * GNUmakefile: New file. * .prev-version: New file. * Makefile.am (MAINTAINERCLEANFILES): Remove names of files now in build-aux/. (distcheck-hook): New rule, to run the checks in Makefile.maint. (EXTRA_DIST): Add .prev-version. * Makefile.maint: New file. Improved "make distcheck" rules. * Makefile.cfg: Select which Makefile.maint checks to run. (local-checks-to-skip): List all currently-failing and irrelevant tests here. * build-aux/vc-list-files: New file. List version-controlled files. * .gitignore: Remove build-aux, since now it contains a version-controlled file.
* Normalize the way we handle a generated-and-distributed file, parted.spec.Jim Meyering2007-02-271-18/+25
| | | | | | | * Makefile.am (EXTRA_DIST): Add parted.spec. (parted.spec): New rule. (MAINTAINERCLEANFILES): Add parted.spec. * configure.ac (AC_OUTPUT): Remove parted.spec from the list.
* mv parted.m4 into new dir, m4/Jim Meyering2007-02-251-2/+0
| | | | | | * Makefile.am (EXTRA_DIST): Remove parted.m4. Now that it's in m4, it's included automatically. (aclocal_DATA): Remove unnecessary definition.
* Update to use gnulib, and newer autoconf, automake conventions.Jim Meyering2007-02-251-9/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Introduced MAINTAINERCLEANFILES in Makefile.am for carrying out 'make ↵Debarshi Ray2007-02-191-0/+17
| | | | maintainer-clean'.
* Added a pkgconfig file for libparted, adjusted Makefile.am and configure.ac ↵Riccardo Setti2007-02-121-0/+4
| | | | | | | | for reflect the canges modified: Makefile.am modified: configure.ac new file: libparted.pc.in
* Fix ChangeLogAnant Narayanan2006-09-141-0/+55
git-svn-id: svn://svn.debian.org/svn/parted/upstream/trunk@820 2d424fd7-7fe2-0310-af74-8bc65edeb173