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

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