// Free Software Foundation, Inc.,
// 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-/** \mainpage HowTo: Defining and using a new 'libPacket' Packet Type
+/** \mainpage Defining and using a new 'libPacket' Packet Type
This howto will introduce the facilities needed to define a new packet type. As example, the
\c GREPacket type is defined.
LOCAL_CONFIG_FILES = [ 'Doxyfile.local', 'SConfig', 'local_config.hh' ],
CONFIG_FILES_OPTS = configFilesOpts,
CLEAN_PATTERNS = [ '*~', '#*#', '*.pyc', 'semantic.cache', '.sconsign', '.sconsign.dblite' ],
- BUILDPACKAGE_COMMAND = "dpkg-buildpackage -us -uc -rfakeroot -I.svn $CONFIG_FILES_OPTS",
+ BUILDPACKAGE_COMMAND = "dpkg-buildpackage -us -uc -rfakeroot -I.svn -I_templates $CONFIG_FILES_OPTS",
TOP_INCLUDES = [ 'Packets', 'PPI', 'Scheduler', 'Socket', 'Utils',
'config.hh', 'local_config.hh' ],
)
Export('env')
# Create Doxyfile.local otherwise doxygen will barf on this non-existent file
-if not env.GetOption('clean') and not os.path.exists("Doxyfile.local"):
+# Create it even when cleaning, to silence the doxygen builder warnings
+if not os.path.exists("Doxyfile.local"):
Execute(Touch("Doxyfile.local"))
# Create local_config.h
Build-Depends: debhelper (>= 5), scons, binutils-dev, libboost-dev,
libboost-test-dev, libboost-date-time-dev, libboost-regex-dev,
libboost-filesystem-dev, doxygen, dia, tidy, xsltproc,
- graphviz, perl-base, linklint
+ graphviz, perl-base, linklint, netpbm
Standards-Version: 3.7.2 Section: libs
Package: libsenf
$(MAKE) -f debian/rules DH_OPTIONS=-i binary-common
binary-arch: build-arch install-arch
+ $(MAKE) -f debian/rules DH_OPTIONS=-s binary-common
binary: binary-arch binary-indep
.PHONY: build clean binary-indep binary-arch binary install install-indep install-arch \
ALPHABETICAL_INDEX = YES
COLS_IN_ALPHA_INDEX = 3
SEARCHENGINE = YES
+FULL_PATH_NAMES = YES
MACRO_EXPANSION = YES
EXPAND_ONLY_PREDEF = YES
set -e
dot "$@"
-if [ -r "$4" ]; then
- size="`pngtopnm "$4" | sed -n -e '2p'`"
- width_a="${size% *}"
- height_a="${size#* }"
- if [ $width_a -gt 800 ]; then
- for file in "${1%.dot}".*; do
- cp "$file" "$file.a"
- done
- sed -e 's/rankdir=LR/rankdir=TB/' -e t -e 's/rankdir=TB/rankdir=LR/' "$1.a" > "$1"
- dot "$@"
- size="`pngtopnm "$4" | sed -n -e '2p'`"
- width_b="${size% *}"
- height_b="${size#* }"
- if [ $width_a -lt $width_b ]; then
- for file in "${1%.dot}".*.a; do
- mv "$file" "${file%.a}"
- done
- else
- rm "${1%.dot}".*.a
+
+case "$4" in
+ *.png)
+ if [ -r "$4" ]; then
+ size="`pngtopnm "$4" | sed -n -e '2p'`"
+ width_a="${size% *}"
+ height_a="${size#* }"
+ if [ $width_a -gt 800 ]; then
+ for file in "${1%.dot}".*; do
+ cp "$file" "$file.a"
+ done
+ sed -e 's/rankdir=LR/rankdir=TB/' -e t -e 's/rankdir=TB/rankdir=LR/' "$1.a" > "$1"
+ dot "$@"
+ size="`pngtopnm "$4" | sed -n -e '2p'`"
+ width_b="${size% *}"
+ height_b="${size#* }"
+ if [ $width_a -lt $width_b ]; then
+ for file in "${1%.dot}".*.a; do
+ mv "$file" "${file%.a}"
+ done
+ else
+ rm "${1%.dot}".*.a
+ fi
+ fi
fi
- fi
-fi
+ ;;
+ *) ;;
+esac
docs,
SCons.Action.Action(("for html in %s/*.html; do " +
" echo $$html;" +
- " sed -e 's/id=\"current\"/class=\"current\"/' $${html}" +
- " | tidy -ascii -q --show-warnings no --fix-uri no " +
- " | xsltproc --nonet --html --stringparam topdir %s -o $${html}.new %s - 2>&1" +
+ " mv $${html} $${html}.orig;" +
+ " sed -e 's/id=\"current\"/class=\"current\"/' $${html}.orig" +
+ " | tidy -ascii -q --wrap 0 --show-warnings no --fix-uri no " +
+ " | xsltproc --nonet --html --stringparam topdir %s -o $${html} %s - 2>&1" +
" | grep '^-'" +
" | grep -v 'ID .* already defined';" +
- " mv $${html}.new $${html}; " +
- "done")
+ "done; true")
% (htmlnode.dir.abspath, reltopdir, xslfile.abspath)))
for doc in docs:
env.Depends(doc, xslfile)