Skip to content

Instantly share code, notes, and snippets.

@kersten
Created January 4, 2012 14:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kersten/1560374 to your computer and use it in GitHub Desktop.
Save kersten/1560374 to your computer and use it in GitHub Desktop.
build:
@npm install --prefix $(CURDIR)
install:
# Create parent directories
install -d $(DESTDIR)/usr/share/vdr-guia/
install -d $(DESTDIR)/etc/init/
# Create and copy over node_modules, so node will find it later.
cp -r node_modules $(DESTDIR)/usr/share/vdr-guia/
# Copy your own program...
install upstart/vdr-guia.conf $(DESTDIR)/etc/init/
cp -r src/* $(DESTDIR)/usr/share/vdr-guia/
#install some_binary.js $(DESTDIR)/usr/share/vdr-guia/
clean:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment