Author: justi9
Date: 2008-11-16 10:46:31 -0500 (Sun, 16 Nov 2008)
New Revision: 2813
Removed:
mgmt/trunk/bin/cumin-rpm-build
Modified:
mgmt/trunk/Makefile
Log:
Remove makefile rules and helper scripts that are now obsolete
Modified: mgmt/trunk/Makefile
===================================================================
--- mgmt/trunk/Makefile 2008-11-16 15:35:36 UTC (rev 2812)
+++ mgmt/trunk/Makefile 2008-11-16 15:46:31 UTC (rev 2813)
@@ -1,4 +1,4 @@
-.PHONY: help dist clean cumin mint tags check-devel-env
+.PHONY: help tags check-devel-env
version := 0.1.$(shell svn info | fgrep "Revision:" | cut -d " " -f
2)
@@ -6,38 +6,7 @@
@echo "Targets:"
@echo " help Print this message"
@echo " tags Rebuild the tag index"
- @echo " dist Create a dist tarball"
- @echo " clean Remove software installed at $$DEVEL_HOME/install"
-dist: clean
- mkdir -p dist/lib/python/mint
- mkdir -p dist/lib/python/wooly
- mkdir -p dist/lib/python/cumin
- mkdir -p dist/bin
- mkdir -p dist/resources
- mkdir -p dist/etc
- mkdir -p dist/sql
- mkdir -p dist/doc
- mkdir -p dist/log
- cp -a mint/python/mint/* dist/lib/python/mint
- cp -a mint/sql/* dist/sql
- cp -a cumin/python/wooly/* dist/lib/python/wooly
- cp -a cumin/python/cumin/* dist/lib/python/cumin
- cp -a cumin/bin/* dist/bin
- cp -a cumin/resources/* dist/resources
- cp -a cumin/etc/* dist/etc
- cp LICENSE COPYING dist/doc
- tar -cvzf cumin-${version}.tar.gz dist
-
-source-tarball:
- svn export . /tmp/cumin-${version}
- tar -C /tmp -czf cumin-${version}.tar.gz cumin-${version}
- rm -rf /tmp/cumin-${version}
-
-clean: check-devel-env
- rm -rf dist
- rm -rf "${DEVEL_HOME}"/install
-
tags: check-devel-env
find "${DEVEL_HOME}" -name \*.py -print \
| etags --output="${DEVEL_HOME}/etc/devel.tags" -
Deleted: mgmt/trunk/bin/cumin-rpm-build
===================================================================
--- mgmt/trunk/bin/cumin-rpm-build 2008-11-16 15:35:36 UTC (rev 2812)
+++ mgmt/trunk/bin/cumin-rpm-build 2008-11-16 15:46:31 UTC (rev 2813)
@@ -1,26 +0,0 @@
-#!/bin/bash -e
-
-if [ -z "$1" ]; then
- echo "Usage: cumin-rpm-build SOURCE-TARBALL"
- exit 1
-fi
-
-tarball=$1
-topdir="/tmp/cumin-rpm-build-${RANDOM}"
-
-echo "Building in tmp dir $topdir"
-
-mkdir "$topdir"
-cd "$topdir"
-mkdir SPECS SRPMS SOURCES RPMS BUILD
-
-cp "$tarball" "${topdir}/SOURCES"
-
-wget
"http://cvs.devel.redhat.com/cgi-bin/cvsweb.cgi/~checkout~/rpms/cumin/RHEL-5-MRG/cumin.spec?rev=HEAD"
-O cumin.spec.in
-
-version=$(basename "$tarball" | cut -d . -f 3)
-#version=$(expr match "$tarball" '\(.[0-9]+\)')
-
-sed -e "$(printf 's/^Version:.*$/Version: 0.1.%s/'
"$version")" cumin.spec.in > SPECS/cumin.spec
-
-rpmbuild --define "_topdir $topdir" -ba SPECS/cumin.spec
Show replies by date