|
|
|
## @id $Id$
|
|
|
|
|
|
|
|
## 1 2 3 4 5 6 7 8
|
|
|
|
|
|
|
|
## 45678901234567890123456789012345678901234567890123456789012345678901234567890
|
|
|
|
|
|
|
|
EXTRA_DIST = servicedock.js package.json.in public routes sockets views
|
|
|
|
|
|
|
|
nodejsdir = ${pkgdatadir}/nodejs
|
|
|
|
|
|
|
|
sysconfdefaultdir = ${sysconfdir}/default
|
|
|
|
sysconfinitdir = ${sysconfdir}/init
|
|
|
|
sysconfsystemddir = ${sysconfdir}/systemd/system
|
|
|
|
dist_sysconf_DATA = etc/@PACKAGE_NAME@.json
|
|
|
|
dist_sysconfdefault_DATA = etc/default/servicedock
|
|
|
|
dist_sysconfinit_DATA = etc/init/servicedock.conf
|
|
|
|
dist_sysconfsystemd_DATA = etc/systemd/system/servicedock.service
|
|
|
|
|
|
|
|
all: node_modules
|
|
|
|
|
|
|
|
node_modules: package.json.in
|
|
|
|
HOME=. npm install
|
|
|
|
|
|
|
|
clean-local:
|
|
|
|
-rm -r node_modules .npm
|
|
|
|
|
|
|
|
install-data-hook:
|
|
|
|
test -d $(DESTDIR)${nodejsdir} || mkdir -p $(DESTDIR)${nodejsdir}
|
|
|
|
chmod -R u+w $(DESTDIR)${nodejsdir}
|
|
|
|
cp -r . $(DESTDIR)${nodejsdir}
|
|
|
|
|
|
|
|
uninstall-local:
|
|
|
|
-chmod -R u+w $(DESTDIR)${nodejsdir}
|
|
|
|
-rm -rf $(DESTDIR)${nodejsdir}
|
|
|
|
|
|
|
|
MAINTAINERCLEANFILES = makefile.in
|