about summary refs log tree commit diff stats
path: root/Makefile
diff options
context:
space:
mode:
authorMarco Peereboom <marco@conformal.com>2011-01-10 22:19:40 +0000
committerMarco Peereboom <marco@conformal.com>2011-01-10 22:19:40 +0000
commitc24d083a0c291a5159d9e1772452f8fcb8c564f9 (patch)
treeae0dd4efa11c062e7c1d2f41d9a12f08c1938304 /Makefile
parenta4d9ea2d351fa9a46b433ca611ecacb1b6fa528d (diff)
downloadxombrero-c24d083a0c291a5159d9e1772452f8fcb8c564f9.tar.gz
yay no more perl all the time!
thanks to todd@openbsd.org
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 478eea1..6f23078 100644
--- a/Makefile
+++ b/Makefile
@@ -23,7 +23,7 @@ MANDIR= ${PREFIX}/man/cat
 
 CLEANFILES += javascript.h
 
-javascript.h: hinting.js input-focus.js
+${.CURDIR}/javascript.h: hinting.js input-focus.js
 	perl ${.CURDIR}/js-merge-helper.pl ${.CURDIR}/hinting.js \
 	    ${.CURDIR}/input-focus.js >  ${.CURDIR}/javascript.h
 
@@ -35,6 +35,6 @@ beforeinstall:
 	cp ${.CURDIR}/xxxtermicon64.png ${PREFIX}/share/xxxterm
 	cp ${.CURDIR}/xxxtermicon128.png ${PREFIX}/share/xxxterm
 
-${PROG} ${OBJS} beforedepend: javascript.h
+${PROG} ${OBJS} beforedepend: ${.CURDIR}/javascript.h
 
 .include <bsd.prog.mk>