]> git.proxmox.com Git - pve-jslint.git/commitdiff
Add missing ${DESTDIR} to include the jslint script in the debian package.
authorEmmanuel Kasper <e.kasper@proxmox.com>
Thu, 9 Apr 2015 12:51:24 +0000 (14:51 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Fri, 10 Apr 2015 05:05:54 +0000 (07:05 +0200)
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@proxmox.com>
Makefile

index 478e610ea1c5ebdd69ef2654de3d2a0e870a610e..15ff263bfdd23e035506ded7d3af986a9a85336a 100644 (file)
--- 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