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.20 - (view) (download)

1 : steve 1.1 # Configuration constants for building XEmacs packages
2 :     # 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 : adrian 1.19 # APA: XEmacs native NT currently (2000-06-23) has shortcomings we
38 :     # need to temporarily work around.
39 :     XEMACS_NATIVE_NT = \
40 :     $(shell $(XEMACS) $(VANILLA) -batch \
41 :     -eval "(princ (eq system-type 'windows-nt))")
42 :    
43 : steveb 1.11 # Only in rare cases will you need to override this
44 : andreasj 1.17 ifeq ($(AUTOLOAD_PATH),)
45 : steveb 1.11 AUTOLOAD_PATH = .
46 :     endif
47 :    
48 : steveb 1.9 # Override or add to this in the package Makefile if necessary
49 : steveb 1.11 GENERATED = $(AUTOLOAD_PATH)/auto-autoloads.elc
50 : steveb 1.9
51 :     # SOURCE_FILES_TO_COPY = *.el*
52 : steveb 1.11 SOURCE_FILES_TO_COPY = $(ELCS) $(ELCS:.elc=.el) \
53 :     $(MULE_ELCS) $(MULE_ELCS:.elc=.el) \
54 : steveb 1.12 $(GENERATED) $(GENERATED:.elc=.el) $(AUTOLOAD_PATH)/_pkg.el
55 : steveb 1.8
56 : steve 1.1 # Non configurable portion follows
57 :    
58 : steveb 1.9 MANIFEST = pkginfo/MANIFEST.$(PACKAGE)
59 : andreasj 1.17 # This might be a sublevel PWD; that is intentional. Use
60 :     # ${XEMACS_PACKAGES_BASE} for the toplevel directory.
61 :     PWD := $(shell pwd)
62 : steveb 1.9
63 : steve 1.1 .SUFFIXES:
64 :     .SUFFIXES: .info .texi .dvi .elc .el
65 :    
66 :     %.info: %.texi
67 :     $(MAKEINFO) $(MAKEINFO_FLAGS) -o $@ $<
68 :    
69 : adrian 1.19 # APA: XEmacs native NT currently (2000-06-23) has shortcomings we
70 :     # need to temporarily work around.
71 :     ifeq ($(XEMACS_NATIVE_NT),t)
72 :     # APA: Convert UNIX-path (containing output of `pwd') to windows-path,
73 :     # so that XEmacs native NT can handle it.
74 :     PACKAGE_COMPILE = \
75 :     "$(shell cygpath --windows $(XEMACS_PACKAGES_BASE)/package-compile.el)"
76 :     else
77 :     PACKAGE_COMPILE = $(XEMACS_PACKAGES_BASE)/package-compile.el
78 :     endif
79 :    
80 : steve 1.1 %.elc: %.el
81 : adrian 1.19 $(XEMACS) -no-autoloads -batch $(PRELOADS) -l $(PACKAGE_COMPILE) -- $(REQUIRES) -- $<
82 : steve 1.1
83 : steveb 1.12 all:: $(AUTOLOAD_PATH)/_pkg.el
84 : steveb 1.13
85 : steve 1.1 dist:: srckit binkit package-info
86 :    
87 :     clean::
88 : steveb 1.11 rm -f $(ELCS) $(PACKAGE).info* $(AUTOLOAD_PATH)/auto-autoloads.elc \
89 :     $(AUTOLOAD_PATH)/custom-load.elc
90 : steve 1.1
91 :     mostlyclean: clean
92 :    
93 :     extraclean: clean
94 :    
95 :     distclean: extraclean
96 : steveb 1.11 rm -f core *~ $(AUTOLOAD_PATH)/auto-autoloads.el \
97 : steveb 1.12 $(AUTOLOAD_PATH)/custom-load.el package-info \
98 :     $(AUTOLOAD_PATH)/_pkg.el
99 : steve 1.1
100 : adrian 1.19 # APA: XEmacs native NT currently (2000-06-23) has shortcomings we
101 :     # need to temporarily work around.
102 :     ifeq ($(XEMACS_NATIVE_NT),t)
103 :     # APA: XEmacs native NT currently needs this quoting of
104 :     # command-line-rguments.
105 :     AUTOLOAD_PACKAGE_NAME = (setq autoload-package-name \\\"$(PACKAGE)\\\")
106 :     else
107 :     AUTOLOAD_PACKAGE_NAME = (setq autoload-package-name \"$(PACKAGE)\")
108 :     endif
109 :    
110 : steveb 1.11 $(AUTOLOAD_PATH)/auto-autoloads.el : $(ELCS:.elc=.el) $(AUTOLOAD_PATH)/_pkg.el
111 : steve 1.1 $(XEMACS) $(VANILLA) -batch \
112 : adrian 1.19 -eval "$(AUTOLOAD_PACKAGE_NAME)" \
113 : steveb 1.11 -l autoload -f batch-update-directory $(AUTOLOAD_PATH)
114 :     @rm -f $(AUTOLOAD_PATH)/auto-autoloads.el~
115 : steve 1.1
116 : steveb 1.11 $(AUTOLOAD_PATH)/custom-load.el : $(ELCS:.elc=.el)
117 : steve 1.1 $(XEMACS) $(VANILLA) -batch -l cus-dep \
118 : steveb 1.11 -f Custom-make-dependencies $(AUTOLOAD_PATH)
119 : steve 1.1
120 : andreasj 1.17 pkg_tar = $(STAGING)/$(PACKAGE)-$(VERSION)-pkg.tar
121 :    
122 : adrian 1.19 # APA: XEmacs native NT currently (2000-06-23) has shortcomings we
123 :     # need to temporarily work around.
124 :     ifeq ($(XEMACS_NATIVE_NT),t)
125 :     # APA: Convert UNIX-path (containing output of `pwd') to windows-path,
126 :     # so that XEmacs native NT can handle it.
127 :     PKG_TAR_GZ = "$(shell cygpath --windows $(pkg_tar)).gz"
128 :     PACKAGE_INFO = "$(shell cygpath --windows $(STAGING)/package-index)"
129 :     else
130 :     PKG_TAR_GZ = $(pkg_tar).gz
131 :     PACKAGE_INFO = $(STAGING)/package-index
132 :     endif
133 :    
134 : andreasj 1.17 # Make the $(pkg_tar).gz first, then the $(pkg_tar).bz2
135 : steveb 1.12 package-info : package-info.in Makefile $(AUTOLOAD_PATH)/_pkg.el \
136 : andreasj 1.17 $(pkg_tar).gz $(pkg_tar).bz2
137 : steve 1.1 $(XEMACS) $(VANILLA) -batch \
138 :     -l package-info.el -f batch-update-package-info \
139 : adrian 1.19 '$(VERSION)' $(PKG_TAR_GZ) \
140 : steve 1.4 '$(REQUIRES)' \
141 :     '$(AUTHOR_VERSION)' '$(MAINTAINER)' '$(CATEGORY)'
142 : steveb 1.11 $(XEMACS) $(VANILLA) -batch \
143 :     -l ../../hack-package-index.el -f batch-hack-package-index \
144 : adrian 1.19 $(PACKAGE) package-info $(PACKAGE_INFO)
145 : steveb 1.11
146 : andreasj 1.17 ifeq ($(BUILD_TARS),t)
147 :     $(pkg_tar): $(STAGING)/$(MANIFEST)
148 :     @(cd $(STAGING); \
149 :     rm -f $(pkg_tar)*)
150 :    
151 :     (cd $(STAGING); \
152 :     $(TAR) $(EXCLUDES) -cf $(pkg_tar) \
153 :     `cat $(MANIFEST)`)
154 :    
155 :    
156 :     $(pkg_tar).gz: $(pkg_tar)
157 :     ifneq ($(BZIP2),) # need to leave behind the .tar for bzip2 to find.
158 :     (cd $(STAGING); \
159 :     gzip -cv9 $(pkg_tar) > $(pkg_tar).gz;)
160 :     else # BZIP2 is ''
161 :     (cd $(STAGING); \
162 :     gzip -v9 $(pkg_tar);)
163 :     endif
164 :    
165 :     ifneq ($(BZIP2),)
166 :     $(pkg_tar).bz2: $(pkg_tar)
167 :     (cd $(STAGING); \
168 :     $(BZIP2) -v9 $(pkg_tar);)
169 :     else # Don't build a .tar.bz2
170 :     $(pkg_tar).bz2:
171 :    
172 :     .PHONY: $(pkg_tar).bz2
173 :     endif # BZIP2 ?
174 :    
175 :     else # when BUILD_TARS is ''
176 :     # Touch the file so the package-index can be generated
177 :     $(pkg_tar) $(pkg_tar).gz $(pkg_tar).bz2 :
178 :     touch $@
179 :     endif # BUILD_TARS ?
180 :    
181 : steve 1.1
182 : steveb 1.12 $(AUTOLOAD_PATH)/_pkg.el: Makefile
183 :     @echo Creating $(AUTOLOAD_PATH)/_pkg.el
184 :     @echo ";;;###autoload" > $(AUTOLOAD_PATH)/_pkg.el
185 :     @echo "(package-provide '$(PACKAGE)" >> $(AUTOLOAD_PATH)/_pkg.el
186 :     @echo " :version $(VERSION)" >> $(AUTOLOAD_PATH)/_pkg.el
187 :     @echo " :type '$(PKG_TYPE))" >> $(AUTOLOAD_PATH)/_pkg.el
188 : steve 1.1
189 :     .PHONY: srckit-std
190 :     .PHONY: binkit-sourceonly binkit-sourceinfo binkit-sourcedata binkit-sourcedatainfo
191 : steveb 1.12 .PHONY: bindist install autoloads
192 : steve 1.3
193 :     bindist: binkit package-info
194 : steve 1.1
195 : steveb 1.11 install: binkit
196 :    
197 :     autoloads: $(AUTOLOAD_PATH)/auto-autoloads.el
198 :    
199 : andreasj 1.17 src_tar = $(STAGING)/$(PACKAGE)-$(VERSION)-src.tar
200 :    
201 : steve 1.1 srckit-std: distclean
202 :     if [ ! -d $(STAGING) ]; then mkdir -p $(STAGING); fi
203 : andreasj 1.17
204 :     (cd ../..; \
205 :     rm -f $(src_tar)*; \
206 :     $(TAR) $(EXCLUDES) -cf $(src_tar) $(CATEGORY)/$(PACKAGE))
207 :    
208 :     gzip -cv9 $(src_tar) > $(src_tar).gz
209 :    
210 :     ifneq ($(BZIP2),)
211 :     $(BZIP2) -v9 $(src_tar);
212 :     endif
213 :     rm -f $(src_tar)
214 :    
215 : steve 1.1
216 : steveb 1.11 binkit-common: all
217 : andreasj 1.17 (if test -d $(STAGING); then \
218 :     cd $(STAGING); \
219 :     if test -f $(MANIFEST); then \
220 : steveb 1.11 rm -rf `cat $(MANIFEST)`; \
221 : andreasj 1.17 fi; \
222 : steveb 1.11 fi;)
223 : andreasj 1.17 #ifneq ($(ELCS),)
224 : steveb 1.11 @-mkdir -p $(STAGING)/lisp/$(PACKAGE)
225 : steveb 1.15 #endif
226 : andreasj 1.17 ifneq ($(ELCS_1),)
227 : steveb 1.11 @-mkdir -p $(STAGING)/lisp/$(ELCS_1_DEST)
228 :     endif
229 : andreasj 1.17 ifneq ($(INFO_FILES),)
230 : steveb 1.11 @-mkdir -p $(STAGING)/info
231 :     @-mkdir -p $(STAGING)/man/$(PACKAGE)
232 :     endif
233 : andreasj 1.17 ifneq ($(DATA_FILES),)
234 : steveb 1.11 @-mkdir -p $(STAGING)/etc/$(DATA_DEST)
235 :     endif
236 : andreasj 1.17 ifneq ($(DATA_1_FILES),)
237 : steveb 1.11 @-mkdir -p $(STAGING)/etc/$(DATA_1_DEST)
238 :     endif
239 : andreasj 1.17 ifneq ($(DATA_2_FILES),)
240 : steveb 1.11 @-mkdir -p $(STAGING)/etc/$(DATA_2_DEST)
241 :     endif
242 : andreasj 1.17 ifneq ($(DATA_3_FILES),)
243 : steveb 1.11 @-mkdir -p $(STAGING)/etc/$(DATA_3_DEST)
244 :     endif
245 : andreasj 1.17 ifneq ($(DATA_4_FILES),)
246 : steveb 1.11 @-mkdir -p $(STAGING)/etc/$(DATA_4_DEST)
247 :     endif
248 : andreasj 1.17 ifneq ($(DATA_5_FILES),)
249 : steveb 1.11 @-mkdir -p $(STAGING)/etc/$(DATA_5_DEST)
250 :     endif
251 : andreasj 1.17 ifneq ($(DATA_6_FILES),)
252 : steveb 1.16 @-mkdir -p $(STAGING)/etc/$(DATA_6_DEST)
253 :     endif
254 : andreasj 1.17 ifneq ($(DATA_7_FILES),)
255 : steveb 1.16 @-mkdir -p $(STAGING)/etc/$(DATA_7_DEST)
256 :     endif
257 : andreasj 1.17 ifneq ($(DATA_8_FILES),)
258 : steveb 1.16 @-mkdir -p $(STAGING)/etc/$(DATA_8_DEST)
259 :     endif
260 : michaels 1.20 ifneq ($(DATA_9_FILES),)
261 :     @-mkdir -p $(STAGING)/etc/$(DATA_9_DEST)
262 :     endif
263 :     ifneq ($(DATA_10_FILES),)
264 :     @-mkdir -p $(STAGING)/etc/$(DATA_10_DEST)
265 :     endif
266 :     ifneq ($(DATA_11_FILES),)
267 :     @-mkdir -p $(STAGING)/etc/$(DATA_11_DEST)
268 :     endif
269 :     ifneq ($(DATA_12_FILES),)
270 :     @-mkdir -p $(STAGING)/etc/$(DATA_12_DEST)
271 :     endif
272 :     ifneq ($(DATA_13_FILES),)
273 :     @-mkdir -p $(STAGING)/etc/$(DATA_13_DEST)
274 :     endif
275 :     ifneq ($(DATA_14_FILES),)
276 :     @-mkdir -p $(STAGING)/etc/$(DATA_14_DEST)
277 :     endif
278 :     ifneq ($(DATA_15_FILES),)
279 :     @-mkdir -p $(STAGING)/etc/$(DATA_15_DEST)
280 :     endif
281 :     ifneq ($(DATA_16_FILES),)
282 :     @-mkdir -p $(STAGING)/etc/$(DATA_16_DEST)
283 :     endif
284 :     ifneq ($(DATA_17_FILES),)
285 :     @-mkdir -p $(STAGING)/etc/$(DATA_17_DEST)
286 :     endif
287 :     ifneq ($(DATA_18_FILES),)
288 :     @-mkdir -p $(STAGING)/etc/$(DATA_18_DEST)
289 :     endif
290 :     ifneq ($(DATA_19_FILES),)
291 :     @-mkdir -p $(STAGING)/etc/$(DATA_19_DEST)
292 :     endif
293 :     ifneq ($(DATA_20_FILES),)
294 :     @-mkdir -p $(STAGING)/etc/$(DATA_20_DEST)
295 :     endif
296 :     ifneq ($(DATA_21_FILES),)
297 :     @-mkdir -p $(STAGING)/etc/$(DATA_21_DEST)
298 :     endif
299 :     ifneq ($(DATA_22_FILES),)
300 :     @-mkdir -p $(STAGING)/etc/$(DATA_22_DEST)
301 :     endif
302 :     ifneq ($(DATA_23_FILES),)
303 :     @-mkdir -p $(STAGING)/etc/$(DATA_23_DEST)
304 :     endif
305 :     ifneq ($(DATA_24_FILES),)
306 :     @-mkdir -p $(STAGING)/etc/$(DATA_24_DEST)
307 :     endif
308 :     ifneq ($(DATA_25_FILES),)
309 :     @-mkdir -p $(STAGING)/etc/$(DATA_25_DEST)
310 :     endif
311 :     ifneq ($(DATA_26_FILES),)
312 :     @-mkdir -p $(STAGING)/etc/$(DATA_26_DEST)
313 :     endif
314 : andreasj 1.17 ifneq ($(LIBSRC_FILES),)
315 : steveb 1.11 @-mkdir -p $(STAGING)/lib-src
316 :     endif
317 :     @-mkdir -p $(STAGING)/pkginfo
318 : andreasj 1.17 ifneq ($(ELCS),)
319 :     $(RCOPY) $(addprefix $(PWD)/, ChangeLog $(SOURCE_FILES_TO_COPY) $(EXTRA_SOURCES)) \
320 :     $(STAGING)/lisp/$(PACKAGE)
321 :     endif
322 :     ifneq ($(ELCS_1),)
323 :     $(RCOPY) $(addprefix $(PWD)/, $(ELCS_1_FILES)) $(STAGING)/lisp/$(ELCS_1_DEST)
324 : steveb 1.11 endif
325 : andreasj 1.17 ifneq ($(INFO_FILES),)
326 :     $(RCOPY) $(addprefix $(PWD)/, $(INFO_FILES)) $(STAGING)/info
327 :     $(RCOPY) $(addprefix $(PWD)/, $(TEXI_FILES)) $(STAGING)/man/$(PACKAGE)
328 : steveb 1.11 endif
329 : andreasj 1.17 ifneq ($(DATA_FILES),)
330 :     $(RCOPY) $(addprefix $(PWD)/, $(DATA_FILES)) $(STAGING)/etc/$(DATA_DEST)
331 : steveb 1.11 endif
332 : andreasj 1.17 ifneq ($(DATA_1_FILES),)
333 :     $(RCOPY) $(addprefix $(PWD)/, $(DATA_1_FILES)) $(STAGING)/etc/$(DATA_1_DEST)
334 : steveb 1.11 endif
335 : andreasj 1.17 ifneq ($(DATA_2_FILES),)
336 :     $(RCOPY) $(addprefix $(PWD)/, $(DATA_2_FILES)) $(STAGING)/etc/$(DATA_2_DEST)
337 : steveb 1.11 endif
338 : andreasj 1.17 ifneq ($(DATA_3_FILES),)
339 :     $(RCOPY) $(addprefix $(PWD)/, $(DATA_3_FILES)) $(STAGING)/etc/$(DATA_3_DEST)
340 : steveb 1.11 endif
341 : andreasj 1.17 ifneq ($(DATA_4_FILES),)
342 :     $(RCOPY) $(addprefix $(PWD)/, $(DATA_4_FILES)) $(STAGING)/etc/$(DATA_4_DEST)
343 : steveb 1.11 endif
344 : andreasj 1.17 ifneq ($(DATA_5_FILES),)
345 :     $(RCOPY) $(addprefix $(PWD)/, $(DATA_5_FILES)) $(STAGING)/etc/$(DATA_5_DEST)
346 : steveb 1.11 endif
347 : andreasj 1.17 ifneq ($(DATA_6_FILES),)
348 :     $(RCOPY) $(addprefix $(PWD)/, $(DATA_6_FILES)) $(STAGING)/etc/$(DATA_6_DEST)
349 : steveb 1.16 endif
350 : andreasj 1.17 ifneq ($(DATA_7_FILES),)
351 :     $(RCOPY) $(addprefix $(PWD)/, $(DATA_7_FILES)) $(STAGING)/etc/$(DATA_7_DEST)
352 : steveb 1.16 endif
353 : andreasj 1.17 ifneq ($(DATA_8_FILES),)
354 :     $(RCOPY) $(addprefix $(PWD)/, $(DATA_8_FILES)) $(STAGING)/etc/$(DATA_8_DEST)
355 : steveb 1.16 endif
356 : michaels 1.20 ifneq ($(DATA_9_FILES),)
357 :     $(RCOPY) $(addprefix $(PWD)/, $(DATA_9_FILES)) $(STAGING)/etc/$(DATA_9_DEST)
358 :     endif
359 :     ifneq ($(DATA_10_FILES),)
360 :     $(RCOPY) $(addprefix $(PWD)/, $(DATA_10_FILES)) $(STAGING)/etc/$(DATA_10_DEST)
361 :     endif
362 :     ifneq ($(DATA_11_FILES),)
363 :     $(RCOPY) $(addprefix $(PWD)/, $(DATA_11_FILES)) $(STAGING)/etc/$(DATA_11_DEST)
364 :     endif
365 :     ifneq ($(DATA_12_FILES),)
366 :     $(RCOPY) $(addprefix $(PWD)/, $(DATA_12_FILES)) $(STAGING)/etc/$(DATA_12_DEST)
367 :     endif
368 :     ifneq ($(DATA_13_FILES),)
369 :     $(RCOPY) $(addprefix $(PWD)/, $(DATA_13_FILES)) $(STAGING)/etc/$(DATA_13_DEST)
370 :     endif
371 :     ifneq ($(DATA_14_FILES),)
372 :     $(RCOPY) $(addprefix $(PWD)/, $(DATA_14_FILES)) $(STAGING)/etc/$(DATA_14_DEST)
373 :     endif
374 :     ifneq ($(DATA_15_FILES),)
375 :     $(RCOPY) $(addprefix $(PWD)/, $(DATA_15_FILES)) $(STAGING)/etc/$(DATA_15_DEST)
376 :     endif
377 :     ifneq ($(DATA_16_FILES),)
378 :     $(RCOPY) $(addprefix $(PWD)/, $(DATA_16_FILES)) $(STAGING)/etc/$(DATA_16_DEST)
379 :     endif
380 :     ifneq ($(DATA_17_FILES),)
381 :     $(RCOPY) $(addprefix $(PWD)/, $(DATA_17_FILES)) $(STAGING)/etc/$(DATA_17_DEST)
382 :     endif
383 :     ifneq ($(DATA_18_FILES),)
384 :     $(RCOPY) $(addprefix $(PWD)/, $(DATA_18_FILES)) $(STAGING)/etc/$(DATA_18_DEST)
385 :     endif
386 :     ifneq ($(DATA_19_FILES),)
387 :     $(RCOPY) $(addprefix $(PWD)/, $(DATA_19_FILES)) $(STAGING)/etc/$(DATA_19_DEST)
388 :     endif
389 :     ifneq ($(DATA_20_FILES),)
390 :     $(RCOPY) $(addprefix $(PWD)/, $(DATA_20_FILES)) $(STAGING)/etc/$(DATA_20_DEST)
391 :     endif
392 :     ifneq ($(DATA_21_FILES),)
393 :     $(RCOPY) $(addprefix $(PWD)/, $(DATA_21_FILES)) $(STAGING)/etc/$(DATA_21_DEST)
394 :     endif
395 :     ifneq ($(DATA_22_FILES),)
396 :     $(RCOPY) $(addprefix $(PWD)/, $(DATA_22_FILES)) $(STAGING)/etc/$(DATA_22_DEST)
397 :     endif
398 :     ifneq ($(DATA_23_FILES),)
399 :     $(RCOPY) $(addprefix $(PWD)/, $(DATA_23_FILES)) $(STAGING)/etc/$(DATA_23_DEST)
400 :     endif
401 :     ifneq ($(DATA_24_FILES),)
402 :     $(RCOPY) $(addprefix $(PWD)/, $(DATA_24_FILES)) $(STAGING)/etc/$(DATA_24_DEST)
403 :     endif
404 :     ifneq ($(DATA_25_FILES),)
405 :     $(RCOPY) $(addprefix $(PWD)/, $(DATA_25_FILES)) $(STAGING)/etc/$(DATA_25_DEST)
406 :     endif
407 :     ifneq ($(DATA_26_FILES),)
408 :     $(RCOPY) $(addprefix $(PWD)/, $(DATA_26_FILES)) $(STAGING)/etc/$(DATA_26_DEST)
409 :     endif
410 : andreasj 1.17 ifneq ($(LIBSRC_FILES),)
411 :     $(RCOPY) $(addprefix $(PWD)/, $(LIBSRC_FILES)) $(STAGING)/lib-src
412 : steveb 1.11 endif
413 : steve 1.1 (cd $(STAGING); \
414 : steveb 1.11 ls -1 $(MANIFEST) > $(MANIFEST))
415 : andreasj 1.18 ifneq ($(ELCS),)
416 : steveb 1.11 @(cd $(STAGING); \
417 :     ls -1 lisp/$(PACKAGE)/ChangeLog \
418 :     $(patsubst %, lisp/$(PACKAGE)/%, $(notdir $(SOURCE_FILES_TO_COPY))) \
419 :     $(patsubst %, lisp/$(PACKAGE)/%, $(notdir $(EXTRA_SOURCES))) \
420 :     >> $(MANIFEST))
421 : andreasj 1.18 endif
422 : andreasj 1.17 ifneq ($(ELCS_1),)
423 : steveb 1.11 @(cd $(STAGING); \
424 :     ls -1 $(patsubst %, lisp/$(ELCS_1_DEST)/%, $(notdir $(ELCS_1_FILES))) \
425 :     >> $(MANIFEST))
426 :     endif
427 : andreasj 1.17 ifneq ($(INFO_FILES),)
428 : steveb 1.11 @(cd $(STAGING); \
429 :     ls -1 man/$(PACKAGE)/* \
430 :     $(patsubst %,info/%, $(notdir $(INFO_FILES))) >> $(MANIFEST))
431 :     endif
432 : andreasj 1.17 ifneq ($(DATA_FILES),)
433 : steveb 1.11 @(cd $(STAGING); \
434 :     ls -1 $(patsubst %, etc/$(DATA_DEST)/%, $(notdir $(DATA_FILES))) \
435 :     >> $(MANIFEST))
436 :     endif
437 : andreasj 1.17 ifneq ($(DATA_1_FILES),)
438 : steveb 1.11 @(cd $(STAGING); \
439 :     ls -1 $(patsubst %, etc/$(DATA_1_DEST)/%, $(notdir $(DATA_1_FILES))) \
440 :     >> $(MANIFEST))
441 :     endif
442 : andreasj 1.17 ifneq ($(DATA_2_FILES),)
443 : steveb 1.11 @(cd $(STAGING); \
444 :     ls -1 $(patsubst %, etc/$(DATA_2_DEST)/%, $(notdir $(DATA_2_FILES))) \
445 :     >> $(MANIFEST))
446 :     endif
447 : andreasj 1.17 ifneq ($(DATA_3_FILES),)
448 : steveb 1.11 @(cd $(STAGING); \
449 :     ls -1 $(patsubst %, etc/$(DATA_3_DEST)/%, $(notdir $(DATA_3_FILES))) \
450 :     >> $(MANIFEST))
451 :     endif
452 : andreasj 1.17 ifneq ($(DATA_4_FILES),)
453 : steveb 1.11 @(cd $(STAGING); \
454 :     ls -1 $(patsubst %, etc/$(DATA_4_DEST)/%, $(notdir $(DATA_4_FILES))) \
455 :     >> $(MANIFEST))
456 :     endif
457 : andreasj 1.17 ifneq ($(DATA_5_FILES),)
458 : steveb 1.11 @(cd $(STAGING); \
459 :     ls -1 $(patsubst %, etc/$(DATA_5_DEST)/%, $(notdir $(DATA_5_FILES))) \
460 : steveb 1.16 >> $(MANIFEST))
461 :     endif
462 : andreasj 1.17 ifneq ($(DATA_6_FILES),)
463 : steveb 1.16 @(cd $(STAGING); \
464 :     ls -1 $(patsubst %, etc/$(DATA_6_DEST)/%, $(notdir $(DATA_6_FILES))) \
465 :     >> $(MANIFEST))
466 :     endif
467 : andreasj 1.17 ifneq ($(DATA_7_FILES),)
468 : steveb 1.16 @(cd $(STAGING); \
469 :     ls -1 $(patsubst %, etc/$(DATA_7_DEST)/%, $(notdir $(DATA_7_FILES))) \
470 :     >> $(MANIFEST))
471 :     endif
472 : andreasj 1.17 ifneq ($(DATA_8_FILES),)
473 : steveb 1.16 @(cd $(STAGING); \
474 :     ls -1 $(patsubst %, etc/$(DATA_8_DEST)/%, $(notdir $(DATA_8_FILES))) \
475 : michaels 1.20 >> $(MANIFEST))
476 :     endif
477 :     ifneq ($(DATA_9_FILES),)
478 :     @(cd $(STAGING); \
479 :     ls -1 $(patsubst %, etc/$(DATA_9_DEST)/%, $(notdir $(DATA_9_FILES))) \
480 :     >> $(MANIFEST))
481 :     endif
482 :     ifneq ($(DATA_10_FILES),)
483 :     @(cd $(STAGING); \
484 :     ls -1 $(patsubst %, etc/$(DATA_10_DEST)/%, $(notdir $(DATA_10_FILES))) \
485 :     >> $(MANIFEST))
486 :     endif
487 :     ifneq ($(DATA_11_FILES),)
488 :     @(cd $(STAGING); \
489 :     ls -1 $(patsubst %, etc/$(DATA_11_DEST)/%, $(notdir $(DATA_11_FILES))) \
490 :     >> $(MANIFEST))
491 :     endif
492 :     ifneq ($(DATA_12_FILES),)
493 :     @(cd $(STAGING); \
494 :     ls -1 $(patsubst %, etc/$(DATA_12_DEST)/%, $(notdir $(DATA_12_FILES))) \
495 :     >> $(MANIFEST))
496 :     endif
497 :     ifneq ($(DATA_13_FILES),)
498 :     @(cd $(STAGING); \
499 :     ls -1 $(patsubst %, etc/$(DATA_13_DEST)/%, $(notdir $(DATA_13_FILES))) \
500 :     >> $(MANIFEST))
501 :     endif
502 :     ifneq ($(DATA_14_FILES),)
503 :     @(cd $(STAGING); \
504 :     ls -1 $(patsubst %, etc/$(DATA_14_DEST)/%, $(notdir $(DATA_14_FILES))) \
505 :     >> $(MANIFEST))
506 :     endif
507 :     ifneq ($(DATA_15_FILES),)
508 :     @(cd $(STAGING); \
509 :     ls -1 $(patsubst %, etc/$(DATA_15_DEST)/%, $(notdir $(DATA_15_FILES))) \
510 :     >> $(MANIFEST))
511 :     endif
512 :     ifneq ($(DATA_16_FILES),)
513 :     @(cd $(STAGING); \
514 :     ls -1 $(patsubst %, etc/$(DATA_16_DEST)/%, $(notdir $(DATA_16_FILES))) \
515 :     >> $(MANIFEST))
516 :     endif
517 :     ifneq ($(DATA_17_FILES),)
518 :     @(cd $(STAGING); \
519 :     ls -1 $(patsubst %, etc/$(DATA_17_DEST)/%, $(notdir $(DATA_17_FILES))) \
520 :     >> $(MANIFEST))
521 :     endif
522 :     ifneq ($(DATA_18_FILES),)
523 :     @(cd $(STAGING); \
524 :     ls -1 $(patsubst %, etc/$(DATA_18_DEST)/%, $(notdir $(DATA_18_FILES))) \
525 :     >> $(MANIFEST))
526 :     endif
527 :     ifneq ($(DATA_19_FILES),)
528 :     @(cd $(STAGING); \
529 :     ls -1 $(patsubst %, etc/$(DATA_19_DEST)/%, $(notdir $(DATA_19_FILES))) \
530 :     >> $(MANIFEST))
531 :     endif
532 :     ifneq ($(DATA_20_FILES),)
533 :     @(cd $(STAGING); \
534 :     ls -1 $(patsubst %, etc/$(DATA_20_DEST)/%, $(notdir $(DATA_20_FILES))) \
535 :     >> $(MANIFEST))
536 :     endif
537 :     ifneq ($(DATA_21_FILES),)
538 :     @(cd $(STAGING); \
539 :     ls -1 $(patsubst %, etc/$(DATA_21_DEST)/%, $(notdir $(DATA_21_FILES))) \
540 :     >> $(MANIFEST))
541 :     endif
542 :     ifneq ($(DATA_22_FILES),)
543 :     @(cd $(STAGING); \
544 :     ls -1 $(patsubst %, etc/$(DATA_22_DEST)/%, $(notdir $(DATA_22_FILES))) \
545 :     >> $(MANIFEST))
546 :     endif
547 :     ifneq ($(DATA_23_FILES),)
548 :     @(cd $(STAGING); \
549 :     ls -1 $(patsubst %, etc/$(DATA_23_DEST)/%, $(notdir $(DATA_23_FILES))) \
550 :     >> $(MANIFEST))
551 :     endif
552 :     ifneq ($(DATA_24_FILES),)
553 :     @(cd $(STAGING); \
554 :     ls -1 $(patsubst %, etc/$(DATA_24_DEST)/%, $(notdir $(DATA_24_FILES))) \
555 :     >> $(MANIFEST))
556 :     endif
557 :     ifneq ($(DATA_25_FILES),)
558 :     @(cd $(STAGING); \
559 :     ls -1 $(patsubst %, etc/$(DATA_25_DEST)/%, $(notdir $(DATA_25_FILES))) \
560 :     >> $(MANIFEST))
561 :     endif
562 :     ifneq ($(DATA_26_FILES),)
563 :     @(cd $(STAGING); \
564 :     ls -1 $(patsubst %, etc/$(DATA_26_DEST)/%, $(notdir $(DATA_26_FILES))) \
565 : steveb 1.11 >> $(MANIFEST))
566 :     endif
567 : andreasj 1.17
568 :     ifneq ($(LIBSRC_FILES),)
569 : steveb 1.11 @(cd $(STAGING); \
570 :     ls -1 $(patsubst %,lib-src/%, $(notdir $(LIBSRC_FILES))) >> $(MANIFEST))
571 :     endif
572 :    
573 : andreasj 1.17
574 : steveb 1.11 binkit-sourceonly: binkit-common
575 :    
576 :     binkit-sourceinfo: binkit-common
577 :    
578 :     binkit-sourcedata: binkit-common
579 :    
580 :     binkit-sourcedatainfo: binkit-common
581 : andreasj 1.17
582 :     # Local Variables:
583 :     # mode: makefile
584 :     # End:

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