35 lines
911 B
Plaintext
35 lines
911 B
Plaintext
## @id $Id$
|
|
##
|
|
## This file has been added:
|
|
## - by bootstrap.sh
|
|
## - on Thu, 09 March 2017 22:41:57 +0100
|
|
## Feel free to change it or even remove and rebuild it, up to your needs
|
|
##
|
|
## 1 2 3 4 5 6 7 8
|
|
## 45678901234567890123456789012345678901234567890123456789012345678901234567890
|
|
|
|
EXTRA_DIST = package.json.in configuration.php.in
|
|
|
|
wwwdir = ${pkgdatadir}/html
|
|
dist_www_DATA = folder.png .htaccess index.php style.css gallery.js
|
|
www_DATA = configuration.php package.json
|
|
|
|
all: node_modules
|
|
|
|
node_modules: package.json.in
|
|
HOME=. npm install
|
|
|
|
clean-local:
|
|
-rm -r node_modules .npm
|
|
|
|
install-data-hook:
|
|
test -d $(DESTDIR)${wwwdir} || mkdir -p $(DESTDIR)${wwwdir}
|
|
chmod -R u+w $(DESTDIR)${wwwdir}
|
|
cp -r . $(DESTDIR)${wwwdir}
|
|
|
|
uninstall-local:
|
|
-chmod -R u+w $(DESTDIR)${wwwdir}
|
|
-rm -rf $(DESTDIR)${wwwdir}
|
|
|
|
MAINTAINERCLEANFILES = makefile.in
|