diff options
| author | David Sommerseth <dazo@users.sourceforge.net> | 2008-10-04 07:58:09 +0200 |
|---|---|---|
| committer | David Sommerseth <dazo@users.sourceforge.net> | 2008-10-04 07:58:09 +0200 |
| commit | df26bfe8df13aa0977902317db18a095daac885e (patch) | |
| tree | a2f9e2a5eda0c5f675cec8fd5581909d1afac56e /configure | |
| parent | 1b7c160b1e3a09b7a655a546b4c13d65ad6e87c9 (diff) | |
| download | eurephia-df26bfe8df13aa0977902317db18a095daac885e.tar.gz eurephia-df26bfe8df13aa0977902317db18a095daac885e.tar.xz eurephia-df26bfe8df13aa0977902317db18a095daac885e.zip | |
configure now appends dist-clean rule to Makefile. Removed unneed CMakeLists.in
Diffstat (limited to 'configure')
| -rwxr-xr-x | configure | 12 |
1 files changed, 11 insertions, 1 deletions
@@ -64,7 +64,7 @@ if [ -z "${OPENVPN_SRC_DIR}" ]; then exit 1; fi -if [ ${DB} = 0 ]; then +if [ -z "${DB}" ]; then echo "You need to activate at least one database driver" exit 1; fi @@ -73,6 +73,16 @@ rm -f CMakeCache.txt cmake . ${PARAMS} ec=$? if [ $ec = 0 ]; then + cat >> Makefile <<EOF +dist-clean : clean + find -type d -name "CMakeFiles" | xargs rm -rf + find -type d -name "cmake_install.cmake" | xargs rm -rf + find -type f -name Makefile | xargs rm -rf + find -type f -name "*~" | xargs rm -f + rm -f CMakeCache.txt + +EOF + echo echo echo "eurephia will be built with support for: " |
