comparison Makefile.in @ 1895:c121d94672cb

SDL 1.2 is moving to a branch, and SDL 1.3 is becoming the head.
author Sam Lantinga <slouken@libsdl.org>
date Mon, 10 Jul 2006 21:04:37 +0000
parents c69cee13dd76
children 4a74fa359e7e
comparison
equal deleted inserted replaced
1894:c69cee13dd76 1895:c121d94672cb
165 rm -rf $(distdir) 165 rm -rf $(distdir)
166 166
167 rpm: $(distfile) 167 rpm: $(distfile)
168 rpmbuild -ta $? 168 rpmbuild -ta $?
169 169
170 # Run indent on the source to standardize coding style
171 indent:
172 @echo "Running indent... modified files:"
173 @cd $(srcdir) && \
174 find . \( \
175 -name '*.h' -o \
176 -name '*.c' -o \
177 -name '*.cc' \) \
178 -print | \
179 while read file; do \
180 indent "$$file" -o "$$file.indent"; \
181 if cmp "$$file" "$$file.indent" >/dev/null; then \
182 rm -f "$$file.indent"; \
183 else \
184 echo "$$file"; \
185 mv -f "$$file.indent" "$$file"; \
186 fi; \
187 done
188
189 # Run indent and then commit modified files
190 commit: indent
191 svn commit
192
170 # Create a SVN snapshot that people can run update on 193 # Create a SVN snapshot that people can run update on
171 snapshot: 194 snapshot:
172 svn co svn://libsdl.org/trunk/SDL 195 svn co svn://libsdl.org/trunk/SDL
173 (cd SDL && ./autogen.sh && rm -rf autom4te.cache) 196 (cd SDL && ./autogen.sh && rm -rf autom4te.cache)
174 cp SDL/include/SDL_config.h.default SDL/include/SDL_config.h 197 cp SDL/include/SDL_config.h.default SDL/include/SDL_config.h