File: Makefile

package info (click to toggle)
dns-browse 1.6-4
  • links: PTS
  • area: main
  • in suites: potato
  • size: 156 kB
  • ctags: 48
  • sloc: tcl: 612; perl: 610; sh: 152; makefile: 70
file content (43 lines) | stat: -rw-r--r-- 1,027 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
# Generated automatically from Makefile.in by configure.

#
# Makefile
# $Id: Makefile.in,v 1.5 1997/12/04 20:10:58 johnh Exp $
#

TOSHAR=README dns_browse dns_tree \
	Makefile.in configure configure.in install-sh release
PACKAGE=dns_browse

INSTALL = /usr/bin/install -c
prefix = debian/tmp/usr
exec_prefix = ${prefix}
bindir = ${exec_prefix}/bin

WISH = /usr/bin/wish
PERL = /usr/bin/perl

install:
	{ echo "#!$(WISH) -f"; cat dns_browse; } >t
	$(INSTALL) -m 755 t $(bindir)/dns_browse
	{ echo "#!$(PERL) -w"; cat dns_tree; } >t
	$(INSTALL) -m 755 t $(bindir)/dns_tree

.tar_files: Makefile release
	for i in $(TOSHAR); \
	do \
		echo ./$(PACKAGE)-`cat release`/$$i; \
	done >.tar_files	

tar: .tar_files
	ln -s . ./$(PACKAGE)-`cat release`
	tar cvf - `cat .tar_files` >$(PACKAGE)-`cat release`.tar
	rm ./$(PACKAGE)-`cat release`

tar.gz: .tar_files
	ln -s . ./$(PACKAGE)-`cat release`
	tar cvf - `cat .tar_files` |gzip >$(PACKAGE)-`cat release`.tar.gz
	rm ./$(PACKAGE)-`cat release`

clean: 
	-rm *~ config.cache config.log