File: Makefile

package info (click to toggle)
tkabber 0.9.9-2
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 5,028 kB
  • ctags: 1,798
  • sloc: tcl: 36,852; xml: 3,704; sh: 1,386; makefile: 67
file content (26 lines) | stat: -rw-r--r-- 880 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
# $Id: Makefile,v 1.8 2006/05/26 22:01:38 aleksey Exp $

PREFIX = /usr/local

SUBDIRS = aniemoteicons     \
          emoticons-tkabber \
	  ifacetk           \
          jabberlib-tclxml  \
	  mclistbox-1.02    \
	  msgs		    \
          pixmaps           \
          plugins           \
	  sounds	    \
	  textundo

install:
	mkdir -p $(DESTDIR)/$(PREFIX)/share/tkabber
	cp -r *.tcl $(SUBDIRS) $(DESTDIR)/$(PREFIX)/share/tkabber
	mkdir -p $(DESTDIR)/$(PREFIX)/share/doc/tkabber/html/
	cp -r examples $(DESTDIR)/$(PREFIX)/share/doc/tkabber
	cp README COPYING AUTHORS $(DESTDIR)/$(PREFIX)/share/doc/tkabber
	cp doc/tkabber.html $(DESTDIR)/$(PREFIX)/share/doc/tkabber/html
	mkdir -p $(DESTDIR)/$(PREFIX)/bin/
	echo -e "#!/bin/sh\nexec wish $(PREFIX)/share/tkabber/tkabber.tcl -name tkabber \"\$$@\"\n" > $(DESTDIR)/$(PREFIX)/bin/tkabber
	chmod +x $(DESTDIR)/$(PREFIX)/bin/tkabber