Revision 1429

trunk/src/GNUmakefile (revision 1429)
1 1
ifeq ($(OS),Windows_NT)
2
  ifeq ($(SHELL),sh.exe)
3
    MYPWD=$(shell cd)
2
  ifneq (,$(findstring sh.exe,$(SHELL)))
3
    ifeq ($(SHELL),sh.exe)
4
      MYPWD=$(shell cd)
5
    else
6
      MYPWD=$(shell cmd /C cd)
7
    endif
4 8
    ifdef MINGW_HOME
5 9
      PATH:=$(MINGW_HOME)\bin;$(PATH)
6 10
    else
......
129 133

  
130 134
dist: libs bins docs
131 135
ifeq ($(SHELL),sh.exe)
136
	copy /Y ..\LICENSE.txt ${DIST}
137
	copy /Y ..\README.txt ${DIST}
138
	copy /Y ..\CHANGES.txt ${DIST}
139
	copy /Y ..\VERSION ${DIST}
140
	copy /Y ..\Makefile ${DIST}
141
else
142
	cp -f ../LICENSE.txt ${DIST}
143
	cp -f ../README.txt ${DIST}
144
	cp -f ../CHANGES.txt ${DIST}
145
	cp -f ../VERSION ${DIST}
146
	cp -f ../Makefile ${DIST}
147
endif
148

  
149
dist2:
150
ifeq ($(SHELL),sh.exe)
132 151
	if not exist ${DIST}\contrib md ${DIST}\contrib
133 152
	xcopy ..\contrib $(DIST)\contrib /S /Y /D
134 153
	if not exist ${DIST}\docs md ${DIST}\docs
......
143 162
	xcopy ..\tests $(DIST)\tests /S /Y /D
144 163
	if not exist ${DIST}\utilities md ${DIST}\utilities
145 164
	xcopy ..\utilities $(DIST)\utilities /S /Y /D
146
	copy /Y ..\LICENSE.txt ${DIST}
147
	copy /Y ..\README.txt ${DIST}
148
	copy /Y ..\CHANGES.txt ${DIST}
149
	copy /Y ..\VERSION ${DIST}
150
	copy /Y ..\Makefile ${DIST}
151 165
else
152 166
	cp -R ../contrib ${DIST}
153 167
	cp -R ../docs ${DIST} 
......
156 170
	cp -R ../scripts ${DIST}
157 171
	cp -R ../tests ${DIST}
158 172
	cp -vR ../utilities ${DIST}
159
	cp -f ../LICENSE.txt ${DIST}
160
	cp -f ../README.txt ${DIST}
161
	cp -f ../CHANGES.txt ${DIST}
162
	cp -f ../VERSION ${DIST}
163
	cp -f ../Makefile ${DIST}
164 173
endif
165 174

  
166 175
libs: includes objects_dir objects

Also available in: Unified diff