SDL 1.2 is moving to a branch, and SDL 1.3 is becoming the head.
--HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401938
This commit is contained in:
parent
91a32b77a2
commit
0f030a1802
686 changed files with 117556 additions and 98661 deletions
23
Makefile.in
23
Makefile.in
|
@ -167,6 +167,29 @@ dist $(distfile):
|
|||
rpm: $(distfile)
|
||||
rpmbuild -ta $?
|
||||
|
||||
# Run indent on the source to standardize coding style
|
||||
indent:
|
||||
@echo "Running indent... modified files:"
|
||||
@cd $(srcdir) && \
|
||||
find . \( \
|
||||
-name '*.h' -o \
|
||||
-name '*.c' -o \
|
||||
-name '*.cc' \) \
|
||||
-print | \
|
||||
while read file; do \
|
||||
indent "$$file" -o "$$file.indent"; \
|
||||
if cmp "$$file" "$$file.indent" >/dev/null; then \
|
||||
rm -f "$$file.indent"; \
|
||||
else \
|
||||
echo "$$file"; \
|
||||
mv -f "$$file.indent" "$$file"; \
|
||||
fi; \
|
||||
done
|
||||
|
||||
# Run indent and then commit modified files
|
||||
commit: indent
|
||||
svn commit
|
||||
|
||||
# Create a SVN snapshot that people can run update on
|
||||
snapshot:
|
||||
svn co svn://libsdl.org/trunk/SDL
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue