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
77
78
79
80
81
82
83
84
85
|
$NetBSD: patch-aa,v 1.1 2000/08/31 19:14:05 jwise Exp $
--- Makefile.in.orig Sat Feb 19 14:15:49 2000
+++ Makefile.in Thu Aug 31 14:44:28 2000
@@ -15,7 +15,7 @@
bindir = $(exec_prefix)/bin
# Directory in which to install library files.
-libdir = $(prefix)/lib/dotfile-$(version)
+libdir = $(prefix)/share/dotfile-$(version)
# Directory for the manual page
mandir = $(prefix)/man/man1
@@ -23,28 +23,13 @@
SHELL = /bin/sh
### Tell the user that there is nothing to be compiled.
-.PHONY: nothing
nothing:
- @echo ----------------------------------------------------------------------
- @echo ----------------------------------------------------------------------
- @echo "The Dotfile Generator does not contain any files which has to be compiled!"
- @echo "On the other hand, during installation, all the modules need to be"
- @echo "bytecompiled, so now it's time to type: make install"
- @echo ----------------------------------------------------------------------
- @echo ----------------------------------------------------------------------
#
# install all the files in the corect places.
#
-.PHONY: install
install: copydirs bytecompile
- @echo "**********************************************************************"
- @echo In the directory Doc, three articles in HTML format, concerning
- @echo The Dotfile Generator is located. If you want these to be installed
- @echo on your system, please do it manually.
- @echo "**********************************************************************"
-.PHONY: copydirs
copydirs:
$(SHELL) $(srcdir)/mkinstalldirs $(bindir) $(libdir) \
$(libdir)/Generator $(mandir)
@@ -62,28 +47,16 @@
chmod 755 $(bindir)/dotfile
chmod 755 $(bindir)/dotfile-$(version)
-.PHONY: bytecompile
bytecompile: $(MODULES)
#
# Targets that requre X (the modules using the fonts widget)
#
-.PHONY english/fvwm1 english/fvwm2 japanese/fvwm1 japanese/fvwm2:
english/fvwm1 english/fvwm2 japanese/fvwm1 japanese/fvwm2:
- @echo "----------------------------------------------------------------------"
- @echo " Byte compiling $@"
- @if wish testwish; then \
- @WISH@ $(libdir)/Generator/dotfile.tcl $(libdir)/Generator $(libdir) $@ bytecompile; \
- else \
- echo "An error should be shown above!"; \
- echo "You need X to bytecompile the $@ module, do this manually after"; \
- echo "the installation, by starting this module!"; \
- fi
#
# Targets that may bytecompile without X
#
-.PHONY english/emacs english/tcsh english/rtin english/bash english/elm english/procmail english/ipfwadm japanese/canna:
english/emacs english/tcsh english/rtin english/bash english/elm english/procmail english/ipfwadm japanese/canna:
@echo "----------------------------------------------------------------------"
@echo " Byte compiling $@"
@@ -93,7 +66,6 @@
# Targets that may bytecompile without X, but which requieres
# Japanese Tcl/Tk.
#
-#.PHONY japanese/canna japanese/fvwm1 japanese/fvwm2:
#japanese/canna japanese/fvwm1 japanese/fvwm2:
# @echo "----------------------------------------------------------------------"
# @echo " Byte compiling $@"
@@ -106,6 +78,5 @@
#
# Clean
#
-.PHONY: clean
clean :
@echo Nothing to do
|