2003-10-24 05:27:53 +02:00
|
|
|
AUTOMAKE_OPTIONS = foreign
|
|
|
|
# else it keeps trying to put COPYING back in
|
2002-06-29 01:26:42 +02:00
|
|
|
|
2004-02-17 07:41:18 +01:00
|
|
|
SUBDIRS = src doc contrib
|
2002-06-29 01:26:42 +02:00
|
|
|
|
2004-02-17 07:41:18 +01:00
|
|
|
DIST_SUBDIRS = src doc contrib
|
2002-06-29 01:26:42 +02:00
|
|
|
|
2004-11-04 16:17:22 +01:00
|
|
|
EXTRA_DIST = INSTALL README AUTHORS LICENSE ChangeLog tor.spec tor.spec.in
|
2002-07-22 06:07:34 +02:00
|
|
|
|
2003-10-22 06:33:11 +02:00
|
|
|
#install-data-local:
|
|
|
|
# $(INSTALL) -m 755 -d $(LOCALSTATEDIR)/lib/tor
|
2004-03-02 20:09:30 +01:00
|
|
|
|
|
|
|
dist-rpm: dist
|
2004-12-19 00:04:55 +01:00
|
|
|
RPM_BUILD_DIR="/tmp/tor-rpm-build-$$$$"; \
|
|
|
|
rm -rf $$RPM_BUILD_DIR; \
|
|
|
|
mkdir $$RPM_BUILD_DIR || exit 1; \
|
|
|
|
for subdir in BUILD RPMS SOURCES SPECS SRPMS; do \
|
|
|
|
mkdir $$RPM_BUILD_DIR/$$subdir; \
|
|
|
|
done; \
|
|
|
|
cp tor-$(VERSION).tar.gz $$RPM_BUILD_DIR/SOURCES; \
|
|
|
|
rpmbuild -ba --define "_topdir $$RPM_BUILD_DIR" \
|
|
|
|
$$RPMBUILD_OPTIONS tor.spec; \
|
|
|
|
mv $$RPM_BUILD_DIR/SRPMS/* .; \
|
|
|
|
mv $$RPM_BUILD_DIR/RPMS/*/* .; \
|
|
|
|
rm -rf $$RPM_BUILD_DIR
|
2004-05-07 19:03:52 +02:00
|
|
|
|
|
|
|
doxygen:
|
2004-11-04 16:17:22 +01:00
|
|
|
doxygen && cd doc/doxygen/latex && make
|
2004-11-09 21:04:00 +01:00
|
|
|
|
|
|
|
# Avoid strlcpy.c, strlcat.c, tree.h
|
|
|
|
check-spaces:
|
|
|
|
./contrib/checkSpace.pl \
|
|
|
|
src/common/*.h \
|
|
|
|
src/common/[^s]*.c \
|
|
|
|
src/or/[^t]*.[ch] src/or/t*.c
|
|
|
|
|