comparison Makefile.in.in @ 430:a5df635868b2 r21-2-23

Import from CVS: tag r21-2-23
author cvs
date Mon, 13 Aug 2007 11:29:08 +0200
parents 43177a4f3daf
children abe6d1db359e
comparison
equal deleted inserted replaced
429:8305706cbb93 430:a5df635868b2
63 LANG = C 63 LANG = C
64 LC_ALL = C 64 LC_ALL = C
65 RM = rm -f 65 RM = rm -f
66 MAKEPATH=./lib-src/make-path 66 MAKEPATH=./lib-src/make-path
67 pwd = /bin/pwd 67 pwd = /bin/pwd
68 TAR = tar
68 69
69 ## ==================== Things `configure' Might Edit ==================== 70 ## ==================== Things `configure' Might Edit ====================
70 71
71 CC=@CC@ 72 CC=@CC@
72 CPP=@CPP@ 73 CPP=@CPP@
258 259
259 .NO_PARALLEL: ${GENERATED_HEADERS} ${MAKE_SUBDIR} dump-elcs 260 .NO_PARALLEL: ${GENERATED_HEADERS} ${MAKE_SUBDIR} dump-elcs
260 .PHONY: ${SUBDIR} all beta all-elc all-elcs dump-elc dump-elcs autoloads finder 261 .PHONY: ${SUBDIR} all beta all-elc all-elcs dump-elc dump-elcs autoloads finder
261 262
262 ## Convenience target for XEmacs beta testers 263 ## Convenience target for XEmacs beta testers
263 beta: clean all-elc finder 264 beta: clean all-elc finder info
264 265
265 ## Convenience target for XEmacs maintainers 266 ## Convenience target for XEmacs maintainers
266 ## This would run `make-xemacsdist' if I were really confident that everything 267 ## This would run `make-xemacsdist' if I were really confident that everything
267 ## was turnkey. 268 ## was turnkey.
268 dist: all-elc info 269 dist: all-elc info
458 dest=$$1 ; shift ; \ 459 dest=$$1 ; shift ; \
459 test -d $${dir} \ 460 test -d $${dir} \
460 -a "`(cd $${dir} && $(pwd))`" != \ 461 -a "`(cd $${dir} && $(pwd))`" != \
461 "`(cd $${dest} && $(pwd))`" \ 462 "`(cd $${dest} && $(pwd))`" \
462 && (echo "Copying $${dir}..." ; \ 463 && (echo "Copying $${dir}..." ; \
463 (cd $${dir} && tar -cf - . ) | \ 464 (cd $${dir} && $(TAR) -cf - . ) | \
464 (cd $${dest} && umask 022 && tar -xf - );\ 465 (cd $${dest} && umask 022 && $(TAR) -xf - );\
465 chmod 0755 $${dest}; \ 466 chmod 0755 $${dest}; \
466 for subdir in `find $${dest} -type d ! -name RCS ! -name SCCS ! -name CVS -print` ; do \ 467 for subdir in `find $${dest} -type d ! -name RCS ! -name SCCS ! -name CVS -print` ; do \
467 (cd $${subdir} && $(RM) -r RCS CVS SCCS \#* *~) ; \ 468 (cd $${subdir} && $(RM) -r RCS CVS SCCS \#* *~) ; \
468 done) ; \ 469 done) ; \
469 done 470 done