File: rules

package info (click to toggle)
queue-async 1.0.7-1
  • links: PTS
  • area: main
  • in suites: buster, jessie, jessie-kfreebsd, stretch
  • size: 128 kB
  • ctags: 22
  • sloc: makefile: 34
file content (23 lines) | stat: -rwxr-xr-x 635 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/usr/bin/make -f
# -*- makefile -*-

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

PKGDIR = $(CURDIR)/debian/node-queue-async
JSPKGDIR = $(CURDIR)/debian/libjs-queue-async

override_dh_install:
	install -d $(PKGDIR)/usr/lib/nodejs/
	install -m0644 $(CURDIR)/queue.js \
		$(PKGDIR)/usr/lib/nodejs/queue-async.js
	install -d $(JSPKGDIR)/usr/share/javascript/queue-async/
	install -m0644 $(CURDIR)/queue.js \
		$(JSPKGDIR)/usr/share/javascript/queue-async/queue-async.js
	install -m0644 $(CURDIR)/queue.min.js \
		$(JSPKGDIR)/usr/share/javascript/queue-async/queue-async.min.js

%:
	dh $@

.PHONY: override_dh_install