From 7e7092ded05dcd66e80b7462bc82548b3ffb4730 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20W=C3=A4ckerlin?= Date: Mon, 11 Jan 2016 09:16:30 +0000 Subject: [PATCH] added forgotten makefile --- nodejs/makefile.am | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 nodejs/makefile.am diff --git a/nodejs/makefile.am b/nodejs/makefile.am new file mode 100644 index 0000000..a0ee4de --- /dev/null +++ b/nodejs/makefile.am @@ -0,0 +1,41 @@ +## @id $Id$ + +## 1 2 3 4 5 6 7 8 +## 45678901234567890123456789012345678901234567890123456789012345678901234567890 + +EXTRA_DIST = package.json.in database doc node_modules public routes sockets safechat.js views + +nodejsdir = ${pkgdatadir}/nodejs +# nodejs_DATA = package.json +# dist_nodejs_DATA = database/config.json database/index.js \ +# database/schema.sql public/images/abort.svg \ +# public/images/audio.svg public/images/envelope.svg \ +# public/images/pfeil.svg \ +# public/images/safechat-rodrigo-angleton.svg \ +# public/images/send.svg \ +# public/images/attachment.svg \ +# public/images/chat-rodrigo-angleton.svg \ +# public/images/menu.svg public/images/photo.svg \ +# public/images/safe-mimooh.svg \ +# public/images/video.svg \ +# public/javascripts/jquery.cssemoticons.js \ +# public/javascripts/jquery.js \ +# public/javascripts/openpgp.js \ +# public/javascripts/safechat.js \ +# public/sounds/A-Tone-His_Self-1266414414.mp3 \ +# public/sounds/Checkout-Scanner-Beep-SoundBible.com-593325210-by-Mike-Koenig.mp3 \ +# public/stylesheets/jquery.cssemoticons.css \ +# public/stylesheets/safechat.css routes/index.js \ +# sockets/index.js views/index.ejs views/layout.ejs \ +# doc/documentation.dox safechat.js + +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