File: Makefile.in

package info (click to toggle)
eggdrop 1.6.18-1etch2
  • links: PTS
  • area: main
  • in suites: etch
  • size: 5,260 kB
  • ctags: 5,135
  • sloc: ansic: 55,311; sh: 4,101; tcl: 2,423; makefile: 1,505
file content (76 lines) | stat: -rw-r--r-- 2,175 bytes parent folder | download | duplicates (2)
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
70
71
72
73
74
75
76
# Makefile for scripts/
# $Id: Makefile.in,v 1.13 2004-06-17 05:43:29 wcc Exp $

SHELL = @SHELL@
top_srcdir = @top_srcdir@
srcdir = @srcdir@
VPATH = @srcdir@

@SET_MAKE@
INSTALL = @INSTALL@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_DATA = @INSTALL_DATA@
INSTALL_SCRIPT = @INSTALL_SCRIPT@

DOCS = CONTENTS

SCRIPTS = action.fix.tcl alltools.tcl compat.tcl getops.tcl \
klined.tcl notes2.tcl ques5.tcl sentinel.tcl userinfo.tcl cmd_resolve.tcl

EXESCRIPTS = autobotchk botchk weed

doofus:
	@echo ""
	@echo "Let's try this from the right directory..."
	@echo ""
	@cd .. && $(MAKE)

all: $(DOCS) $(SCRIPTS) $(EXESCRIPTS)

clean:
	@rm -f *~

install:
	@if test ! -d $(DEST)/scripts; then \
		echo "Creating 'scripts' subdirectory."; \
		$(top_srcdir)/misc/mkinstalldirs $(DEST)/scripts >/dev/null; \
		echo "Copying scripts."; \
		for i in $(DOCS); do \
			$(INSTALL_DATA) $(srcdir)/$$i $(DEST)/scripts/; \
		done; \
		for i in $(SCRIPTS); do \
			$(INSTALL_DATA) $(srcdir)/$$i $(DEST)/scripts/; \
		done; \
		for i in $(EXESCRIPTS); do \
			$(INSTALL_SCRIPT) $(srcdir)/$$i $(DEST)/scripts/; \
		done; \
		if test ! "x`echo $(srcdir)/help/*.help`" = "x$(srcdir)/help/*.help"; then \
			if test ! -d $(DEST)/help; then \
				echo "Creating 'help' subdirectory."; \
				$(top_srcdir)/misc/mkinstalldirs $(DEST)/help >/dev/null; \
			fi; \
			for i in $(srcdir)/help/*.help; do \
				$(INSTALL_DATA) $$i $(DEST)/help/; \
			done; \
		fi; \
		if test ! "x`echo $(srcdir)/help/msg/*.help`" = "x$(srcdir)/help/msg/*.help"; then \
			if test ! -d $(DEST)/help/msg; then \
				echo "Creating 'help/msg' subdirectory."; \
				$(top_srcdir)/misc/mkinstalldirs $(DEST)/help/msg >/dev/null; \
			fi; \
			for i in $(srcdir)/help/msg/*.help; do \
				$(INSTALL_DATA) $$i $(DEST)/help/msg/; \
			done; \
		fi; \
		if test ! "x`echo $(srcdir)/help/set/*.help`" = "x$(srcdir)/help/set/*.help"; then \
			if test ! -d $(DEST)/help/set; then \
				echo "Creating 'help/set' subdirectory."; \
				$(top_srcdir)/misc/mkinstalldirs $(DEST)/help/set >/dev/null; \
			fi; \
			for i in $(srcdir)/help/set/*.help; do \
				$(INSTALL_DATA) $$i $(DEST)/help/set/; \
			done; \
		fi; \
	fi

#safety hash