]> de.git.xonotic.org Git - xonotic/netradiant.git/commitdiff
remove unnecessary script; fix "make clean"
authorrpolzer <rpolzer@61c419a2-8eb2-4b30-bcec-8cead039b335>
Tue, 16 Sep 2008 15:58:03 +0000 (15:58 +0000)
committerrpolzer <rpolzer@61c419a2-8eb2-4b30-bcec-8cead039b335>
Tue, 16 Sep 2008 15:58:03 +0000 (15:58 +0000)
git-svn-id: svn://svn.icculus.org/netradiant/trunk@62 61c419a2-8eb2-4b30-bcec-8cead039b335

Makefile
svn.py [deleted file]
touch.py [deleted file]

index 3ce0dc9943c6f4dfb198d2a19bd5f3ef4a6c17c6..d07f20ee86dbf74b1c7b14b86c80d91669c06bd4 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -132,6 +132,7 @@ all: \
 clean:
        $(RM_R) install/
        $(FIND) . \( -name \*.o -o -name \*.d -o -name \*.$(DLL) -o -name \*.$(A) -o -name \*.$(EXE) \) -exec $(RM) {} \;
+       $(RM) include/aboutmsg.h include/RADIANT_MAJOR include/version.h include/RADIANT_MINOR include/version
 
 %.$(EXE):
        file=$@; $(MKDIR) $${file%/*}
diff --git a/svn.py b/svn.py
deleted file mode 100644 (file)
index 68d6045..0000000
--- a/svn.py
+++ /dev/null
@@ -1,16 +0,0 @@
-import os
-import sys
-
-def getRevision(path):
-  cmd = os.popen("svn info " + path)
-
-  while True:
-    line = cmd.readline()
-    if line == "":
-      raise Exception("failed to obtain revision number")
-    for word in line.split():
-      try:
-        return int(word)
-      except:
-        pass
-
diff --git a/touch.py b/touch.py
deleted file mode 100644 (file)
index 286958a..0000000
--- a/touch.py
+++ /dev/null
@@ -1 +0,0 @@
-# null script\r