Revision 1444 trunk/src/GNUmakefile

GNUmakefile (revision 1444)
104 104
all: dist
105 105
ifeq ($(SHELL),cmd)
106 106
	-svnversion .. > ${DIST}\REVISION
107
	if not exist $(DIST)\utilities md $(DIST)\utilities
107 108
	xcopy ..\utilities $(DIST)\utilities /S /Y /D
108
	if not exist ${DIST}\src md ${DIST}\src
109 109
else
110 110
	-svnversion .. > ${DIST}/REVISION
111 111
	touch $(DIST)/include/contrib.h
......
379 379

  
380 380
copy:
381 381
ifeq ($(SHELL),cmd)
382
	xcopy ..\utilities $(DIST)\utilities /S /Y /D
383
	if not exist ${DIST}\src md ${DIST}\src
384
	if not exist ${DIST}\src md ${DIST}\src
382
	if not exist $(DIST)\src md $(DIST)\src
385 383
	xcopy ..\src $(DIST)\src /S /Y /D
386
	if not exist ${DIST}\utilities md ${DIST}\utilities
384
	if not exist $(DIST)\scripts md $(DIST)\scripts 
387 385
	xcopy ..\scripts $(DIST)\scripts /S /Y /D
388 386
else
389
	cp -vR ../utilities ${DIST}
390
	cp -R ../src ${DIST}
391
	cp -R ../scripts ${DIST}
387
	cp -R ../src $(DIST)
388
	cp -R ../scripts $(DIST)
392 389
endif

Also available in: Unified diff