[Pkg-javascript-commits] [SCM] jqueryui branch, master, updated. debian/1.7.1-1-27-g872a217

Marcelo Jorge Vieira (metal) metal at alucinados.com
Mon Apr 19 18:36:08 UTC 2010


The following commit has been merged in the master branch:
commit 9ad17792ac5aa17736d411e3cbb60fd4177c3582
Author: Marcelo Jorge Vieira (metal) <metal at alucinados.com>
Date:   Sun Apr 18 23:17:08 2010 -0300

    Minimizing rules file

diff --git a/debian/rules b/debian/rules
index ffe3169..1edd94c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -6,35 +6,18 @@ CSS_FILE:=$$(basename css/smoothness/jquery-ui-*.custom.css)
 DH_LINKS_FILE:=debian/libjs-jquery-ui.links
 BUILD_DIR:=build
 
+%:
+	dh $@
+
 override_dh_auto_build:
 	mkdir $(BUILD_DIR)
 	yui-compressor development-bundle/ui/jquery-ui-*.custom.js -o $(BUILD_DIR)/jquery-ui.min.js
 	yui-compressor css/smoothness/jquery-ui-*.custom.css -o $(BUILD_DIR)/jquery-ui.min.css
+	echo "$(PKG_PATH)/$(JS_FILE) $(PKG_PATH)/jquery-ui.js" > $(DH_LINKS_FILE)
+	echo "$(PKG_PATH)/css/smoothness/$(CSS_FILE) $(PKG_PATH)/css/smoothness/jquery-ui.css" >> $(DH_LINKS_FILE)
+	dh_auto_build
 
-clean:
-	dh clean
+override_dh_auto_clean:
 	rm -f $(DH_LINKS_FILE)
 	rm -rf $(BUILD_DIR)
-
-build: build-arch build-indep
-
-build-arch:
-
-build-indep:
-	dh build
-
-install:
-
-binary: binary-arch binary-indep
-
-binary-arch: build-arch
-
-binary-indep: build-indep
-	dh binary-indep --before dh_install
-	dh_install
-		echo "$(PKG_PATH)/$(JS_FILE) $(PKG_PATH)/jquery-ui.js" > $(DH_LINKS_FILE)
-		echo "$(PKG_PATH)/css/smoothness/$(CSS_FILE) \
-			$(PKG_PATH)/css/smoothness/jquery-ui.css" >> $(DH_LINKS_FILE)
-	dh binary-indep --remaining
-
-.PHONY: clean build install binary binary-arch binary-indep
+	dh_auto_clean

-- 
jqueryui



More information about the Pkg-javascript-commits mailing list