File: process

package info (click to toggle)
xvt 2.1-8
  • links: PTS
  • area: main
  • in suites: slink
  • size: 268 kB
  • ctags: 429
  • sloc: ansic: 5,116; makefile: 119; sh: 43
file content (28 lines) | stat: -rw-r--r-- 844 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
#! /usr/bin/make -f

build:
	make config
	make LDFLAGS=-L/usr/X11R6/lib

install-xvt:
	install -d $(ROOT)/usr/X11R6/bin
	install -m 755 -s xvt $(ROOT)/usr/X11R6/bin/xvt
	install -d $(ROOT)/usr/X11R6/man/man1
	install -m 644 xvt.1 $(ROOT)/usr/X11R6/man/man1/xvt.1
	gzip -9n $(ROOT)/usr/X11R6/man/man?/*
	install -d $(ROOT)/usr/doc/xvt
	install -m 644 README $(ROOT)/usr/doc/xvt/README
	install -m 644 debian/changelog $(ROOT)/usr/doc/xvt/changelog.Debian
	gzip -9n $(ROOT)/usr/doc/*/*
	cat debian/copyright COPYING > $(ROOT)/usr/doc/xvt/copyright
	chmod 644 $(ROOT)/usr/doc/xvt/copyright
	install -d $(ROOT)/usr/lib/menu
	install -m 644 debian/menu $(ROOT)/usr/lib/menu/xvt
	install -m 755 debian/postinst debian/prerm debian/postrm $(CONTROL)
	dpkg-shlibdeps -pxvt $(ROOT)/usr/X11R6/bin/*

finalise-xvt:

clean:
	make clean
	rm -f Makefile.old