[Pkg-ossec-devel] [SCM] Git repository for pkg-ossec branch, master, updated. ffccd6ed86dc57118f931bf4f2d8ebac6a3f7ea2

Jose Antonio Quevedo joseantonio.quevedo at gmail.com
Sat Jul 23 15:04:23 UTC 2011


The following commit has been merged in the master branch:
commit ffccd6ed86dc57118f931bf4f2d8ebac6a3f7ea2
Author: Jose Antonio Quevedo <joseantonio.quevedo at gmail.com>
Date:   Sat Jul 23 17:04:25 2011 +0200

    Fixed some syntax errors at debian/rules.

diff --git a/debian/rules b/debian/rules
index 12f5867..096e5d9 100755
--- a/debian/rules
+++ b/debian/rules
@@ -16,8 +16,8 @@ export DH_VERBOSE=1
 # This has to be exported to make some magic below work.
 export DH_OPTIONS
 
-PKG_BASENAME=ossec-hids
-CURDIR=`pwd`
+PKG_BASENAME="ossec-hids"
+CURDIR="`pwd`"
 
 
 configure-stamp:
@@ -90,38 +90,38 @@ install-%:
 #	USER_UPDATE = 
 	BUILD="no"
 
-	DESTDIR="$CURDIR/debian"
+	DESTDIR="$(CURDIR)/debian"
 
 
 
 install-doc:
 
-	PKG="$PKG_BASENAME-doc"
-	DESTDIR = "$DESTDIR/$PKG"
+	PKG="$(PKG_BASENAME)-doc"
+	DESTDIR = "$(DESTDIR)/$(PKG)"
 
 	# This target needs to be done
 
 install-local:
 
-	PKG=$PKG_BASENAME-local
-	INSTALLDIR = $DESTDIR/$PKG
+	PKG="$(PKG_BASENAME)-local"
+	INSTALLDIR = "$(DESTDIR)/$(PKG)"
 
-	USER_INSTALL_TYPE="$USER_INSTALL_TYPE" BUILD="$BUILD" USER_LANGUAGE="$USER_LANGUAGE" USER_NO_STOP="no" ./install.sh
+	USER_INSTALL_TYPE="$(USER_INSTALL_TYPE)" BUILD="$(BUILD)" USER_LANGUAGE="$(USER_LANGUAGE)" USER_NO_STOP="n" ./install.sh
 
 
 install-server:
 
-	PKG=$PKG_BASENAME-server
-	INSTALLDIR = $DESTDIR/$PKG
+	PKG="$(PKG_BASENAME)-server"
+	INSTALLDIR = "$(DESTDIR)/$(PKG)"
 
-	shell USER_INSTALL_TYPE="$USER_INSTALL_TYPE" BUILD="$BUILD" USER_LANGUAGE="$USER_LANGUAGE" USER_NO_STOP="no" ./install.sh
+	USER_INSTALL_TYPE="$(USER_INSTALL_TYPE)" BUILD="$(BUILD)" USER_LANGUAGE="$(USER_LANGUAGE)" USER_NO_STOP="n" ./install.sh
 
 install-client:
 
-	PKG=$PKG_BASENAME-client
-	INSTALLDIR = $DESTDIR/$PKG
+	PKG="$(PKG_BASENAME)-client"
+	INSTALLDIR = "$(DESTDIR)/$(PKG)"
 
-	shell USER_INSTALL_TYPE="$USER_INSTALL_TYPE" BUILD="$BUILD" USER_LANGUAGE="$USER_LANGUAGE" USER_NO_STOP="no" ./install.sh
+	USER_INSTALL_TYPE="$(USER_INSTALL_TYPE)" BUILD="$(BUILD)" USER_LANGUAGE="$(USER_LANGUAGE)" USER_NO_STOP="n" ./install.sh
 
 binary:
 

-- 
Git repository for pkg-ossec



More information about the Pkg-ossec-devel mailing list