aboutsummaryrefslogtreecommitdiffstats
path: root/www/asql/files/patch-Makefile
blob: 495b17391f4f8e4c41c651a53310a08fb081a908 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- Makefile.orig   2012-09-13 00:38:26.000000000 -0700
+++ Makefile    2014-05-20 07:09:07.000000000 -0700
@@ -40,9 +40,8 @@
    hg diff 2>/dev/null
 
 install:
-   mkdir -p ${PREFIX}/usr/bin/
-   cp bin/asql ${PREFIX}/usr/bin/asql
-   chmod 755 ${PREFIX}/usr/bin/asql
+   cp bin/asql ${DESTDIR}${PREFIX}/bin/asql
+   chmod 755 ${DESTDIR}${PREFIX}/bin/asql
 
 
 release: clean commands