summaryrefslogtreecommitdiff
path: root/include/Makefile.in
Commit message (Collapse)AuthorAgeFilesLines
* makefiles: avoid pipingZdenek Kabelac2023-02-101-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Addressing problem for user of system without default bash shell. As reported "set -o pipefail" is a bashism that causes the build to fail when /bin/sh does not point to bash. For example, this has been observed causing build failures on Gentoo when /bin/sh is symlinked to /bin/dash. Rule has been reworked and we started to use .DELETE_ON_ERROR to ensure that with any errors during file generation, such invalid file is automatically removed. Rules were reworked to avoid using pipe and instead use temporary files when necessary. Printing lines with echo was replaced with POSIX recomended 'printf' as proposed by reporter since handling of escape characters and the "-n" flag for "echo" aren't portable across shells. Also some build deps has been added. Bug: https://bugzilla.redhat.com/show_bug.cgi?id=1822280 Gentoo-bug: https://bugs.gentoo.org/682404 Gentoo-bug: https://bugs.gentoo.org/716496 Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1822280 Reported-by: Michael Orlitzky <michael@orlitzky.com> TODO: investage if the temporary files could be handled via some intermediate target solution - ATM I couldn't make it work equally well as current solution use shell 'trap' to remove temp file.
* makefiles: keep removing anchient filesZdenek Kabelac2023-02-101-0/+2
| | | | | | | | | | | Commit dropping lvmetad support 117160b27e510dceb1ed6acf995115c040acd88d also removed cleaning of its generated files. However we need to keep this functionality, otherwise we can leak them during various bisect. Easier is to keep such rules forever. Also commit c1ab9fb37faee56cee278ccd94cb958d30d61b94 moved cmds.h to include, so again keep it removed so it's not left there and in any case could not misslead anyone.
* make: move cmds.hDavid Teigland2022-09-271-1/+17
| | | | | generate the header in the include dir so it can be easily used from both lib and tools dirs.
* makefiles: improving cleaning rulesZdenek Kabelac2018-11-291-1/+1
|
* Remove lvmetadDavid Teigland2018-07-111-2/+0
| | | | | | | | | | | | | Native disk scanning is now both reduced and async/parallel, which makes it comparable in performance (and often faster) when compared to lvm using lvmetad. Autoactivation now uses local temp files to record online PVs, and no longer requires lvmetad. There should be no apparent command-level change in behavior.
* build: drop some more old filesZdenek Kabelac2018-07-021-0/+2
|
* build: remove any leftover fileZdenek Kabelac2018-06-041-1/+82
| | | | | In case repository is used after building older version of lvm2 (i.e. git bisect) make sure clean erases any possible old symlinks.
* build: Don't generate symlinks in include/ dirJoe Thornber2018-05-141-19/+1
| | | | | | | As we start refactoring the code to break dependencies (see doc/refactoring.txt), I want us to use full paths in the includes (eg, #include "base/data-struct/list.h"). This makes it more obvious when we're breaking abstraction boundaries, eg, including a file in metadata/ from base/
* Revert "build: Stop creating the symlinks in include/ on the fly."Joe Thornber2018-05-011-1/+19
| | | | This reverts commit cdcea0bf55c170f538c3ffc114792eb3c993f4ac.
* build: Stop creating the symlinks in include/ on the fly.Joe Thornber2018-04-271-19/+1
| | | | | | | | | | Git handles symlinks, tar handles symlinks. So I've just put the links themselves into git. This simplifies dependencies a little, and stop some build loops I was hitting. External build dir now works too.
* Revert "build: Stop creating the symlinks in include/ on the fly."Joe Thornber2018-04-271-1/+19
| | | | | | This reverts commit f8f621951315087c4e7720682be495941dc3cf37. It wasn't taking builds outside the src dir into account.
* build: Stop creating the symlinks in include/ on the fly.Joe Thornber2018-04-271-19/+1
| | | | | | | | Git handles symlinks, tar handles symlinks. So I've just put the links themselves into git. This simplifies dependencies a little, and stop some build loops I was hitting.
* doc: change fsf addressZdenek Kabelac2016-01-211-1/+1
| | | | | Hmm rpmlint suggest fsf is using a different address these days, so lets keep it up-to-date
* configure: relocate configure.hZdenek Kabelac2015-09-111-2/+2
| | | | | | | | | | Commit 9403edbb93a2c337df790408e9ff3d26566b7443 move location of configure.h and lvm-version.h. Let's try even better place then /conf dir which should be left for user configurable files. Put these files right into include dir.
* makefiles: better cleanZdenek Kabelac2015-05-181-4/+8
| | | | | | | | | More exact clean of library exported symbols files. Also use $(firstword) test to check for empty string so 'make clean' has now cleaner condensed look. Clean also created include links.
* Fix include commit and switch to use DISTCLEAN_TARGETSZdenek Kabelac2010-11-081-4/+3
| | | | | | | | Fixing warning introduced by 'include make.tmpl' commit. Produced this warning: Makefile:29: warning: overriding commands for target `distclean' ../make.tmpl:366: warning: ignoring old commands for target `distclean'
* Use include make.tmplZdenek Kabelac2010-11-051-16/+2
| | | | Makes easier to use recursive targets and simplifies Makefile.
* Do not use VPATH in include/MakefileZdenek Kabelac2010-08-021-1/+0
|
* Update cflow file generation - support build dir and use $(top_srcdir)Zdenek Kabelac2010-03-291-2/+1
| | | | | | | to obtain sources. Create make.tmpl target for simplier generation of cflow files with the help of CFLOW_LIST, CFLOW_LIST_TARGET, CFLOW_TARGET. Still cflow usage is not perfect.
* Allow for a build directory separate from the source.Alasdair Kergon2009-10-021-3/+4
|
* Introduce lvm2_install target.Milan Broz2009-05-111-0/+2
| | | | | | | | | | | | | | | Buildsystem support device-mapper only install, but generic install tagret includes both dm+lvm2. For distribution which uses separate install_device-mapper, there is no way how to install lvm2 only (so after installing lvm2 for packaging purposes built system must remove installed device-mapper files). Fix it by allowing lvm2_install target, similarily like install_cluster for clvmd. (install = install_device-mapper + install_lvm2)
* make install_device-mapperAlasdair Kergon2008-11-041-1/+3
|
* further progressAlasdair Kergon2008-11-011-0/+2
|
* Correct typo in comments: s/is part of the LVM2/is part of LVM2/.Jim Meyering2007-09-211-1/+1
| | | | | | | Signed-off-by: Jim Meyering <jim@meyering.net> Author: Jim Meyering <jim@meyering.net>
* Check for libsepol.Alasdair Kergon2006-04-191-0/+2
| | | | | | Add some cflow & scope support. Separate out DEFS from CFLAGS. Remove inlines and use unique function names.
* Cluster-extension-only installation.Alasdair Kergon2004-08-181-1/+3
|
* Update copyright notices.Alasdair Kergon2004-03-301-13/+9
|
* Basic internationalisation support.Alasdair Kergon2004-02-131-1/+3
|
* Tweaks for make install. -m args replaces verbose to display maps.Alasdair Kergon2001-12-031-3/+5
|
* vgrename & pvchange outlinesAlasdair Kergon2001-10-031-1/+1
|
* Create symlinks to .h files in an include directoryAlasdair Kergon2001-10-011-0/+41