source: @ f2b53d2

Last change on this file since f2b53d2 was f2b53d2, checked in by Shane Alcock <salcock@…>, 11 years ago
  • Actually put a working version of the svnversion check in here :)
  • Property mode set to 100644
File size: 936 bytes
[4a605a9]1LIBPACKETDUMP_DIR = libpacketdump
2TOOLS_DIR = tools
[d5a27e8]3SUBDIRS = lib $(LIBPACKETDUMP_DIR) $(TOOLS_DIR) docs examples
[47de0aa]5ACLOCAL_AMFLAGS = -I m4
[a1b899f]6AUTOMAKE_OPTIONS = 1.9 foreign
[e1f8084]8if HAS_DOXYGEN
[16143a3]9man_MANS = docs/doxygen/man/man3/trace*.3 docs/doxygen/man/man3/libtrace*.3
[a1b899f]11EXTRA_DIST=libtrace.sln libtrace.vcproj test-convert.vcproj \
[3bd0462]12                   test-format.vcproj test-pcap-bpf.vcproj
14.PHONY: docs
17        $(RM) -f aclocal.m4 compile config.* \
18                configure depcomp install-sh missing \
19                mkinstalldirs \
20                lib/ replace/  replace/
21        $(RM) -rf autom4te.cache/
[ddf1fc0]24        if which svnversion > /dev/null; then \
25                r=`svnversion -nc . | sed -e 's/^[^:]*://;s/[A-Za-z]//'` ;\
[f2b53d2]26                sed -i "s/SVN_REVISION.*/SVN_REVISION $$r/" $(distdir)/lib/; \
[ddf1fc0]27        fi
[9847b48]29if HAS_DOXYGEN
[16143a3]30docs/doxygen/man/man3/*.3: docs
[a9329cc]35install-man-hook: docs
Note: See TracBrowser for help on using the repository browser.