summaryrefslogtreecommitdiff
path: root/src/fix-install-headers.sh
AgeCommit message (Collapse)Author
2021-04-21Goodbye CVC4, hello cvc5! (#6371)Mathias Preiner
This commits changes the build system to cvc5 and removes the remaining occurrences of CVC4. It further cleans up outdated/unused scripts in contrib/.
2021-04-05New C++ Api: Rename and move headers. (#6292)Aina Niemetz
2020-08-31'fix-install-headers.sh' should respect DESTDIR environment variable (#4978)FabianWolff
When using CMake with Unix Makefiles, one can invoke `make install` as ``` make install DESTDIR=/a/b/c ``` so that the files will be installed into `$DESTDIR$CMAKE_INSTALL_PREFIX` (see the [documentation](https://cmake.org/cmake/help/latest/envvar/DESTDIR.html) for details). This currently doesn't work with the `fix-install-headers.sh` script: ``` [...] -- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/cvc4/util/integer.h -- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/cvc4/util/rational.h find: ‘/usr/include/cvc4/’: No such file or directory ``` Here, `CMAKE_INSTALL_PREFIX` is `/usr` but `DESTDIR` is `/<<PKGBUILDDIR>>/debian/tmp/`. This commit makes the script consider `DESTDIR` (if it is not set, then `$DESTDIR` will be empty and nothing changes) to fix this issue. Signed-off-by: Fabian Wolff <fabi.wolff@arcor.de>
2020-02-04Fix header installation on MacOS. (#3660)Mathias Preiner
On MacOS sed -i requires a suffix to be set.
2019-03-12Fix public headers for make install. (#2856)Mathias Preiner
This commit fixes make install, which previously copied all public header files to ${CMAKE_INSTALL_PREFIX}/ instead of ${CMAKE_INSTALL_PREFIX}/cvc4. Further, the old build system modified all #include directives in the installed public header files to use the installed headers, e.g., #include "cvc4_public.h" was changed to #include <cvc4/cvc4_public.h>. Now, after make install the script src/fix-install-headers.sh is executed to change the #include directives accordingly (this should be obsolete with the new C++ API).
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback