File: rules

package info (click to toggle)
weechat-scripts 20060821
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 224 kB
  • ctags: 201
  • sloc: python: 1,960; perl: 711; ruby: 52; makefile: 37
file content (51 lines) | stat: -rwxr-xr-x 1,146 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
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
#!/usr/bin/make -f

LANGUAGES := perl python ruby lua


configure: configure-stamp
configure-stamp:
	touch configure-stamp


build: configure-stamp

build-stamp: configure
	touch build-stamp

clean:
	dh_testdir
	dh_testroot
	rm -f configure-stamp build-stamp
	dh_clean

install: build
	dh_testdir
	dh_testroot
	dh_installdirs
	for l in $(LANGUAGES) ; do \
		install -d -o root -m root -m 0755 $(CURDIR)/debian/weechat-scripts/usr/share/weechat/$$l ; \
	done
	install -m 0644 -o root -g root *.py $(CURDIR)/debian/weechat-scripts/usr/share/weechat/python
	install -m 0644 -o root -g root *.pl $(CURDIR)/debian/weechat-scripts/usr/share/weechat/perl
	install -m 0644 -o root -g root *.lua $(CURDIR)/debian/weechat-scripts/usr/share/weechat/lua
	install -m 0644 -o root -g root *.rb $(CURDIR)/debian/weechat-scripts/usr/share/weechat/ruby


binary-indep: install

binary-arch: install

binary: binary-indep binary-arch
	dh_testdir
	dh_testroot
	dh_installdocs
	dh_installchangelogs
	dh_compress
	dh_fixperms
	dh_shlibdeps
	dh_gencontrol
	dh_md5sums
	dh_builddeb

.PHONY: configure build install binary binary-indep binary-arch configure-stamp clean