summaryrefslogtreecommitdiff
path: root/textproc/coco/files/patch-Makefile.in
blob: 645b8d2a8860930fa0eb184200deb9748f39d6fe (plain) (blame)
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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
diff -rBbc Makefile.in Makefile.in
*** Makefile.in	Tue Aug 18 14:48:19 1998
--- Makefile.in	Sat Dec 29 03:49:52 2001
***************
*** 191,197 ****
  # Subdirectories to make recursively.  `lisp' is not included
  # because the compiled lisp files are part of the distribution
  # and you cannot remake them without installing Emacs first.
! SUBDIR = lib-src src
  
  # The makefiles of the directories in $SUBDIR.
  SUBDIR_MAKEFILES = lib-src/Makefile man/Makefile src/Makefile oldXMenu/Makefile lwlib/Makefile
--- 191,197 ----
  # Subdirectories to make recursively.  `lisp' is not included
  # because the compiled lisp files are part of the distribution
  # and you cannot remake them without installing Emacs first.
! SUBDIR = lib-src src man
  
  # The makefiles of the directories in $SUBDIR.
  SUBDIR_MAKEFILES = lib-src/Makefile man/Makefile src/Makefile oldXMenu/Makefile lwlib/Makefile
***************
*** 306,323 ****
  install: ${SUBDIR} install-arch-indep install-arch-dep blessmail
  	@true
  
  ### Install the executables that were compiled specifically for this machine.
  ### It would be nice to do something for a parallel make
  ### to ensure that install-arch-indep finishes before this starts.
  install-arch-dep: mkdir
- 	(cd lib-src; \
- 	  $(MAKE) install $(MFLAGS) prefix=${prefix} \
- 	    exec_prefix=${exec_prefix} bindir=${bindir} \
- 	    libexecdir=${libexecdir} archlibdir=${archlibdir})
  	${INSTALL_PROGRAM} src/emacs ${bindir}/${executable}-${version}
  	-chmod 1755  ${bindir}/${executable}-${version}
  	rm -f ${bindir}/$(EMACS)
  	-ln ${bindir}/${executable}-${version} ${bindir}/$(EMACS)
  
  ### Install the files that are machine-independent.
  ### Most of them come straight from the distribution;
--- 306,354 ----
  install: ${SUBDIR} install-arch-indep install-arch-dep blessmail
  	@true
  
+ ## 
+ install-coco: ${SUBDIR}
+ 	(cd lib-src; \
+ 	  $(MAKE) install-coco $(MFLAGS) prefix=${prefix} \
+ 	    exec_prefix=${exec_prefix} bindir=${bindir} \
+ 	    libexecdir=${libexecdir} archlibdir=${archlibdir})
+ 	-mkdir ${etcdir}; \
+ 	   chmod a+r ${etcdir}
+ 	(thisdir=`/bin/pwd`; \
+ 	 cd ${thisdir}; \
+ 	 ${INSTALL_DATA} ${srcdir}/etc/coco.1 ${man1dir}/coco${manext}; \
+ 	   chmod a+r ${man1dir}/coco${manext}; \
+ 	 ${INSTALL_DATA} ${srcdir}/etc/CODINGS ${etcdir}/CODINGS; \
+ 	   chmod a+r ${etcdir}/CODINGS; \
+ 	 ${INSTALL_DATA} ${srcdir}/etc/CHARSETS ${etcdir}/CHARSETS; \
+ 	   chmod a+r ${etcdir}/CHARSETS )
+ 
+ install-m2ps: ${SUBDIR}
+ 	(cd lib-src; \
+ 	 $(MAKE) install-m2ps $(MFLAGS) prefix=${prefix} \
+ 	    exec_prefix=${exec_prefix} bindir=${bindir} \
+ 	    libexecdir=${libexecdir} archlibdir=${archlibdir})
+ 	-mkdir ${etcdir}; \
+ 	   chmod a+r ${etcdir}
+ 	(thisdir=`/bin/pwd`; \
+ 	 cd ${thisdir}; \
+ 	 ${INSTALL_DATA} ${srcdir}/etc/m2ps.1 ${man1dir}/m2ps${manext}; \
+ 	   chmod a+r ${man1dir}/m2ps${manext}; \
+ 	 ${INSTALL_DATA} ${srcdir}/etc/m2ps.ps ${etcdir}/m2ps.ps; \
+ 	   chmod a+r ${etcdir}/m2ps.ps )
+ 
  ### Install the executables that were compiled specifically for this machine.
  ### It would be nice to do something for a parallel make
  ### to ensure that install-arch-indep finishes before this starts.
  install-arch-dep: mkdir
  	${INSTALL_PROGRAM} src/emacs ${bindir}/${executable}-${version}
  	-chmod 1755  ${bindir}/${executable}-${version}
  	rm -f ${bindir}/$(EMACS)
  	-ln ${bindir}/${executable}-${version} ${bindir}/$(EMACS)
+ 	echo "Copying etc/DOC-* to ${docdir} ..." ; \
+ 	   (cd ./etc; tar -cf - DOC*)|(cd ${docdir}; umask 0; tar -xvf - ); \
+ 	   (cd $(docdir); chmod a+r DOC*; rm DOC) \
+ 
  
  ### Install the files that are machine-independent.
  ### Most of them come straight from the distribution;
***************
*** 327,332 ****
--- 358,367 ----
  ### Note that we copy DOC* and then delete DOC
  ### as a workaround for a bug in tar on Ultrix 4.2.
  install-arch-indep: mkdir
+ 	(cd lib-src; \
+ 	  $(MAKE) install $(MFLAGS) prefix=${prefix} \
+ 	    exec_prefix=${exec_prefix} bindir=${bindir} \
+ 	    libexecdir=${libexecdir} archlibdir=${archlibdir})
  	-set ${COPYDESTS} ; \
  	for dir in ${COPYDIR} ; do \
  	  if [ `(cd $$1 && /bin/pwd)` != `(cd $${dir} && /bin/pwd)` ] ; then \
***************
*** 360,368 ****
  	-chmod -R a+r ${COPYDESTS}
  	if [ `(cd ./etc; /bin/pwd)` != `(cd ${docdir}; /bin/pwd)` ]; \
  	then \
! 	   echo "Copying etc/DOC-*, etc/CHARSETS, and etc/CODINGS to ${docdir} ..." ; \
! 	   (cd ./etc; tar -cf - DOC* CHARSETS CODINGS)|(cd ${docdir}; umask 0; tar -xvf - ); \
! 	   (cd $(docdir); chmod a+r DOC* CHARSETS CODINGS; rm DOC) \
  	else true; fi
  	if [ -r ./lisp ] \
  	   && [ x`(cd ./lisp; /bin/pwd)` != x`(cd ${lispdir}; /bin/pwd)` ] \
--- 395,403 ----
  	-chmod -R a+r ${COPYDESTS}
  	if [ `(cd ./etc; /bin/pwd)` != `(cd ${docdir}; /bin/pwd)` ]; \
  	then \
! 	   echo "Copying etc/CHARSETS, and etc/CODINGS to ${docdir} ..." ; \
! 	   (cd ./etc; tar -cf - CHARSETS CODINGS)|(cd ${docdir}; umask 0; tar -xvf - ); \
! 	   (cd $(docdir); chmod a+r CHARSETS CODINGS) \
  	else true; fi
  	if [ -r ./lisp ] \
  	   && [ x`(cd ./lisp; /bin/pwd)` != x`(cd ${lispdir}; /bin/pwd)` ] \
***************
*** 375,388 ****
  	if [ `(cd ${srcdir}/info && /bin/pwd)` != `(cd ${infodir} && /bin/pwd)` ]; \
  	then \
  	  (cd ${infodir};  \
- 	   if [ -f dir ]; then \
- 	     if [ ! -f dir.old ]; then mv -f dir dir.old; \
- 	     else mv -f dir dir.bak; fi; \
- 	   fi; \
  	   cd ${srcdir}/info ; \
- 	   (cd $${thisdir}; ${INSTALL_DATA} ${srcdir}/info/dir ${infodir}/dir); \
  	   (cd $${thisdir}; chmod a+r ${infodir}/dir); \
! 	   for f in ccmode* cl* dired-x* ediff* emacs* forms* gnus* info* message* mh-e* sc* vip* \
  		antenews* canna* egg* languages* m2ps* mule* kbd-trans* \
  		quail* terminology* CCL* ISO2022* R2L* XFONT*; do \
  	     (cd $${thisdir}; \
--- 410,418 ----
  	if [ `(cd ${srcdir}/info && /bin/pwd)` != `(cd ${infodir} && /bin/pwd)` ]; \
  	then \
  	  (cd ${infodir};  \
  	   cd ${srcdir}/info ; \
  	   (cd $${thisdir}; chmod a+r ${infodir}/dir); \
! 	   for f in ccmode* cl* dired-x* ediff* emacs* forms* gnus* message* mh-e* sc* vip* \
  		antenews* canna* egg* languages* m2ps* mule* kbd-trans* \
  		quail* terminology* CCL* ISO2022* R2L* XFONT*; do \
  	     (cd $${thisdir}; \