summaryrefslogtreecommitdiffstats
path: root/scripts/clean.sh
diff options
context:
space:
mode:
authorEndi Sukma Dewata <edewata@redhat.com>2012-07-25 09:24:54 -0500
committerEndi Sukma Dewata <edewata@redhat.com>2012-07-25 23:24:27 -0500
commit08e99e5721c99db5e5780c0d7eb2dab1a8199778 (patch)
tree4e4fa194677c59653ab7b55fc3342784d73e01c8 /scripts/clean.sh
parentb9e6ba218f7be8b92402cc469c7d3a0d95d83dec (diff)
downloadpki-dev-08e99e5721c99db5e5780c0d7eb2dab1a8199778.tar.gz
pki-dev-08e99e5721c99db5e5780c0d7eb2dab1a8199778.tar.xz
pki-dev-08e99e5721c99db5e5780c0d7eb2dab1a8199778.zip
Added scripts for Tomcat 7.
Diffstat (limited to 'scripts/clean.sh')
-rwxr-xr-xscripts/clean.sh19
1 files changed, 19 insertions, 0 deletions
diff --git a/scripts/clean.sh b/scripts/clean.sh
new file mode 100755
index 0000000..dc3724d
--- /dev/null
+++ b/scripts/clean.sh
@@ -0,0 +1,19 @@
+#!/bin/sh -x
+
+SRC_DIR=`cd ../.. ; pwd`
+
+cd $SRC_DIR/pki
+
+mkdir -p build
+cd build
+
+cmake\
+ -DCMAKE_VERBOSE_MAKEFILE=ON\
+ -DCMAKE_INSTALL_PREFIX:PATH=/usr\
+ -DLIB_INSTALL_DIR:PATH=/usr/lib64\
+ -DSYSCONF_INSTALL_DIR:PATH=/etc\
+ -DSHARE_INSTALL_PREFIX:PATH=/usr/share\
+ -DLIB_SUFFIX=64\
+ ..
+
+make clean-dist clean-cmake