diff options
Diffstat (limited to 'src/common/global/svn_revision')
-rw-r--r-- | src/common/global/svn_revision/Makefile.am | 5 | ||||
-rwxr-xr-x | src/common/global/svn_revision/svn_revision.sh | 20 |
2 files changed, 0 insertions, 25 deletions
diff --git a/src/common/global/svn_revision/Makefile.am b/src/common/global/svn_revision/Makefile.am deleted file mode 100644 index b6f7fb2..0000000 --- a/src/common/global/svn_revision/Makefile.am +++ /dev/null @@ -1,5 +0,0 @@ -INCLUDES = -I$(top_srcdir)/src $(all_includes) -METASOURCES = AUTO - -all-local: - sh $(srcdir)/svn_revision.sh diff --git a/src/common/global/svn_revision/svn_revision.sh b/src/common/global/svn_revision/svn_revision.sh deleted file mode 100755 index 3590568..0000000 --- a/src/common/global/svn_revision/svn_revision.sh +++ /dev/null @@ -1,20 +0,0 @@ -if [ -d .svn ]; then - ( echo '// generated file'; - printf '#define SVN_REVISION "'; - (svnversion -n .); - echo '"' ) > svn_revision.h.new; - if [ ! -f svn_revision.h ]; then - mv -f svn_revision.h.new svn_revision.h; - else - if cmp svn_revision.h svn_revision.h.new; then - rm -f svn_revision.h.new; - else - mv -f svn_revision.h.new svn_revision.h; - fi - fi -fi -if [ ! -f svn_revision.h ]; then - ( echo '// generated file'; - echo '#define SVN_REVISION "distribution"'; ) > svn_revision.h; -fi - |