File: Makefile

package info (click to toggle)
tkabber-plugins 1.1.2%2B20170328-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye
  • size: 5,392 kB
  • sloc: tcl: 27,289; xml: 2,313; makefile: 83; sh: 21
file content (69 lines) | stat: -rw-r--r-- 1,574 bytes parent folder | download | duplicates (4)
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
# Tkabber plugins Makefile

PREFIX = /usr/local
TKABBERPLUGINSDIR = $(PREFIX)/share/tkabber-plugins
DOCDIR = $(PREFIX)/share/doc/tkabber-plugins

SUBDIRS = aniemoticons    \
	  attline         \
	  battleship      \
	  bc              \
	  browser         \
	  checkers        \
	  chess           \
	  ctcomp          \
	  custom-urls     \
	  cyrillize       \
	  debug           \
	  ejabberd        \
	  filters         \
	  floatingcontact \
	  floatinglog     \
	  georoster       \
	  gmail           \
	  iconsets        \
	  jidlink         \
	  latex           \
	  mute            \
	  openurl         \
	  osd             \
	  otr             \
	  poker           \
	  presencecmd     \
	  quiz            \
	  quotelastmsg    \
	  receipts        \
	  renju           \
	  reversi         \
	  singularity     \
	  socials         \
	  spy             \
	  stripes         \
	  tclchat         \
	  tkabber-khim    \
	  traffic         \
	  unixkeys        \
	  whiteboard

install: install-bin install-doc

install-bin:
	install -d $(DESTDIR)/$(TKABBERPLUGINSDIR)
	cp -dr --no-preserve=ownership $(SUBDIRS) $(DESTDIR)/$(TKABBERPLUGINSDIR)
	@echo ""
	@echo ""
	@echo ""
	@echo "To enable desired plugins copy or link their directories to ~/.tkabber/plugins/"
	@echo ""
	@echo ""
	@echo ""

install-doc:
	install -d $(DESTDIR)/$(DOCDIR)
	install -m 644 COPYING ChangeLog README $(DESTDIR)/$(DOCDIR)

# Update Tkabber plugins from Fossil repository
up:
	test -f .fslckout -o -f _FOSSIL_ && fossil pull && fossil update

.PHONY: install install-bin install-doc up