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
|
|
|
|
rm -rf /tmp/tor-rpm-build
|
|
|
|
mkdir /tmp/tor-rpm-build
|
|
|
|
for subdir in BUILD RPMS SOURCES SPECS SRPMS; do \
|
2004-11-04 23:46:38 +01:00
|
|
|
mkdir /tmp/tor-rpm-build/$$subdir; \
|
2004-03-02 20:09:30 +01:00
|
|
|
done
|
|
|
|
cp tor-$(VERSION).tar.gz /tmp/tor-rpm-build/SOURCES
|
2004-11-04 23:46:38 +01:00
|
|
|
rpmbuild -ba --define '_topdir /tmp/tor-rpm-build' tor.spec
|
|
|
|
mv /tmp/tor-rpm-build/SRPMS/* .
|
|
|
|
mv /tmp/tor-rpm-build/RPMS/*/* .
|
|
|
|
rm -rf /tmp/tor-rpm-build
|
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
|
|
|
|
|