Fix output dir for guix build
This commit is contained in:
parent
3d9bc23a91
commit
c6a84321d4
2 changed files with 16 additions and 12 deletions
6
Makefile
6
Makefile
|
@ -1,5 +1,6 @@
|
|||
LIB = unitJS
|
||||
WEBAPP = index.html style.css main.js
|
||||
ROOT = $(PREFIX)/var/www
|
||||
|
||||
all: $(WEBAPP)
|
||||
|
||||
|
@ -9,5 +10,6 @@ style.css: css
|
|||
main.js: js/
|
||||
sjw $(LIB:%=-I %) -o $@ $^
|
||||
|
||||
install:
|
||||
cp $(WEBAPP) $(DESTDIR)
|
||||
install: $(WEBAPP)
|
||||
mkdir -p $(ROOT)
|
||||
cp $(WEBAPP) $(ROOT)
|
||||
|
|
4
guix.scm
4
guix.scm
|
@ -21,7 +21,9 @@
|
|||
SJW
|
||||
UnitJS))
|
||||
(arguments
|
||||
'(#:phases
|
||||
`(#:make-flags
|
||||
,#~(list (string-append "PREFIX=" #$output))
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
(delete 'configure)
|
||||
(delete 'check))))
|
||||
|
|
Loading…
Reference in a new issue