File: Makefile

package info (click to toggle)
tkabber 0.9.7-5
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 4,756 kB
  • ctags: 1,593
  • sloc: tcl: 32,453; xml: 1,847; sh: 1,408; makefile: 72
file content (28 lines) | stat: -rw-r--r-- 886 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
# $Id: Makefile,v 1.7 2003/12/29 10:30:54 aleksey Exp $

PREFIX = /usr/local

SUBDIRS = aniemoteicons     \
	  ifaceck           \
	  ifacetk           \
          plugins           \
          jabberlib-tclxml  \
	  textundo	    \
	  mclistbox-1.02

SUBDIRS_AI = emoticons-tkabber \
             msgs              \
             pixmaps           \
	     sounds

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