From e2bd3f23a80ac9f59e406688e92a36ca843d364a Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Sat, 6 Aug 2005 12:46:45 +0000 Subject: [PATCH] Move all docs to docs/ git-svn-id: file:///home/lennart/svn/public/avahi/trunk@245 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe --- avahi-daemon/embedd-file.py | 56 --------------------------------- {avahi-daemon => docs}/DBUS-API | 0 HACKING => docs/HACKING | 0 INSTALL => docs/INSTALL | 0 README => docs/README | 0 todo => docs/todo | 0 6 files changed, 56 deletions(-) delete mode 100644 avahi-daemon/embedd-file.py rename {avahi-daemon => docs}/DBUS-API (100%) rename HACKING => docs/HACKING (100%) rename INSTALL => docs/INSTALL (100%) rename README => docs/README (100%) rename todo => docs/todo (100%) diff --git a/avahi-daemon/embedd-file.py b/avahi-daemon/embedd-file.py deleted file mode 100644 index eaa250f..0000000 --- a/avahi-daemon/embedd-file.py +++ /dev/null @@ -1,56 +0,0 @@ -#!/usr/bin/python - -import os, sys - -def usage(ret = 0): - print "%s [-s] " % sys.argv[0] - sys.exit(ret) - -args = sys.argv[1:] - -use_static = False - -if len(args) >= 1 and args[0] == '-s': - use_static = True - args = args[1:] - -if len(args) >= 1 and args[0] == '-h': - usage() - -if len(args) != 2: - sys.stderr("Wrong number of arguments") - usage(1) - -f = file(args[0]) -t = f.read() -f.close() - -out = sys.stdout - -if use_static: - out.write("static ") - -out.write('const char %s[] = \n"' % args[1]); - -n = 0 - -for c in t: - if c == '\n': - out.write('\\n"\n"') - n = 0 - elif c == '"': - out.write('\\"') - n += 2 - elif ord(c) < 32 or ord(c) >= 127: - out.write('\\x%02x' % ord(c)) - n += 4 - else: - out.write(c) - n += 1 - - if n >= 76: - out.write('"\n"') - n = 0 - -out.write('";\n'); - diff --git a/avahi-daemon/DBUS-API b/docs/DBUS-API similarity index 100% rename from avahi-daemon/DBUS-API rename to docs/DBUS-API diff --git a/HACKING b/docs/HACKING similarity index 100% rename from HACKING rename to docs/HACKING diff --git a/INSTALL b/docs/INSTALL similarity index 100% rename from INSTALL rename to docs/INSTALL diff --git a/README b/docs/README similarity index 100% rename from README rename to docs/README diff --git a/todo b/docs/todo similarity index 100% rename from todo rename to docs/todo -- 2.39.5