SCM

SCM Repository

[xemacs] Annotation of /XEmacs/packages/XEmacs.rules
ViewVC logotype

Annotation of /XEmacs/packages/XEmacs.rules

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.29 - (view) (download)

1 : ben 1.24 # Common Makefile material for package Makefiles
2 : steve 1.1 # Copyright (C) 1997 Free Software Foundation Inc.
3 :    
4 :     # This file is part of XEmacs.
5 :    
6 :     # XEmacs is free software; you can redistribute it and/or modify it
7 :     # under the terms of the GNU General Public License as published by the
8 :     # Free Software Foundation; either version 2, or (at your option) any
9 :     # later version.
10 :    
11 :     # XEmacs is distributed in the hope that it will be useful, but WITHOUT
12 :     # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 :     # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
14 :     # for more details.
15 :    
16 :     # You should have received a copy of the GNU General Public License
17 :     # along with XEmacs; see the file COPYING. If not, write to
18 :     # the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
19 :     # Boston, MA 02111-1307, USA.
20 :    
21 : andreasj 1.17 # Requires XEmacs 21.0-beta19 or greater and GNU Make 3.78 or greater.
22 : steve 1.1
23 : andreasj 1.17 XEMACS_PACKAGES_BASE := $(shell while [ ! -f XEmacs.rules ]; do \
24 :     cd ..; \
25 :     done; \
26 :     pwd)
27 : steve 1.1
28 : andreasj 1.17 # Make this the first target
29 :     bytecompile:: all
30 : steve 1.1
31 : andreasj 1.17 include ${XEMACS_PACKAGES_BASE}/Local.rules.mk
32 :     -include ${XEMACS_PACKAGES_BASE}/Local.rules
33 : steveb 1.7
34 : steveb 1.14 # Ensure vanilla locale when building
35 : andreasj 1.17 override LANG := C
36 : steve 1.4
37 : steveb 1.11 # Only in rare cases will you need to override this
38 : andreasj 1.17 ifeq ($(AUTOLOAD_PATH),)
39 : steveb 1.11 AUTOLOAD_PATH = .
40 :     endif
41 :    
42 : steveb 1.9 # Override or add to this in the package Makefile if necessary
43 : steveb 1.11 GENERATED = $(AUTOLOAD_PATH)/auto-autoloads.elc
44 : steveb 1.9
45 :     # SOURCE_FILES_TO_COPY = *.el*
46 : steveb 1.11 SOURCE_FILES_TO_COPY = $(ELCS) $(ELCS:.elc=.el) \
47 :     $(MULE_ELCS) $(MULE_ELCS:.elc=.el) \
48 : steveb 1.12 $(GENERATED) $(GENERATED:.elc=.el) $(AUTOLOAD_PATH)/_pkg.el
49 : steveb 1.8
50 : steve 1.1 # Non configurable portion follows
51 :    
52 : steveb 1.9 MANIFEST = pkginfo/MANIFEST.$(PACKAGE)
53 : andreasj 1.17 # This might be a sublevel PWD; that is intentional. Use
54 :     # ${XEMACS_PACKAGES_BASE} for the toplevel directory.
55 :     PWD := $(shell pwd)
56 : steveb 1.9
57 : steve 1.1 .SUFFIXES:
58 :     .SUFFIXES: .info .texi .dvi .elc .el
59 :    
60 :     %.info: %.texi
61 :     $(MAKEINFO) $(MAKEINFO_FLAGS) -o $@ $<
62 :    
63 : youngs 1.27 FORMAT_INFO_LEVEL_3_USING_XEMACS_NO_SAVE_ARGS = -eval '(setq load-path (append (list "../../../xemacs-packages/texinfo" "../../../xemacs-packages/xemacs-base") load-path))' -l informat -l texinfmt -f texinfo-format-buffer
64 :    
65 :     FORMAT_INFO_USING_XEMACS_NO_SAVE_ARGS = -eval '(setq load-path (append (list "../../xemacs-packages/texinfo" "../../xemacs-packages/xemacs-base") load-path))' -l informat -l texinfmt -f texinfo-format-buffer
66 :    
67 :     FORMAT_INFO_USING_XEMACS_ARGS = $(FORMAT_INFO_USING_XEMACS_NO_SAVE_ARGS) -f save-buffer
68 :    
69 : adrian 1.19 ifeq ($(XEMACS_NATIVE_NT),t)
70 : ben 1.24 # Convert UNIX-path (containing output of `pwd') to windows-path, so
71 :     # that XEmacs native NT can handle it.
72 : adrian 1.19 PACKAGE_COMPILE = \
73 :     "$(shell cygpath --windows $(XEMACS_PACKAGES_BASE)/package-compile.el)"
74 : ben 1.24 PACKAGE_CLEAN = \
75 :     "$(shell cygpath --windows $(XEMACS_PACKAGES_BASE)/package-clean.el)"
76 : adrian 1.26 PACKAGE_NET_PACKAGES = \
77 :     "$(shell cygpath --windows $(XEMACS_PACKAGES_BASE)/package-net-packages.el)"
78 :     PACKAGE_STAGING = \
79 :     "$(shell cygpath --windows $(STAGING))"
80 : adrian 1.19 else
81 :     PACKAGE_COMPILE = $(XEMACS_PACKAGES_BASE)/package-compile.el
82 : ben 1.24 PACKAGE_CLEAN = $(XEMACS_PACKAGES_BASE)/package-clean.el
83 : adrian 1.26 PACKAGE_NET_PACKAGES = $(XEMACS_PACKAGES_BASE)/package-net-packages.el
84 :     PACKAGE_STAGING = $(STAGING)
85 : adrian 1.19 endif
86 :    
87 : steve 1.1 %.elc: %.el
88 : adrian 1.19 $(XEMACS) -no-autoloads -batch $(PRELOADS) -l $(PACKAGE_COMPILE) -- $(REQUIRES) -- $<
89 : steve 1.1
90 : steveb 1.12 all:: $(AUTOLOAD_PATH)/_pkg.el
91 : steveb 1.13
92 : steve 1.1 dist:: srckit binkit package-info
93 :    
94 :     clean::
95 : youngs 1.21 rm -f $(ELCS) $(INFO_FILES) $(AUTOLOAD_PATH)/auto-autoloads.elc \
96 :     $(AUTOLOAD_PATH)/custom-load.elc $(EXTRA_OBJS)
97 : steve 1.1
98 :     mostlyclean: clean
99 :    
100 :     extraclean: clean
101 :    
102 : ben 1.28 # distclean is what you use when making a distribution. it should be the
103 :     # absolutely most aggressive clean target out there -- everything that
104 :     # can get rebuilt should be killed. everything.
105 :    
106 : steve 1.1 distclean: extraclean
107 : steveb 1.11 rm -f core *~ $(AUTOLOAD_PATH)/auto-autoloads.el \
108 : steveb 1.12 $(AUTOLOAD_PATH)/custom-load.el package-info \
109 :     $(AUTOLOAD_PATH)/_pkg.el
110 : ben 1.28
111 :     # elcclean is for when you want to rebuild after having made a small
112 :     # change, e.g. you cvs updated and got new versions of some files.
113 :     # The problem is that if you just `make', you may have the situation
114 :     # where a file that needs to be compiled depends on some other
115 :     # just-updated .el file, and in particular on the features that were
116 :     # added in the update. In such a case, the .elc file is out-of-date
117 :     # w.r.t the .el file, and you'd get the .elc file (missing the
118 :     # necessary features), and error. So we remove the minimum number of
119 :     # .elc required to ensure that the build will always succeed
120 :     # correctly.
121 : steve 1.1
122 : ben 1.24 elcclean:
123 :     $(XEMACS) $(VANILLA) -batch -l $(PACKAGE_CLEAN)
124 :    
125 :     # XEmacs native MS Windows needs this quoting of command-line
126 :     # arguments due to basic differences in the handling of command-line
127 :     # arguments in Unix and MS Windows.
128 :     #### not any more, as of Cygwin 1.1.8-2 (Feb 2001) -- ben
129 :     ifeq ($(XEMACS_NATIVE_NT_NEEDS_EXTRA_QUOTING),t)
130 : adrian 1.19 AUTOLOAD_PACKAGE_NAME = (setq autoload-package-name \\\"$(PACKAGE)\\\")
131 :     else
132 :     AUTOLOAD_PACKAGE_NAME = (setq autoload-package-name \"$(PACKAGE)\")
133 :     endif
134 :    
135 : steveb 1.11 $(AUTOLOAD_PATH)/auto-autoloads.el : $(ELCS:.elc=.el) $(AUTOLOAD_PATH)/_pkg.el
136 : steve 1.1 $(XEMACS) $(VANILLA) -batch \
137 : adrian 1.19 -eval "$(AUTOLOAD_PACKAGE_NAME)" \
138 : steveb 1.11 -l autoload -f batch-update-directory $(AUTOLOAD_PATH)
139 :     @rm -f $(AUTOLOAD_PATH)/auto-autoloads.el~
140 : steve 1.1
141 : steveb 1.11 $(AUTOLOAD_PATH)/custom-load.el : $(ELCS:.elc=.el)
142 : steve 1.1 $(XEMACS) $(VANILLA) -batch -l cus-dep \
143 : steveb 1.11 -f Custom-make-dependencies $(AUTOLOAD_PATH)
144 : steve 1.1
145 : andreasj 1.17 pkg_tar = $(STAGING)/$(PACKAGE)-$(VERSION)-pkg.tar
146 :    
147 : adrian 1.19 ifeq ($(XEMACS_NATIVE_NT),t)
148 : ben 1.24 # Convert UNIX-path (containing output of `pwd') to windows-path,
149 : adrian 1.19 # so that XEmacs native NT can handle it.
150 :     PKG_TAR_GZ = "$(shell cygpath --windows $(pkg_tar)).gz"
151 : adrian 1.22 PACKAGE_INFO = "$(shell cygpath --windows $(STAGING)/$(PACKAGE_INDEX))"
152 : adrian 1.19 else
153 :     PKG_TAR_GZ = $(pkg_tar).gz
154 : adrian 1.22 PACKAGE_INFO = $(STAGING)/$(PACKAGE_INDEX)
155 : adrian 1.19 endif
156 :    
157 : andreasj 1.17 # Make the $(pkg_tar).gz first, then the $(pkg_tar).bz2
158 : steveb 1.12 package-info : package-info.in Makefile $(AUTOLOAD_PATH)/_pkg.el \
159 : andreasj 1.17 $(pkg_tar).gz $(pkg_tar).bz2
160 : steve 1.1 $(XEMACS) $(VANILLA) -batch \
161 : youngs 1.25 -l package-info.elc -f batch-update-package-info \
162 : adrian 1.19 '$(VERSION)' $(PKG_TAR_GZ) \
163 : steve 1.4 '$(REQUIRES)' \
164 :     '$(AUTHOR_VERSION)' '$(MAINTAINER)' '$(CATEGORY)'
165 : steveb 1.11 $(XEMACS) $(VANILLA) -batch \
166 :     -l ../../hack-package-index.el -f batch-hack-package-index \
167 : adrian 1.19 $(PACKAGE) package-info $(PACKAGE_INFO)
168 : steveb 1.11
169 : andreasj 1.17 ifeq ($(BUILD_TARS),t)
170 :     $(pkg_tar): $(STAGING)/$(MANIFEST)
171 :     @(cd $(STAGING); \
172 :     rm -f $(pkg_tar)*)
173 :    
174 :     (cd $(STAGING); \
175 :     $(TAR) $(EXCLUDES) -cf $(pkg_tar) \
176 :     `cat $(MANIFEST)`)
177 :    
178 :    
179 :     $(pkg_tar).gz: $(pkg_tar)
180 :     ifneq ($(BZIP2),) # need to leave behind the .tar for bzip2 to find.
181 :     (cd $(STAGING); \
182 :     gzip -cv9 $(pkg_tar) > $(pkg_tar).gz;)
183 :     else # BZIP2 is ''
184 :     (cd $(STAGING); \
185 :     gzip -v9 $(pkg_tar);)
186 :     endif
187 :    
188 :     ifneq ($(BZIP2),)
189 :     $(pkg_tar).bz2: $(pkg_tar)
190 :     (cd $(STAGING); \
191 :     $(BZIP2) -v9 $(pkg_tar);)
192 :     else # Don't build a .tar.bz2
193 :     $(pkg_tar).bz2:
194 :    
195 :     .PHONY: $(pkg_tar).bz2
196 :     endif # BZIP2 ?
197 :    
198 :     else # when BUILD_TARS is ''
199 :     # Touch the file so the package-index can be generated
200 :     $(pkg_tar) $(pkg_tar).gz $(pkg_tar).bz2 :
201 :     touch $@
202 :     endif # BUILD_TARS ?
203 :    
204 : steve 1.1
205 : steveb 1.12 $(AUTOLOAD_PATH)/_pkg.el: Makefile
206 :     @echo Creating $(AUTOLOAD_PATH)/_pkg.el
207 :     @echo ";;;###autoload" > $(AUTOLOAD_PATH)/_pkg.el
208 :     @echo "(package-provide '$(PACKAGE)" >> $(AUTOLOAD_PATH)/_pkg.el
209 :     @echo " :version $(VERSION)" >> $(AUTOLOAD_PATH)/_pkg.el
210 :     @echo " :type '$(PKG_TYPE))" >> $(AUTOLOAD_PATH)/_pkg.el
211 : steve 1.1
212 :     .PHONY: srckit-std
213 :     .PHONY: binkit-sourceonly binkit-sourceinfo binkit-sourcedata binkit-sourcedatainfo
214 : steveb 1.12 .PHONY: bindist install autoloads
215 : steve 1.3
216 : youngs 1.25 bindist: binkit package-info setup-info
217 :    
218 :     setup-info:
219 : adrian 1.26 $(XEMACS) $(VANILLA) -batch -l $(PACKAGE_NET_PACKAGES) \
220 :     -l $(PACKAGE_INFO) \
221 :     -f package-net-packages-batch-convert-index-to-ini $(PACKAGE_STAGING)
222 : steve 1.1
223 : steveb 1.11 install: binkit
224 :    
225 :     autoloads: $(AUTOLOAD_PATH)/auto-autoloads.el
226 :    
227 : andreasj 1.17 src_tar = $(STAGING)/$(PACKAGE)-$(VERSION)-src.tar
228 :    
229 : steve 1.1 srckit-std: distclean
230 :     if [ ! -d $(STAGING) ]; then mkdir -p $(STAGING); fi
231 : andreasj 1.17
232 :     (cd ../..; \
233 :     rm -f $(src_tar)*; \
234 :     $(TAR) $(EXCLUDES) -cf $(src_tar) $(CATEGORY)/$(PACKAGE))
235 :    
236 :     gzip -cv9 $(src_tar) > $(src_tar).gz
237 :    
238 :     ifneq ($(BZIP2),)
239 :     $(BZIP2) -v9 $(src_tar);
240 :     endif
241 :     rm -f $(src_tar)
242 :    
243 : steve 1.1
244 : steveb 1.11 binkit-common: all
245 : andreasj 1.17 (if test -d $(STAGING); then \
246 :     cd $(STAGING); \
247 :     if test -f $(MANIFEST); then \
248 : steveb 1.11 rm -rf `cat $(MANIFEST)`; \
249 : andreasj 1.17 fi; \
250 : steveb 1.11 fi;)
251 : andreasj 1.17 #ifneq ($(ELCS),)
252 : steveb 1.11 @-mkdir -p $(STAGING)/lisp/$(PACKAGE)
253 : steveb 1.15 #endif
254 : andreasj 1.17 ifneq ($(ELCS_1),)
255 : steveb 1.11 @-mkdir -p $(STAGING)/lisp/$(ELCS_1_DEST)
256 :     endif
257 : andreasj 1.17 ifneq ($(INFO_FILES),)
258 : steveb 1.11 @-mkdir -p $(STAGING)/info
259 :     @-mkdir -p $(STAGING)/man/$(PACKAGE)
260 :     endif
261 : andreasj 1.17 ifneq ($(DATA_FILES),)
262 : steveb 1.11 @-mkdir -p $(STAGING)/etc/$(DATA_DEST)
263 :     endif
264 : andreasj 1.17 ifneq ($(DATA_1_FILES),)
265 : steveb 1.11 @-mkdir -p $(STAGING)/etc/$(DATA_1_DEST)
266 :     endif
267 : andreasj 1.17 ifneq ($(DATA_2_FILES),)
268 : steveb 1.11 @-mkdir -p $(STAGING)/etc/$(DATA_2_DEST)
269 :     endif
270 : andreasj 1.17 ifneq ($(DATA_3_FILES),)
271 : steveb 1.11 @-mkdir -p $(STAGING)/etc/$(DATA_3_DEST)
272 :     endif
273 : andreasj 1.17 ifneq ($(DATA_4_FILES),)
274 : steveb 1.11 @-mkdir -p $(STAGING)/etc/$(DATA_4_DEST)
275 :     endif
276 : andreasj 1.17 ifneq ($(DATA_5_FILES),)
277 : steveb 1.11 @-mkdir -p $(STAGING)/etc/$(DATA_5_DEST)
278 :     endif
279 : andreasj 1.17 ifneq ($(DATA_6_FILES),)
280 : steveb 1.16 @-mkdir -p $(STAGING)/etc/$(DATA_6_DEST)
281 :     endif
282 : andreasj 1.17 ifneq ($(DATA_7_FILES),)
283 : steveb 1.16 @-mkdir -p $(STAGING)/etc/$(DATA_7_DEST)
284 :     endif
285 : andreasj 1.17 ifneq ($(DATA_8_FILES),)
286 : steveb 1.16 @-mkdir -p $(STAGING)/etc/$(DATA_8_DEST)
287 :     endif
288 : michaels 1.20 ifneq ($(DATA_9_FILES),)
289 :     @-mkdir -p $(STAGING)/etc/$(DATA_9_DEST)
290 :     endif
291 :     ifneq ($(DATA_10_FILES),)
292 :     @-mkdir -p $(STAGING)/etc/$(DATA_10_DEST)
293 :     endif
294 :     ifneq ($(DATA_11_FILES),)
295 :     @-mkdir -p $(STAGING)/etc/$(DATA_11_DEST)
296 :     endif
297 :     ifneq ($(DATA_12_FILES),)
298 :     @-mkdir -p $(STAGING)/etc/$(DATA_12_DEST)
299 :     endif
300 :     ifneq ($(DATA_13_FILES),)
301 :     @-mkdir -p $(STAGING)/etc/$(DATA_13_DEST)
302 :     endif
303 :     ifneq ($(DATA_14_FILES),)
304 :     @-mkdir -p $(STAGING)/etc/$(DATA_14_DEST)
305 :     endif
306 :     ifneq ($(DATA_15_FILES),)
307 :     @-mkdir -p $(STAGING)/etc/$(DATA_15_DEST)
308 :     endif
309 :     ifneq ($(DATA_16_FILES),)
310 :     @-mkdir -p $(STAGING)/etc/$(DATA_16_DEST)
311 :     endif
312 :     ifneq ($(DATA_17_FILES),)
313 :     @-mkdir -p $(STAGING)/etc/$(DATA_17_DEST)
314 :     endif
315 :     ifneq ($(DATA_18_FILES),)
316 :     @-mkdir -p $(STAGING)/etc/$(DATA_18_DEST)
317 :     endif
318 :     ifneq ($(DATA_19_FILES),)
319 :     @-mkdir -p $(STAGING)/etc/$(DATA_19_DEST)
320 :     endif
321 :     ifneq ($(DATA_20_FILES),)
322 :     @-mkdir -p $(STAGING)/etc/$(DATA_20_DEST)
323 :     endif
324 :     ifneq ($(DATA_21_FILES),)
325 :     @-mkdir -p $(STAGING)/etc/$(DATA_21_DEST)
326 :     endif
327 :     ifneq ($(DATA_22_FILES),)
328 :     @-mkdir -p $(STAGING)/etc/$(DATA_22_DEST)
329 :     endif
330 :     ifneq ($(DATA_23_FILES),)
331 :     @-mkdir -p $(STAGING)/etc/$(DATA_23_DEST)
332 :     endif
333 :     ifneq ($(DATA_24_FILES),)
334 :     @-mkdir -p $(STAGING)/etc/$(DATA_24_DEST)
335 :     endif
336 :     ifneq ($(DATA_25_FILES),)
337 :     @-mkdir -p $(STAGING)/etc/$(DATA_25_DEST)
338 :     endif
339 :     ifneq ($(DATA_26_FILES),)
340 :     @-mkdir -p $(STAGING)/etc/$(DATA_26_DEST)
341 :     endif
342 : youngs 1.29 ifneq ($(DATA_27_FILES),)
343 :     @-mkdir -p $(STAGING)/etc/$(DATA_27_DEST)
344 :     endif
345 :     ifneq ($(DATA_28_FILES),)
346 :     @-mkdir -p $(STAGING)/etc/$(DATA_28_DEST)
347 :     endif
348 :     ifneq ($(DATA_29_FILES),)
349 :     @-mkdir -p $(STAGING)/etc/$(DATA_29_DEST)
350 :     endif
351 :     ifneq ($(DATA_30_FILES),)
352 :     @-mkdir -p $(STAGING)/etc/$(DATA_30_DEST)
353 :     endif
354 :     ifneq ($(DATA_31_FILES),)
355 :     @-mkdir -p $(STAGING)/etc/$(DATA_31_DEST)
356 :     endif
357 :     ifneq ($(DATA_32_FILES),)
358 :     @-mkdir -p $(STAGING)/etc/$(DATA_32_DEST)
359 :     endif
360 :     ifneq ($(DATA_33_FILES),)
361 :     @-mkdir -p $(STAGING)/etc/$(DATA_33_DEST)
362 :     endif
363 :     ifneq ($(DATA_34_FILES),)
364 :     @-mkdir -p $(STAGING)/etc/$(DATA_34_DEST)
365 :     endif
366 :     ifneq ($(DATA_35_FILES),)
367 :     @-mkdir -p $(STAGING)/etc/$(DATA_35_DEST)
368 :     endif
369 : andreasj 1.17 ifneq ($(LIBSRC_FILES),)
370 : steveb 1.11 @-mkdir -p $(STAGING)/lib-src
371 :     endif
372 :     @-mkdir -p $(STAGING)/pkginfo
373 : andreasj 1.17 ifneq ($(ELCS),)
374 :     $(RCOPY) $(addprefix $(PWD)/, ChangeLog $(SOURCE_FILES_TO_COPY) $(EXTRA_SOURCES)) \
375 :     $(STAGING)/lisp/$(PACKAGE)
376 :     endif
377 :     ifneq ($(ELCS_1),)
378 :     $(RCOPY) $(addprefix $(PWD)/, $(ELCS_1_FILES)) $(STAGING)/lisp/$(ELCS_1_DEST)
379 : steveb 1.11 endif
380 : andreasj 1.17 ifneq ($(INFO_FILES),)
381 :     $(RCOPY) $(addprefix $(PWD)/, $(INFO_FILES)) $(STAGING)/info
382 :     $(RCOPY) $(addprefix $(PWD)/, $(TEXI_FILES)) $(STAGING)/man/$(PACKAGE)
383 : steveb 1.11 endif
384 : andreasj 1.17 ifneq ($(DATA_FILES),)
385 :     $(RCOPY) $(addprefix $(PWD)/, $(DATA_FILES)) $(STAGING)/etc/$(DATA_DEST)
386 : steveb 1.11 endif
387 : andreasj 1.17 ifneq ($(DATA_1_FILES),)
388 :     $(RCOPY) $(addprefix $(PWD)/, $(DATA_1_FILES)) $(STAGING)/etc/$(DATA_1_DEST)
389 : steveb 1.11 endif
390 : andreasj 1.17 ifneq ($(DATA_2_FILES),)
391 :     $(RCOPY) $(addprefix $(PWD)/, $(DATA_2_FILES)) $(STAGING)/etc/$(DATA_2_DEST)
392 : steveb 1.11 endif
393 : andreasj 1.17 ifneq ($(DATA_3_FILES),)
394 :     $(RCOPY) $(addprefix $(PWD)/, $(DATA_3_FILES)) $(STAGING)/etc/$(DATA_3_DEST)
395 : steveb 1.11 endif
396 : andreasj 1.17 ifneq ($(DATA_4_FILES),)
397 :     $(RCOPY) $(addprefix $(PWD)/, $(DATA_4_FILES)) $(STAGING)/etc/$(DATA_4_DEST)
398 : steveb 1.11 endif
399 : andreasj 1.17 ifneq ($(DATA_5_FILES),)
400 :     $(RCOPY) $(addprefix $(PWD)/, $(DATA_5_FILES)) $(STAGING)/etc/$(DATA_5_DEST)
401 : steveb 1.11 endif
402 : andreasj 1.17 ifneq ($(DATA_6_FILES),)
403 :     $(RCOPY) $(addprefix $(PWD)/, $(DATA_6_FILES)) $(STAGING)/etc/$(DATA_6_DEST)
404 : steveb 1.16 endif
405 : andreasj 1.17 ifneq ($(DATA_7_FILES),)
406 :     $(RCOPY) $(addprefix $(PWD)/, $(DATA_7_FILES)) $(STAGING)/etc/$(DATA_7_DEST)
407 : steveb 1.16 endif
408 : andreasj 1.17 ifneq ($(DATA_8_FILES),)
409 :     $(RCOPY) $(addprefix $(PWD)/, $(DATA_8_FILES)) $(STAGING)/etc/$(DATA_8_DEST)
410 : steveb 1.16 endif
411 : michaels 1.20 ifneq ($(DATA_9_FILES),)
412 :     $(RCOPY) $(addprefix $(PWD)/, $(DATA_9_FILES)) $(STAGING)/etc/$(DATA_9_DEST)
413 :     endif
414 :     ifneq ($(DATA_10_FILES),)
415 :     $(RCOPY) $(addprefix $(PWD)/, $(DATA_10_FILES)) $(STAGING)/etc/$(DATA_10_DEST)
416 :     endif
417 :     ifneq ($(DATA_11_FILES),)
418 :     $(RCOPY) $(addprefix $(PWD)/, $(DATA_11_FILES)) $(STAGING)/etc/$(DATA_11_DEST)
419 :     endif
420 :     ifneq ($(DATA_12_FILES),)
421 :     $(RCOPY) $(addprefix $(PWD)/, $(DATA_12_FILES)) $(STAGING)/etc/$(DATA_12_DEST)
422 :     endif
423 :     ifneq ($(DATA_13_FILES),)
424 :     $(RCOPY) $(addprefix $(PWD)/, $(DATA_13_FILES)) $(STAGING)/etc/$(DATA_13_DEST)
425 :     endif
426 :     ifneq ($(DATA_14_FILES),)
427 :     $(RCOPY) $(addprefix $(PWD)/, $(DATA_14_FILES)) $(STAGING)/etc/$(DATA_14_DEST)
428 :     endif
429 :     ifneq ($(DATA_15_FILES),)
430 :     $(RCOPY) $(addprefix $(PWD)/, $(DATA_15_FILES)) $(STAGING)/etc/$(DATA_15_DEST)
431 :     endif
432 :     ifneq ($(DATA_16_FILES),)
433 :     $(RCOPY) $(addprefix $(PWD)/, $(DATA_16_FILES)) $(STAGING)/etc/$(DATA_16_DEST)
434 :     endif
435 :     ifneq ($(DATA_17_FILES),)
436 :     $(RCOPY) $(addprefix $(PWD)/, $(DATA_17_FILES)) $(STAGING)/etc/$(DATA_17_DEST)
437 :     endif
438 :     ifneq ($(DATA_18_FILES),)
439 :     $(RCOPY) $(addprefix $(PWD)/, $(DATA_18_FILES)) $(STAGING)/etc/$(DATA_18_DEST)
440 :     endif
441 :     ifneq ($(DATA_19_FILES),)
442 :     $(RCOPY) $(addprefix $(PWD)/, $(DATA_19_FILES)) $(STAGING)/etc/$(DATA_19_DEST)
443 :     endif
444 :     ifneq ($(DATA_20_FILES),)
445 :     $(RCOPY) $(addprefix $(PWD)/, $(DATA_20_FILES)) $(STAGING)/etc/$(DATA_20_DEST)
446 :     endif
447 :     ifneq ($(DATA_21_FILES),)
448 :     $(RCOPY) $(addprefix $(PWD)/, $(DATA_21_FILES)) $(STAGING)/etc/$(DATA_21_DEST)
449 :     endif
450 :     ifneq ($(DATA_22_FILES),)
451 :     $(RCOPY) $(addprefix $(PWD)/, $(DATA_22_FILES)) $(STAGING)/etc/$(DATA_22_DEST)
452 :     endif
453 :     ifneq ($(DATA_23_FILES),)
454 :     $(RCOPY) $(addprefix $(PWD)/, $(DATA_23_FILES)) $(STAGING)/etc/$(DATA_23_DEST)
455 :     endif
456 :     ifneq ($(DATA_24_FILES),)
457 :     $(RCOPY) $(addprefix $(PWD)/, $(DATA_24_FILES)) $(STAGING)/etc/$(DATA_24_DEST)
458 :     endif
459 :     ifneq ($(DATA_25_FILES),)
460 :     $(RCOPY) $(addprefix $(PWD)/, $(DATA_25_FILES)) $(STAGING)/etc/$(DATA_25_DEST)
461 :     endif
462 :     ifneq ($(DATA_26_FILES),)
463 :     $(RCOPY) $(addprefix $(PWD)/, $(DATA_26_FILES)) $(STAGING)/etc/$(DATA_26_DEST)
464 :     endif
465 : youngs 1.29 ifneq ($(DATA_27_FILES),)
466 :     $(RCOPY) $(addprefix $(PWD)/, $(DATA_27_FILES)) $(STAGING)/etc/$(DATA_27_DEST)
467 :     endif
468 :     ifneq ($(DATA_28_FILES),)
469 :     $(RCOPY) $(addprefix $(PWD)/, $(DATA_28_FILES)) $(STAGING)/etc/$(DATA_28_DEST)
470 :     endif
471 :     ifneq ($(DATA_29_FILES),)
472 :     $(RCOPY) $(addprefix $(PWD)/, $(DATA_29_FILES)) $(STAGING)/etc/$(DATA_29_DEST)
473 :     endif
474 :     ifneq ($(DATA_30_FILES),)
475 :     $(RCOPY) $(addprefix $(PWD)/, $(DATA_30_FILES)) $(STAGING)/etc/$(DATA_30_DEST)
476 :     endif
477 :     ifneq ($(DATA_31_FILES),)
478 :     $(RCOPY) $(addprefix $(PWD)/, $(DATA_31_FILES)) $(STAGING)/etc/$(DATA_31_DEST)
479 :     endif
480 :     ifneq ($(DATA_32_FILES),)
481 :     $(RCOPY) $(addprefix $(PWD)/, $(DATA_32_FILES)) $(STAGING)/etc/$(DATA_32_DEST)
482 :     endif
483 :     ifneq ($(DATA_33_FILES),)
484 :     $(RCOPY) $(addprefix $(PWD)/, $(DATA_33_FILES)) $(STAGING)/etc/$(DATA_33_DEST)
485 :     endif
486 :     ifneq ($(DATA_34_FILES),)
487 :     $(RCOPY) $(addprefix $(PWD)/, $(DATA_34_FILES)) $(STAGING)/etc/$(DATA_34_DEST)
488 :     endif
489 :     ifneq ($(DATA_35_FILES),)
490 :     $(RCOPY) $(addprefix $(PWD)/, $(DATA_35_FILES)) $(STAGING)/etc/$(DATA_35_DEST)
491 :     endif
492 : andreasj 1.17 ifneq ($(LIBSRC_FILES),)
493 :     $(RCOPY) $(addprefix $(PWD)/, $(LIBSRC_FILES)) $(STAGING)/lib-src
494 : steveb 1.11 endif
495 : steve 1.1 (cd $(STAGING); \
496 : steveb 1.11 ls -1 $(MANIFEST) > $(MANIFEST))
497 : andreasj 1.18 ifneq ($(ELCS),)
498 : steveb 1.11 @(cd $(STAGING); \
499 :     ls -1 lisp/$(PACKAGE)/ChangeLog \
500 :     $(patsubst %, lisp/$(PACKAGE)/%, $(notdir $(SOURCE_FILES_TO_COPY))) \
501 :     $(patsubst %, lisp/$(PACKAGE)/%, $(notdir $(EXTRA_SOURCES))) \
502 :     >> $(MANIFEST))
503 : andreasj 1.18 endif
504 : andreasj 1.17 ifneq ($(ELCS_1),)
505 : steveb 1.11 @(cd $(STAGING); \
506 :     ls -1 $(patsubst %, lisp/$(ELCS_1_DEST)/%, $(notdir $(ELCS_1_FILES))) \
507 :     >> $(MANIFEST))
508 :     endif
509 : andreasj 1.17 ifneq ($(INFO_FILES),)
510 : steveb 1.11 @(cd $(STAGING); \
511 :     ls -1 man/$(PACKAGE)/* \
512 :     $(patsubst %,info/%, $(notdir $(INFO_FILES))) >> $(MANIFEST))
513 :     endif
514 : andreasj 1.17 ifneq ($(DATA_FILES),)
515 : steveb 1.11 @(cd $(STAGING); \
516 :     ls -1 $(patsubst %, etc/$(DATA_DEST)/%, $(notdir $(DATA_FILES))) \
517 :     >> $(MANIFEST))
518 :     endif
519 : andreasj 1.17 ifneq ($(DATA_1_FILES),)
520 : steveb 1.11 @(cd $(STAGING); \
521 :     ls -1 $(patsubst %, etc/$(DATA_1_DEST)/%, $(notdir $(DATA_1_FILES))) \
522 :     >> $(MANIFEST))
523 :     endif
524 : andreasj 1.17 ifneq ($(DATA_2_FILES),)
525 : steveb 1.11 @(cd $(STAGING); \
526 :     ls -1 $(patsubst %, etc/$(DATA_2_DEST)/%, $(notdir $(DATA_2_FILES))) \
527 :     >> $(MANIFEST))
528 :     endif
529 : andreasj 1.17 ifneq ($(DATA_3_FILES),)
530 : steveb 1.11 @(cd $(STAGING); \
531 :     ls -1 $(patsubst %, etc/$(DATA_3_DEST)/%, $(notdir $(DATA_3_FILES))) \
532 :     >> $(MANIFEST))
533 :     endif
534 : andreasj 1.17 ifneq ($(DATA_4_FILES),)
535 : steveb 1.11 @(cd $(STAGING); \
536 :     ls -1 $(patsubst %, etc/$(DATA_4_DEST)/%, $(notdir $(DATA_4_FILES))) \
537 :     >> $(MANIFEST))
538 :     endif
539 : andreasj 1.17 ifneq ($(DATA_5_FILES),)
540 : steveb 1.11 @(cd $(STAGING); \
541 :     ls -1 $(patsubst %, etc/$(DATA_5_DEST)/%, $(notdir $(DATA_5_FILES))) \
542 : steveb 1.16 >> $(MANIFEST))
543 :     endif
544 : andreasj 1.17 ifneq ($(DATA_6_FILES),)
545 : steveb 1.16 @(cd $(STAGING); \
546 :     ls -1 $(patsubst %, etc/$(DATA_6_DEST)/%, $(notdir $(DATA_6_FILES))) \
547 :     >> $(MANIFEST))
548 :     endif
549 : andreasj 1.17 ifneq ($(DATA_7_FILES),)
550 : steveb 1.16 @(cd $(STAGING); \
551 :     ls -1 $(patsubst %, etc/$(DATA_7_DEST)/%, $(notdir $(DATA_7_FILES))) \
552 :     >> $(MANIFEST))
553 :     endif
554 : andreasj 1.17 ifneq ($(DATA_8_FILES),)
555 : steveb 1.16 @(cd $(STAGING); \
556 :     ls -1 $(patsubst %, etc/$(DATA_8_DEST)/%, $(notdir $(DATA_8_FILES))) \
557 : michaels 1.20 >> $(MANIFEST))
558 :     endif
559 :     ifneq ($(DATA_9_FILES),)
560 :     @(cd $(STAGING); \
561 :     ls -1 $(patsubst %, etc/$(DATA_9_DEST)/%, $(notdir $(DATA_9_FILES))) \
562 :     >> $(MANIFEST))
563 :     endif
564 :     ifneq ($(DATA_10_FILES),)
565 :     @(cd $(STAGING); \
566 :     ls -1 $(patsubst %, etc/$(DATA_10_DEST)/%, $(notdir $(DATA_10_FILES))) \
567 :     >> $(MANIFEST))
568 :     endif
569 :     ifneq ($(DATA_11_FILES),)
570 :     @(cd $(STAGING); \
571 :     ls -1 $(patsubst %, etc/$(DATA_11_DEST)/%, $(notdir $(DATA_11_FILES))) \
572 :     >> $(MANIFEST))
573 :     endif
574 :     ifneq ($(DATA_12_FILES),)
575 :     @(cd $(STAGING); \
576 :     ls -1 $(patsubst %, etc/$(DATA_12_DEST)/%, $(notdir $(DATA_12_FILES))) \
577 :     >> $(MANIFEST))
578 :     endif
579 :     ifneq ($(DATA_13_FILES),)
580 :     @(cd $(STAGING); \
581 :     ls -1 $(patsubst %, etc/$(DATA_13_DEST)/%, $(notdir $(DATA_13_FILES))) \
582 :     >> $(MANIFEST))
583 :     endif
584 :     ifneq ($(DATA_14_FILES),)
585 :     @(cd $(STAGING); \
586 :     ls -1 $(patsubst %, etc/$(DATA_14_DEST)/%, $(notdir $(DATA_14_FILES))) \
587 :     >> $(MANIFEST))
588 :     endif
589 :     ifneq ($(DATA_15_FILES),)
590 :     @(cd $(STAGING); \
591 :     ls -1 $(patsubst %, etc/$(DATA_15_DEST)/%, $(notdir $(DATA_15_FILES))) \
592 :     >> $(MANIFEST))
593 :     endif
594 :     ifneq ($(DATA_16_FILES),)
595 :     @(cd $(STAGING); \
596 :     ls -1 $(patsubst %, etc/$(DATA_16_DEST)/%, $(notdir $(DATA_16_FILES))) \
597 :     >> $(MANIFEST))
598 :     endif
599 :     ifneq ($(DATA_17_FILES),)
600 :     @(cd $(STAGING); \
601 :     ls -1 $(patsubst %, etc/$(DATA_17_DEST)/%, $(notdir $(DATA_17_FILES))) \
602 :     >> $(MANIFEST))
603 :     endif
604 :     ifneq ($(DATA_18_FILES),)
605 :     @(cd $(STAGING); \
606 :     ls -1 $(patsubst %, etc/$(DATA_18_DEST)/%, $(notdir $(DATA_18_FILES))) \
607 :     >> $(MANIFEST))
608 :     endif
609 :     ifneq ($(DATA_19_FILES),)
610 :     @(cd $(STAGING); \
611 :     ls -1 $(patsubst %, etc/$(DATA_19_DEST)/%, $(notdir $(DATA_19_FILES))) \
612 :     >> $(MANIFEST))
613 :     endif
614 :     ifneq ($(DATA_20_FILES),)
615 :     @(cd $(STAGING); \
616 :     ls -1 $(patsubst %, etc/$(DATA_20_DEST)/%, $(notdir $(DATA_20_FILES))) \
617 :     >> $(MANIFEST))
618 :     endif
619 :     ifneq ($(DATA_21_FILES),)
620 :     @(cd $(STAGING); \
621 :     ls -1 $(patsubst %, etc/$(DATA_21_DEST)/%, $(notdir $(DATA_21_FILES))) \
622 :     >> $(MANIFEST))
623 :     endif
624 :     ifneq ($(DATA_22_FILES),)
625 :     @(cd $(STAGING); \
626 :     ls -1 $(patsubst %, etc/$(DATA_22_DEST)/%, $(notdir $(DATA_22_FILES))) \
627 :     >> $(MANIFEST))
628 :     endif
629 :     ifneq ($(DATA_23_FILES),)
630 :     @(cd $(STAGING); \
631 :     ls -1 $(patsubst %, etc/$(DATA_23_DEST)/%, $(notdir $(DATA_23_FILES))) \
632 :     >> $(MANIFEST))
633 :     endif
634 :     ifneq ($(DATA_24_FILES),)
635 :     @(cd $(STAGING); \
636 :     ls -1 $(patsubst %, etc/$(DATA_24_DEST)/%, $(notdir $(DATA_24_FILES))) \
637 :     >> $(MANIFEST))
638 :     endif
639 :     ifneq ($(DATA_25_FILES),)
640 :     @(cd $(STAGING); \
641 :     ls -1 $(patsubst %, etc/$(DATA_25_DEST)/%, $(notdir $(DATA_25_FILES))) \
642 :     >> $(MANIFEST))
643 :     endif
644 :     ifneq ($(DATA_26_FILES),)
645 :     @(cd $(STAGING); \
646 :     ls -1 $(patsubst %, etc/$(DATA_26_DEST)/%, $(notdir $(DATA_26_FILES))) \
647 : steveb 1.11 >> $(MANIFEST))
648 :     endif
649 : youngs 1.29 ifneq ($(DATA_27_FILES),)
650 :     @(cd $(STAGING); \
651 :     ls -1 $(patsubst %, etc/$(DATA_27_DEST)/%, $(notdir $(DATA_27_FILES))) \
652 :     >> $(MANIFEST))
653 :     endif
654 :     ifneq ($(DATA_28_FILES),)
655 :     @(cd $(STAGING); \
656 :     ls -1 $(patsubst %, etc/$(DATA_28_DEST)/%, $(notdir $(DATA_28_FILES))) \
657 :     >> $(MANIFEST))
658 :     endif
659 :     ifneq ($(DATA_29_FILES),)
660 :     @(cd $(STAGING); \
661 :     ls -1 $(patsubst %, etc/$(DATA_29_DEST)/%, $(notdir $(DATA_29_FILES))) \
662 :     >> $(MANIFEST))
663 :     endif
664 :     ifneq ($(DATA_30_FILES),)
665 :     @(cd $(STAGING); \
666 :     ls -1 $(patsubst %, etc/$(DATA_30_DEST)/%, $(notdir $(DATA_30_FILES))) \
667 :     >> $(MANIFEST))
668 :     endif
669 :     ifneq ($(DATA_31_FILES),)
670 :     @(cd $(STAGING); \
671 :     ls -1 $(patsubst %, etc/$(DATA_31_DEST)/%, $(notdir $(DATA_31_FILES))) \
672 :     >> $(MANIFEST))
673 :     endif
674 :     ifneq ($(DATA_32_FILES),)
675 :     @(cd $(STAGING); \
676 :     ls -1 $(patsubst %, etc/$(DATA_32_DEST)/%, $(notdir $(DATA_32_FILES))) \
677 :     >> $(MANIFEST))
678 :     endif
679 :     ifneq ($(DATA_33_FILES),)
680 :     @(cd $(STAGING); \
681 :     ls -1 $(patsubst %, etc/$(DATA_33_DEST)/%, $(notdir $(DATA_33_FILES))) \
682 :     >> $(MANIFEST))
683 :     endif
684 :     ifneq ($(DATA_34_FILES),)
685 :     @(cd $(STAGING); \
686 :     ls -1 $(patsubst %, etc/$(DATA_34_DEST)/%, $(notdir $(DATA_34_FILES))) \
687 :     >> $(MANIFEST))
688 :     endif
689 :     ifneq ($(DATA_35_FILES),)
690 :     @(cd $(STAGING); \
691 :     ls -1 $(patsubst %, etc/$(DATA_35_DEST)/%, $(notdir $(DATA_35_FILES))) \
692 :     >> $(MANIFEST))
693 :     endif
694 : andreasj 1.17 ifneq ($(LIBSRC_FILES),)
695 : steveb 1.11 @(cd $(STAGING); \
696 :     ls -1 $(patsubst %,lib-src/%, $(notdir $(LIBSRC_FILES))) >> $(MANIFEST))
697 :     endif
698 :    
699 : andreasj 1.17
700 : steveb 1.11 binkit-sourceonly: binkit-common
701 :    
702 :     binkit-sourceinfo: binkit-common
703 :    
704 :     binkit-sourcedata: binkit-common
705 :    
706 :     binkit-sourcedatainfo: binkit-common
707 : andreasj 1.17
708 :     # Local Variables:
709 :     # mode: makefile
710 :     # End:

root@alioth.debian.org
ViewVC Help
Powered by ViewVC 1.0.0  
Powered By FusionForge
Show source