summaryrefslogtreecommitdiffstats
path: root/Makefile.in
Commit message (Collapse)AuthorAgeFilesLines
* Actually make stat configurableMihai Moldovan2019-04-151-0/+1
| | | | | | | | | It was handled in autoconf.ac, but not Makefile.in. [JD: Simplified and updated description accordingly.] Signed-off-by: Mihai Moldovan <ionic@ionic.de> Signed-off-by: Jean Delvare <jdelvare@suse.de>
* test: Don't hard-code .pcJean Delvare2019-03-141-0/+1
| | | | | | | | | | | Use a variable (QUILT_PC) instead of hard-coding ".pc" as the name of the directory where quilt stores the state of the working tree throughout the test suite. We still set that variable to ".pc" to make it easier to investigate failed test cases, but at least this allows us to promptly test that QUILT_PC can actually be set to any other value and quilt still works. Signed-off-by: Jean Delvare <jdelvare@suse.de>
* Fix Makefile when QUILT_PATCHES_PREFIX isn't setJean Delvare2017-05-091-2/+2
| | | | | | | | | | | | Unsetting QUILT_PATCHES_PREFIX in test/test.quiltrc would trigger a syntax error on "make check": /bin/bash: -c: line 3: syntax error near unexpected token `;' /bin/bash: -c: line 3: `; \' Makefile:410: recipe for target 'test/.add-filename-check.ok' failed make: *** [test/.add-filename-check.ok] Error 1 Signed-off-by: Jean Delvare <jdelvare@suse.de>
* Run tests again if test.quiltrc changesJean Delvare2017-05-021-2/+2
| | | | | | | If any change is made to the test environment, we want to run the checks again, to catch any problem early. Signed-off-by: Jean Delvare <jdelvare@suse.de>
* Run the tests again if test runner changesJean Delvare2017-04-251-2/+2
| | | | | | | If any change is made to the tester script, we want to run the checks again, to catch any problem early. Signed-off-by: Jean Delvare <jdelvare@suse.de>
* setup: Add basic support for p7zip (.7z) archivesJean Delvare2017-03-101-0/+1
| | | | | | | | | | | | | | This should work in the most basic case (no option used.) This only covers the case of archives being compressed with 7z, not patches. This should fix bug #49754: http://savannah.nongnu.org/bugs/?49754 Remaining issues: * 7z could also be used to compress patches, although nobody sane would do that. * 7z is very verbose, and doesn't offer any option to be silent or even just quieter.
* Makefile: Add updatepo targetJean Delvare2016-11-151-1/+3
| | | | | | Add a target "updatepo" which translators can run to update the translation files. Then they can look for strings to translate and send us a patch or the updated translation file(s).
* Generate guards man page in doc/Jean Delvare2016-11-151-3/+3
| | | | | For consistency, the guards manual page should be generated under doc/, not bin/.
* Use standard sysconfdir as an etcdirNikolay Orlyuk2015-04-251-1/+1
|
* Strip metadata comments from generated filesJean Delvare2015-02-251-0/+1
| | | | | | | Source files include metadata comments to help text editors apply the right syntax highlighting. Generated files should not be edited so these comments are not needed there. Text editors should get the language right for generated files in the first place anyway.
* mail: Don't include the release number in User-AgentJean Delvare2015-01-291-1/+0
| | | | | | | | | | | | | | | | @RELEASE@ is replaced with the package-level release number in two places: the spec file, where it is legitimate, and the mail command's User-Agent string, where I think it is not. The package release number should not affect the contents of the package, otherwise it makes it difficult to compare build results. I have checked other MUA (Mutt, Thunderbird, Claws Mail) and they all only include the version, not the release number in their User-Agent string. Drop the @RELEASE@ replacement rule to make sure we don't use it accidentally anywhere in the future. The spec file has its own build rule so it is not affected.
* Clean up TESTS definitionJean Delvare2015-01-281-3/+3
| | | | | | Don't filter out test/patch-wrapper.test if we are going to add it back. Do it the other way around, that is include it by default and only filter it out if needed.
* Sort the testsJean Delvare2015-01-281-1/+2
| | | | | | | | Run the tests in predictable order. This allows comparing the output of "make check" between builds. With older versions of GNU make, the list was already sorted, but this is no longer the case. Suggested by Rich Burridge.
* setup: Merge inspect into setupJean Delvare2015-01-241-3/+3
| | | | | | | There is no good reason for the setup command to be split into two scripts, setup and inspect. Merge inspect into setup to save the extra interfacing overhead. Performance improvement reaches 5% on simple packages.
* inspect: Split the patch/tar/unzip wrapper to a separate scriptJean Delvare2014-11-051-3/+3
| | | | | | | | | | I couldn't find any reason why the patch/tar/unzip wrapper is generated each time inspect is invoked. Make it a separate script in its own right and let the patch, tar and unzip links point to it. This makes this piece of code easier to read, edit, trace and debug. This also solves the case where the filesystem hosting the temporary files is mounted with noexec.
* partially revert commit fc06a60fKent R. Spillner2014-06-041-1/+0
| | | | | | | | Commit 48ff26d6 already added a QUILT_COMPAT_PROG_PATH line for cp to configure.ac, and the corresponding CP variable in Makefile.in. I don't know how I missed this originally; sorry for the churn! Signed-off-by: Kent R. Spillner <kspillner@acm.org>
* Generate rpm's %changelog from NEWSJean Delvare2014-04-171-4/+5
| | | | | NEWS is much more appropriate than quilt.changes to feed the rpm spec file's %changelog section.
* Re-enable patch-wrapper testJean Delvare2014-04-161-0/+3
| | | | | | | The patch-wrapper test was unconditionally disabled by commit 97200435 ("Only run test/patch-wrapper.test if the --with-patch-wrapper config option is used.") Re-enable this test when the --with-patch-wrapper config option is actually used.
* configure: add compat symlinks for cp and md5sumKent R. Spillner2014-01-211-0/+2
| | | | | | | | | | | | | | | Allow distributors to provide compat symlinks for cp and md5sum on non-GNU systems. md5sum is used by quilt/scripts/inspect and is provided by GNU coreutils, but may be installed as gmd5sum on some systems (e.g. OpenBSD). quilt/scripts/backup-files invokes cp with some non-portable GNU-specific command line arguments (e.g. --parents --remove-destination --target-directory). Original diff from Jérémie Courrèges-Anglas <jca@wxcvbn.org> on OpenBSD ports mailing list. Reported-by: Jérémie Courrèges-Anglas <jca@wxcvbn.org> Signed-off-by: Kent R. Spillner <kspillner@acm.org>
* Drop stray references to debian files.Jean Delvare2014-01-201-3/+2
|
* Tree-wide white-space cleanupsJean Delvare2014-01-201-3/+3
| | | | | | | * Delete blank lines at end of files. * Delete white space at end of lines. * Delete spaces before tab. * Replace 8 spaces by a tab where it makes sense.
* Makefile.in: Fix support for configure --with-xargsJean Delvare2013-09-301-0/+1
|
* Makefile: Fix "find -perm" usageJean Delvare2013-05-241-1/+1
| | | | | | | | | | Support for obsolete find -perm +MODE syntax was removed from GNU findutils by commit v4.5.10-144-g90f0c5d24153ad3327edd6f2249fc95a5cfb72e0. Reported by Dmitry V. Levin. Also -maxdepth is not portable and not needed so drop it.
* Fix test case dependencies on helper scriptsJean Delvare2012-12-181-0/+2
| | | | | When a helper script is called directly from a test case, it must be added to the dependencies for that test case.
* Keep reference entries sortedJean Delvare2012-10-251-1/+1
| | | | | Make function $(wildcard ...) is not guaranteed to sort the results, so explicitly sort the entries in the reference documentation file.
* quilt: unset POSIXLY_CORRECT to ensure that patch works non-interactivelyRaphaël Hertzog2012-02-291-0/+1
| | | | | | | | | POSIXLY_CORRECT=1 breaks quilt because quilt relies on patch working non-interactively which is not the case in POSIX mode. Bug-Debian: http://bugs.debian.org/462578 Reported-by: Brian M. Carlson <sandals@crustytoothpaste.ath.cx> Signed-off-by: Raphaël Hertzog <hertzog@debian.org>
* Ensure quilt(1) documents the correct patches directoryJulien Viard de Galbert2012-02-291-1/+1
| | | | | | | | | | | | | Within the Debian source package, .pc/quilt_patches ensures that QUILT_PATCHES is set to debian/patches but when we build the documentation we want the real default directory used by quilt, aka "patches". We achieve this by tricking quilt into using a non-existing .pc directory so that we get the real default value. Bug-Debian: http://bugs.debian.org/585438 Signed-off-by: Raphaël Hertzog <hertzog@debian.org>
* Makefile.in: Let "make clean" delete generated source tarballsJean Delvare2012-02-011-0/+4
|
* Makefile.in: Include utilfns when generating source tarball (for real)Jean Delvare2012-02-011-0/+1
|
* Whitespace cleanups.Jean Delvare2012-02-011-4/+4
|
* backup-files: Use internal implementation of dirnameJean Delvare2012-02-011-4/+4
| | | | | | | | Use quilt's internal implementation of dirname. This is more efficient than calling an external binary, and avoids a dependency. Signed-off-by: Jean Delvare <jdelvare@suse.de> Reviewed-by: Raphael Hertzog <hertzog@debian.org>
* Clean up legacy C codeJean Delvare2012-02-011-7/+0
| | | | | | | Finally get rid of the old C implementation of backup-files, together with all the related checks in configure and variables in Makefile. Signed-off-by: Jean Delvare <jdelvare@suse.de>
* BSD compatibility: statJean Delvare2012-02-011-0/+2
| | | | | | | | The stat command on BSD takes different parameters from the GNU one. Let configure find out which variant is available, and use the right parameters. Signed-off-by: Jean Delvare <jdelvare@suse.de>
* Make backup-files a shell scriptMartin Quinson2012-02-011-24/+6
| | | | | | | | Make backup-files a shell script instead of a binary, so we can make quilt arch: all [Steve Langasek, thanks so much] (Closes: Debian #363659) Signed-off-by: Jean Delvare <jdelvare@suse.de>
* Remove parse-patch which is no longer usedJean Delvare2012-01-281-1/+1
| | | | | | | | Based on a preliminary patch by Yasushi SHOJI. None of quilt code uses parse-patch anymore. The last one, it seems, was contrib/import.diff, which was removed at 2f9728a9. So, just remove it.
* Store the quilt command reference once generatedJean Delvare2012-01-101-8/+7
| | | | This avoids generating it twice, once for README and once for quilt.1.
* Silent the generation of the quilt manual page, for consistencyJean Delvare2012-01-101-1/+1
|
* No need to delete doc/quilt.1 twice on "make clean"Jean Delvare2012-01-101-4/+4
|
* ensure that bash is used as a shell, even if it's not the default oneMartin Quinson2012-01-091-0/+1
|
* Revert "Fix auto-generation of quilt.1 to work with dash"Martin Quinson2012-01-091-5/+5
| | | | | | | | | | | This reverts commit 5f17e6f29c22282a4bf2819ac7ee08c942e6e103. We rely on bash for the rest of quilt, so it is no real issue to rely on it for the makefile. If we try to remove it, we have to deal with the portability another way. For example, BSD and Mac OSX versions of sed are not able to deal with \n by themselves... The correct fix will be to force the SHELL to be bash in the makefile.
* Fix auto-generation of quilt.1 to work with dashMartin Quinson2012-01-011-5/+5
| | | | | | | | | | | | | | | | | | | The echo command of dash interprets \f as a special characer and thus generates a bad manual page. bash's echo leaves them unchanged (it needs -e to replace those special characters). Using printf instead is a portable solution that work with both shells. . The code also uses a bashism ($'') but it's not really needed with GNU sed at least (it understands \t and \n) so drop it and avoid some painful double escaping. . This patch was written by Raphael Hertzog for the Debian package, and updated by Martin Quinson so that it applies on lastest upstream sources. Author: Raphael Hertzog <hertzog@debian.org> Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/quilt/+bug/402237 Bug-Debian: http://bugs.debian.org/563517
* Makefile.in: Really skip setting execute bit on scripts/patchfnsJean Delvare2011-12-161-1/+1
|
* configure*, Makefile.in: Use the standard docdir definitionJean Delvare2011-12-161-6/+7
| | | | | That way, it can be easily changed from the command line, which was not the case before.
* Man page: substitute documentation directory name in path to PDF documentationJean Delvare2011-12-061-0/+4
|
* integrate the ru translation into the compilation frameworkMartin Quinson2011-09-291-1/+1
|
* Fix i18n of quilt/scripts/patchfnsJean Delvare2011-03-181-1/+2
| | | | (Broken by previous commit, sorry.)
* Don't build quilt.spec by default, it's only needed for packaging purposes.Jean Delvare2011-02-061-1/+1
|
* Do not hard-code the location of /etc; use $(etcdir) insteadAndreas Gruenbacher2010-06-091-0/+1
|
* Let the test suite be run in parallelJean Delvare2010-01-231-2/+1
| | | | | | | | | | | Add an option to the test case runner script to generate an output suitable for parallel runs: * Print the full output at the end of the test case, all at once. * Only output the detailed commands on failed test cases. This makes it possible and convenient to run the test suite in parallel on SMP systems.
* Make git-desc work even outside git repositories and include it in tarballsAndreas Gruenbacher2009-06-171-1/+1
|