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

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