Makefile 657 Bytes
Newer Older
1 2 3 4 5 6 7
DOCUMENTROOT=$(DESTDIR)/www/pages
OWN = -o root -g root
INSTDOCS = 0644
INSTALL = install
DOCS=       jp4-canvas.html \
            jp4-canvas.js 

Oleg Dzhimiev's avatar
Oleg Dzhimiev committed
8 9
LIBS=       elphel.js \
            exif.js \
10
            jquery-jp4.js \
11 12
            jcanvas.js \
            webworker.js
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
            
PHP_SCRIPTS=get-image.php

all:
	@echo "make all in src"

install:
	@echo "make install in src"
	$(INSTALL) $(OWN) -d $(DOCUMENTROOT) $(DOCUMENTROOT)/js
	$(INSTALL) $(OWN) -m $(INSTDOCS) $(DOCS) $(DOCUMENTROOT)
	$(INSTALL) $(OWN) -m $(INSTDOCS) $(LIBS) $(DOCUMENTROOT)/js
	$(INSTALL) $(OWN) -m $(INSTDOCS) $(PHP_SCRIPTS) $(DOCUMENTROOT)

clean:
	@echo "make clean in src"