[pve-devel] [PATCH] Add missing ${DESTDIR} to include the jslint script in the debian package.

Emmanuel Kasper e.kasper at proxmox.com
Thu Apr 9 14:51:24 CEST 2015


Our Makefile was missing the DESTDIR path variable, so /usr/bin/jslint was copied directly from our source dir,
instead of going through the debian packaging step.

Signed-off-by: Emmanuel Kasper <e.kasper at proxmox.com>
---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index 478e610..15ff263 100644
--- a/Makefile
+++ b/Makefile
@@ -40,7 +40,7 @@ install: rhinoed_jslint.js jslint
 	mkdir -p ${DESTDIR}/usr/share/${PACKAGE}
 	install -m 0644 rhinoed_jslint.js ${DESTDIR}/usr/share/${PACKAGE}/rhinoed_jslint.js
 	mkdir -p ${DESTDIR}/usr/bin
-	install -m 0755 jslint /usr/bin
+	install -m 0755 jslint ${DESTDIR}/usr/bin
 
 jslint.js download:
 	wget -O jslint.js http://jslint.com/jslint.js
-- 
2.1.4




More information about the pve-devel mailing list